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 8BC15A0471 for ; Wed, 17 Jul 2019 12:09:38 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 50D7B1D9E; Wed, 17 Jul 2019 12:09:38 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id D04E4152A for ; Wed, 17 Jul 2019 12:09:36 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x6HA52Qe026273; Wed, 17 Jul 2019 03:09:36 -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=3vG/yDCPJbmQBVZH2jmYhohFPBlCaXjLdj4RVTrKikI=; b=chPa5c705A8JOtF5FMzgwjvcgIT+kous7NEUohQWJos2SdaKQsuKwmCU918B/gYj6JDY aiRAn4zpRu9kb/e+pqf/8N1ekQbri1ywFg20N5M6FqP6wsiVKoseQoN/dKe9T6hbZEi+ 1DZ8yNNeQvrWsCCHs2eqDcspbUR4Yq/mKQQl6EfPcx7h6uTcjB3Ul+T6OPPSuTD8Jc7A K/mUlIXBzc1YkDHqEb0PIGwX/fKd+13XOW3pIawihq+cdEid/1f+U8ZJAMlktI2ECtuF rgYx7TSxmhbmBgQDRUNdRIx/0Rp/undRbxQbXU9rnrXAOeYNJH2PR8Zz7YDg1wVEeQbq jw== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0a-0016f401.pphosted.com with ESMTP id 2ts07vfqf5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 17 Jul 2019 03:09:35 -0700 Received: from SC-EXCH04.marvell.com (10.93.176.84) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 17 Jul 2019 03:09:32 -0700 Received: from NAM03-CO1-obe.outbound.protection.outlook.com (104.47.40.50) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Wed, 17 Jul 2019 03:09:32 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nA/15AH5BdKKBnvxzarIINL0Ql2mjQJ3vi2rhBkPAHVe/3m1hnll0rnkmk9/DxMx9MXibHU/9+9OVM1ValxPaGEJ1NrwlRlbvF/9ZdbchJPH3BpOVI29c9zsh0GkfiMl8Bs63pAFoManC7rrGL4ld1k2HhdA3rrkrpbjV2sEsQ+vj66V36uk78nFAfz5mDdMCMWxE+8aYTjxOb204ElLLyHvoc3/Yw5jTvqBR8WgIEzbNfFZmNILTXk/6EeiFCrmEQ0vNaHjUrI2qmm6eVW3zwa9cJs5NvA3jFrkmtErRNzhTlumJps42mu+u9fSckb1J9V7QaFpmzr/SFUsPM4HRg== 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=3vG/yDCPJbmQBVZH2jmYhohFPBlCaXjLdj4RVTrKikI=; b=kQrud7Q96akn6e7RjrzzykS+R9+kaQuVbdiXIQ0Kd9CEJ18WXCT9+Cs3beLTwojXxVEnlcRaIoODocquVLEukuI4I+zdGdn2YdG3rQqtiGLWForJ5aazcNl1cnbUpixK01Rr5NNrsWDa7w37SG/z1T10JcnOXQR1hvkvWOrGwzf4vLiB2axwCoPzKKHTJK6+ZaFEI2Wl+ReoeolQaLHidCRTfjNj8ibJ4AkmvO4Sk59hKQJ1faJ2uXvj6m5yPYQQzY2QG/yh7h/DLXfiuA5JgYKu1pxRnBE0vVOHiVL89SvHS1at3+nncRLoDFtCPVwcSf3YLWx8wYRSrCb/yG1O/A== 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=3vG/yDCPJbmQBVZH2jmYhohFPBlCaXjLdj4RVTrKikI=; b=C6a+Uv2+KR9ttbjHn2EW6yZw6I71ki3vBGLC7r44/7EO0xMOlILXZsUhGsBS8dK3+7k9HebmgTZWHHFkaUFGuSfMOSHk83rxVdsMPAZudTDGknqzIFGyxhSePdK7Osz/K1iUTN3d6Y2qR/w9H8vCDgluF+XQ2iifon9Rm2HbyWE= Received: from BN6PR1801MB2052.namprd18.prod.outlook.com (10.161.157.11) by BN6PR1801MB1955.namprd18.prod.outlook.com (10.161.152.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2073.10; Wed, 17 Jul 2019 10:09:27 +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:09:27 +0000 From: Shally Verma To: Arek Kusztal , "dev@dpdk.org" CC: "akhil.goyal@nxp.com" , "fiona.trahe@intel.com" Thread-Topic: [EXT] [PATCH v3 06/11] cryptodev: remove RSA PKCS1 BT0 padding Thread-Index: AQHVPAfFhfa4JNRIE0GT0aGnVIpdR6bOlzrQ Date: Wed, 17 Jul 2019 10:09:27 +0000 Message-ID: References: <20190716185304.12592-1-arkadiuszx.kusztal@intel.com> <20190716185304.12592-7-arkadiuszx.kusztal@intel.com> In-Reply-To: <20190716185304.12592-7-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: 56bc00f9-af41-4fd6-a93d-08d70a9eda41 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:BN6PR1801MB1955; x-ms-traffictypediagnostic: BN6PR1801MB1955: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:327; x-forefront-prvs: 01018CB5B3 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(346002)(376002)(136003)(39860400002)(396003)(13464003)(199004)(189003)(66066001)(64756008)(81156014)(33656002)(256004)(66476007)(76116006)(66446008)(66556008)(8936002)(66946007)(476003)(81166006)(74316002)(305945005)(6506007)(99286004)(53546011)(316002)(8676002)(14454004)(4326008)(102836004)(6246003)(186003)(110136005)(71200400001)(54906003)(53936002)(26005)(6436002)(76176011)(7696005)(71190400001)(25786009)(2906002)(11346002)(446003)(52536014)(9686003)(229853002)(7736002)(486006)(68736007)(3846002)(6116002)(5660300002)(478600001)(55016002)(2501003)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR1801MB1955; 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: z6GqvErzMimWHVFubLNbSk+1ZcdHxj9BKYhLaz3OBuK7B7Bdt52N+7fce9VZ0DsQpgi0c2qHQwmFFDBbm5Bqc/lKXJnX2Bu+nUUAgo7X4xT15cOsvkFT+2fQz2LODPnyN1TtwjQf6QTAjjBxHILgrcFIcE1mfcl5u38u3FNRKZ2ohX26RidkmhFU2Li7LtQ+rsvs6sfMBNic5uBqR8I45LoWY1dCUZJGd520T216ZG0ay4UAjasN0lwXz3lrNG8RYl5Mtcx3fPLWWy4MExjRpPp8OsyP9/GxYHnmQpR59fuY33kkyFAkxvUbiWEoFRqX7jFJmm7HTHZSDGHIfQoe085QWSb62eevbExPiwbYa3+tsAXlsl3MpIcLegEC4LAulN7CO4ThqWtIN4X+U2KF3fmzaZIzFnYk4zzIPt8k1BM= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 56bc00f9-af41-4fd6-a93d-08d70a9eda41 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jul 2019 10:09:27.7642 (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: BN6PR1801MB1955 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 06/11] cryptodev: remove RSA PKCS1 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 06/11] cryptodev: remove RSA PKCS1 BT0 padding >=20 > External Email >=20 > ---------------------------------------------------------------------- > BT0 block type padding after rfc2313 has been discontinued. >=20 > Signed-off-by: Arek Kusztal Acked-by: Shally Verma > --- > lib/librte_cryptodev/rte_crypto_asym.h | 14 +++----------- > 1 file changed, 3 insertions(+), 11 deletions(-) >=20 > diff --git a/lib/librte_cryptodev/rte_crypto_asym.h > b/lib/librte_cryptodev/rte_crypto_asym.h > index ad484de..5026042 100644 > --- a/lib/librte_cryptodev/rte_crypto_asym.h > +++ b/lib/librte_cryptodev/rte_crypto_asym.h > @@ -112,17 +112,9 @@ enum rte_crypto_asym_op_type { enum > rte_crypto_rsa_padding_type { > RTE_CRYPTO_RSA_PADDING_NONE =3D 0, > /**< RSA no padding scheme */ > - RTE_CRYPTO_RSA_PKCS1_V1_5_BT0, > - /**< RSA PKCS#1 V1.5 Block Type 0 padding scheme > - * as described in rfc2313 > - */ > - RTE_CRYPTO_RSA_PKCS1_V1_5_BT1, > - /**< RSA PKCS#1 V1.5 Block Type 01 padding scheme > - * as described in rfc2313 > - */ > - RTE_CRYPTO_RSA_PKCS1_V1_5_BT2, > - /**< RSA PKCS#1 V1.5 Block Type 02 padding scheme > - * as described in rfc2313 > + RTE_CRYPTO_RSA_PADDING_PKCS1_5, > + /**< RSA PKCS#1 PKCS1-v1_5 padding scheme. For signatures block > type 01, > + * for encryption block type 02 are used. > */ > RTE_CRYPTO_RSA_PADDING_OAEP, > /**< RSA PKCS#1 OAEP padding scheme */ > -- > 2.1.0