From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id F272F1B3BB for ; Tue, 12 Feb 2019 11:55:08 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x1CAoPIW031642; Tue, 12 Feb 2019 02:55:07 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=zTSrKu+M8TvqWxZW8elCAtoMNQEl+lwtKiKMkMqWpBg=; b=Sf3h1lVsuGVqZHXkQGYKtVqeNMdCU11oK9X4WN/o1w72mgtCCo1YzdQLrJRLqWU7tLwS 7AaWEdMqqF0QFwqkcyZvNXayupRRUJxZjScIpy5X10COuk7rQiIDw9fducrZ9RCtJuf1 GMGDG31H05e9DOCoZ39VWGqNZ42joIVPOGw1k7Tq21sR9frAPB5/lMYYsUQv2TLC2taW Vv1s+kot9n598lOHxTv1Yp4YVN7DduOjRV27EK0iZUqWIxcTdcoPh0v5TbmT0rjngEdo +NR6qq2WA+cLRWCfqWvUleWyk2XL8DKAaqs+ndV5QuTtxIduRKu5dmhzdZ75AWzy9505 Ig== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 2qke3wtj4d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 12 Feb 2019 02:55:06 -0800 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Tue, 12 Feb 2019 02:55:06 -0800 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.36.53) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Tue, 12 Feb 2019 02:55:06 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zTSrKu+M8TvqWxZW8elCAtoMNQEl+lwtKiKMkMqWpBg=; b=KbY2e55eLp4kpPpkw+Rn+RC8fSqkdJHaF+Y4z1ZEjbpGM+aoXXCuzZWK818lu1cMGN6maSfaBzCXIi3WFdzKv1kmVbNlw6LyDFmp7dRg2mSlRhdP4gCoWN4W9TIVkJTIY8jdW3RyiW7IEw3h/+udQaRdgnxV8xag5fuwmnsoW08= Received: from CY4PR1801MB2053.namprd18.prod.outlook.com (10.171.255.158) by CY4PR1801MB2021.namprd18.prod.outlook.com (10.171.255.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1601.22; Tue, 12 Feb 2019 10:55:01 +0000 Received: from CY4PR1801MB2053.namprd18.prod.outlook.com ([fe80::81c3:42cc:43e4:7c4e]) by CY4PR1801MB2053.namprd18.prod.outlook.com ([fe80::81c3:42cc:43e4:7c4e%6]) with mapi id 15.20.1601.023; Tue, 12 Feb 2019 10:55:01 +0000 From: Shally Verma To: Arek Kusztal , "dev@dpdk.org" CC: "akhil.goyal@nxp.com" , "fiona.trahe@intel.com" , "shally.verma@caviumnetworks.com" Thread-Topic: [PATCH v2 1/3] cryptodev: add result field to mod exp and inverse operations Thread-Index: AQHUv591Ai54b3xAFUqW0+B8pB324aXcA2Tw Date: Tue, 12 Feb 2019 10:55:01 +0000 Message-ID: References: <20190208111338.4544-1-arkadiuszx.kusztal@intel.com> <20190208111338.4544-2-arkadiuszx.kusztal@intel.com> In-Reply-To: <20190208111338.4544-2-arkadiuszx.kusztal@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [223.230.35.64] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0f44fa1f-d0b3-4f8b-601e-08d690d8895a x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(2017052603328)(7153060)(7193020); SRVR:CY4PR1801MB2021; x-ms-traffictypediagnostic: CY4PR1801MB2021: x-microsoft-exchange-diagnostics: 1; CY4PR1801MB2021; 20:+nPZrr17muVJExzwfLKlFvmk9ks4OJt8mkVXE9Y/6BnUxWW6LtGd7PdJvRQ0gGvznh5xG9e7uMkb6nxwVPEHm7g/yQTGPFcPti9ZoKZQuMmAkFosC5RGYQFuvWVO/OcyTPsYrLg/q/1gLPJPc0dZj59syKhjh/9yDVzi7UEInu4= x-microsoft-antispam-prvs: x-forefront-prvs: 0946DC87A1 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(979002)(376002)(136003)(346002)(396003)(39850400004)(366004)(189003)(199004)(13464003)(86362001)(110136005)(476003)(25786009)(71190400001)(71200400001)(186003)(26005)(446003)(99286004)(11346002)(81156014)(6436002)(8936002)(55016002)(105586002)(9686003)(478600001)(486006)(81166006)(8676002)(68736007)(74316002)(7736002)(229853002)(305945005)(106356001)(53936002)(33656002)(54906003)(2501003)(316002)(66066001)(76176011)(4326008)(2906002)(14444005)(97736004)(6116002)(3846002)(6246003)(256004)(7696005)(102836004)(14454004)(6506007)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR1801MB2021; H:CY4PR1801MB2053.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: N2hO2oCIyEmjw5DBRygWqX7qM6mlH1MzG7wTj65opouX1fmAGftqqqmfcu0mbpmIjBLczGvKBCaz1IfV/v8MIvi3nNeeuG1T1MDWOeXwI2nnlCHOJFhqjL4GQLiA2V7QQaQNpho+G8vYfgcfsMbPUcK3ENkrVjNbKp+4XVeIJt2QT2T66uWbbW9+DHFcoipUpHTMv1f4s3+gZfMw/XLpNp6Gr7AblrzMBmFiBP3OKG8uAoDuUx6Nrt13oZINQWuzKGD96QgfGMNKJfZbhaosdUdhWOjhAfhPVHXcurKpRk/e1LE8NZL3EM1h8eyTz+gScRUlfkm6VYe/jCgOfUn5SRbBP9hmCWB5ydozvBT0VbsPKs6GpE1BxF9BihN/2siGqyxWiKGK+DjB4qvC0bYSkNo8/kovYHL0QtD93JXzqKY= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 0f44fa1f-d0b3-4f8b-601e-08d690d8895a X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Feb 2019 10:55:01.0540 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1801MB2021 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-02-12_07:, , signatures=0 X-Proofpoint-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1902120080 Subject: Re: [dpdk-dev] [PATCH v2 1/3] cryptodev: add result field to mod exp and inverse operations X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2019 10:55:09 -0000 >-----Original Message----- >From: Arek Kusztal >Sent: 08 February 2019 16:44 >To: dev@dpdk.org >Cc: akhil.goyal@nxp.com; fiona.trahe@intel.com; shally.verma@caviumnetwork= s.com; Arek Kusztal >Subject: [PATCH v2 1/3] cryptodev: add result field to mod exp and inverse= operations > >External Email > >This commit adds result field to be used when modular exponentiation or >modular multiplicative inverse operation is used > >Signed-off-by: Arek Kusztal >--- Acked-by: Shally Verma > lib/librte_cryptodev/rte_crypto_asym.h | 10 ++++++++++ > 1 file changed, 10 insertions(+) > >diff --git a/lib/librte_cryptodev/rte_crypto_asym.h b/lib/librte_cryptodev= /rte_crypto_asym.h >index 0a50cd5..991263f 100644 >--- a/lib/librte_cryptodev/rte_crypto_asym.h >+++ b/lib/librte_cryptodev/rte_crypto_asym.h >@@ -339,6 +339,16 @@ struct rte_crypto_mod_op_param { > * be relatively prime to modulus in corresponding Modular > * Multiplicative Inverse rte_crypto_modinv_xform > */ >+ >+ rte_crypto_param result; >+ /**< >+ * Pointer to the result of modular exponentiation/multiplicative = inverse >+ * data in octet-string network byte order format. >+ * >+ * This field shall be big enough to hold the result of Modular >+ * Exponentiation or Modular Multplicative Inverse >+ * (bigger or equal to length of modulus) >+ */ > }; > > /** >-- >2.1.0