From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5F473A0471 for ; Wed, 17 Jul 2019 12:18:29 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2E7742BBE; Wed, 17 Jul 2019 12:18:29 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 5400A2BBB for ; Wed, 17 Jul 2019 12:18:27 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x6HAFwp9029139; Wed, 17 Jul 2019 03:18:26 -0700 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=NFA+zGU/Smnl8A+33rA1CXtABasBOTbSdVDlETPy9FA=; b=nfEZgZfh0RhY9rFAet/u7DKayqCsrvK8Ow6QIYgbkKJaFYLXe3uEdLi/kV+6yB+utuFL 5tEB+LNohzuEokvIlcYziiCT3kNARdiTsGh54seBCzqEKEm2EgYZbZuL3g63d15Nr5tf IeX4+TDxwtRd8KfyI1gQWnUa+S9ZTRPQqrjZmDSZjlT7oY9yMv09d90e+80dubcQDqHb 1YNN1AsxV83OCzegMFGpBysiguft0HCEOxe0Y3it74oeSqAj8JpzczZW6+ijs6nkKRei NVd2BPVbQuSjuf7lEjNfb9Aw7JmoCMNNscmCQRKFvyZL+0OkfqYFv6ALKvIrYaCqVQrs yw== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0b-0016f401.pphosted.com with ESMTP id 2ts0a27560-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 17 Jul 2019 03:18:26 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 17 Jul 2019 03:18:24 -0700 Received: from NAM01-BY2-obe.outbound.protection.outlook.com (104.47.34.59) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Wed, 17 Jul 2019 03:18:24 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GIqE9Vj8Aq2/2ejFwsuyC7+iHmjKAvlIfhLqB0/f1LNF2RVmPED3o0qyAxpmaDLLAi2mdDvMrZp/rAMj4C02SSFN5TVx1cRvWez/Cvw4f9pgwJ3e3/uf+JtG31amUGqSlmM+Mwh/eN99+rjXxg4Q+li6Bw3hnw6yy0L2YmmXXUOyJnAhkVBNDuwgNTXaSwErHdxCxgsTOgUl04c0o7HpcCMBcTjzx+LYPIJO5G2212OCdMzYGV3/aZv+LnZopmh5Cjltdi17iMOlqUP+izG4OfytH5CYB+4M+k5wu3+o6mvJ15FF5r/08ZIicMIuWyMhnvhc+IwmO/Q6ns0yfwxH9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NFA+zGU/Smnl8A+33rA1CXtABasBOTbSdVDlETPy9FA=; b=Jxksm9ZQ5gMxGATFdi2Zg8YIZLb8T8rGpzB5OG6DO/WKFfhDhN5DDs0QwBTeMawKRipZt3TUV8g4h4elpQsRqNKsaYb8RCv71meN5UWHnelWvv6+uDAoJRipa8IzjIeUpvtrnrSDx+AbJTuaIaxeMtLEyPe/ykLrILXeC9VXfNI2acx+oJ7CazXgs6RtGpSZuQIg55LODrg2TKFHE6JRN9l/ceiRv0iJSkwGDfMnlOZ13Pa80AC8ZFXxWvpth6ksqwhjL12f8doRAFGBG8wmAJ3WM5b6ZSDohEhuXt8viGFsphUWiQMJmHw4YN3glqngYgA18r5POtgqArm0/BZ06A== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=marvell.com;dmarc=pass action=none header.from=marvell.com;dkim=pass header.d=marvell.com;arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector2-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NFA+zGU/Smnl8A+33rA1CXtABasBOTbSdVDlETPy9FA=; b=s89ctZACbzH86lRjdNJkAvxdw4jslBDsPYJM1shIaJ6Xqdmh5lfaaQ26QSBDz5SGywfZKe6f+HBsdy+NgxC3yziPvruO6dGYaLvS/80fEOUiQXwVv9STou0Aczj+pRlJT6NWVQDAbWx4C1YPLEZAiBF97FZfTsNUzNUhLQ2CaCM= Received: from BN6PR1801MB2052.namprd18.prod.outlook.com (10.161.157.11) by BN6PR1801MB2034.namprd18.prod.outlook.com (10.161.155.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2073.14; Wed, 17 Jul 2019 10:18:20 +0000 Received: from BN6PR1801MB2052.namprd18.prod.outlook.com ([fe80::b9c4:1fd1:a47e:cd72]) by BN6PR1801MB2052.namprd18.prod.outlook.com ([fe80::b9c4:1fd1:a47e:cd72%6]) with mapi id 15.20.2073.012; Wed, 17 Jul 2019 10:18:20 +0000 From: Shally Verma To: Arek Kusztal , "dev@dpdk.org" CC: "akhil.goyal@nxp.com" , "fiona.trahe@intel.com" Thread-Topic: [EXT] [PATCH v3 07/11] openssl: remove RSA PKCS1_5 BT0 padding Thread-Index: AQHVPAfK7uSdqsNgyUW/lxx3zE1Mj6bOmcHQ Date: Wed, 17 Jul 2019 10:18:20 +0000 Message-ID: References: <20190716185304.12592-1-arkadiuszx.kusztal@intel.com> <20190716185304.12592-8-arkadiuszx.kusztal@intel.com> In-Reply-To: <20190716185304.12592-8-arkadiuszx.kusztal@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [122.169.231.225] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1fcba1fe-48b4-4335-436a-08d70aa017da x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:BN6PR1801MB2034; x-ms-traffictypediagnostic: BN6PR1801MB2034: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:165; x-forefront-prvs: 01018CB5B3 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(136003)(376002)(366004)(396003)(39860400002)(199004)(189003)(13464003)(99286004)(8676002)(2906002)(102836004)(6506007)(6246003)(8936002)(53546011)(305945005)(74316002)(81156014)(7736002)(9686003)(81166006)(2501003)(5660300002)(52536014)(76176011)(71200400001)(71190400001)(478600001)(229853002)(53936002)(55016002)(11346002)(7696005)(33656002)(25786009)(14454004)(64756008)(256004)(54906003)(486006)(76116006)(26005)(6116002)(86362001)(3846002)(68736007)(66946007)(66476007)(66446008)(316002)(6436002)(476003)(4326008)(186003)(110136005)(446003)(66066001)(66556008); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR1801MB2034; H:BN6PR1801MB2052.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: Y0yTpSX68rnZyU5tpBBgLZfq2oz3dowBndpzFqzYpzAOmsipI8t0UvMCsxCFpQHS2FvZE1DLhZSzJY/gEVRn8ZzQDBOvZmsAPqC8gRbTGyzI9ePVOgYS9Dt2k1ks6hGaVxoa4mQ491lovn0CdoJbVSMFz/6fnfb8Tf6PHd8hQVEK7k5xaYrmQ/rPNHnhSofMfXUnVgG4KTORC7EL0EwPG6deghll1BhKePd9SerBaNlL/4XYKGPBbgLy9IDAHq6pyVvnU59VhnyhYD5uWP0esE/8S2iChSWcmrIXdYUk2PKTbdEEPQdTsFQcOEou7ICXEOBeBfultTmwsiiul2+VEr2649fIvnGZph2ftPK6f5Da2KSrv3kzhSeOGQmtwrQX4c06Jt51wfhxgPLhXbA/zreCeqGD49+8q6+TVIw2JdI= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 1fcba1fe-48b4-4335-436a-08d70aa017da X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jul 2019 10:18:20.5710 (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-CrossTenant-userprincipalname: shallyv@marvell.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR1801MB2034 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:5.22.84,1.0.8 definitions=2019-07-17_03:2019-07-17,2019-07-17 signatures=0 Subject: Re: [dpdk-dev] [EXT] [PATCH v3 07/11] openssl: remove RSA PKCS1_5 BT0 padding 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Arek Kusztal > Sent: Wednesday, July 17, 2019 12:23 AM > To: dev@dpdk.org > Cc: akhil.goyal@nxp.com; fiona.trahe@intel.com; Shally Verma > ; Arek Kusztal > Subject: [EXT] [PATCH v3 07/11] openssl: remove RSA PKCS1_5 BT0 padding >=20 > External Email >=20 > ---------------------------------------------------------------------- > This patch removes RSA PKCS1_5 BT0 padding from openssl PMD. >=20 > Signed-off-by: Arek Kusztal Acked-by: Shally Verma > --- > drivers/crypto/openssl/rte_openssl_pmd.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) >=20 > diff --git a/drivers/crypto/openssl/rte_openssl_pmd.c > b/drivers/crypto/openssl/rte_openssl_pmd.c > index 71ae320..2f55528 100644 > --- a/drivers/crypto/openssl/rte_openssl_pmd.c > +++ b/drivers/crypto/openssl/rte_openssl_pmd.c > @@ -1848,9 +1848,7 @@ process_openssl_rsa_op(struct rte_crypto_op > *cop, > cop->status =3D RTE_CRYPTO_OP_STATUS_SUCCESS; >=20 > switch (pad) { > - case RTE_CRYPTO_RSA_PKCS1_V1_5_BT0: > - case RTE_CRYPTO_RSA_PKCS1_V1_5_BT1: > - case RTE_CRYPTO_RSA_PKCS1_V1_5_BT2: > + case RTE_CRYPTO_RSA_PADDING_PKCS1_5: > pad =3D RSA_PKCS1_PADDING; > break; > case RTE_CRYPTO_RSA_PADDING_NONE: > -- > 2.1.0