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 305E8A0471 for ; Wed, 17 Jul 2019 12:10:21 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0C4F9152A; Wed, 17 Jul 2019 12:10:21 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id B7DEB3DC for ; Wed, 17 Jul 2019 12:10:19 +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 x6HAAILi030872; Wed, 17 Jul 2019 03:10:18 -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=QXmyfLppbXfo+SHeXWRsK5O8jCy6RuyebpxfggjnbU4=; b=CuO9sI9UfktnVTZ4Ymtn6RpZPXYadofpsskXeRfRwRIyjK2V1hGVLGyHR+aPUH+DpgM6 GfkpXYHVCcLxAWoztkQXQHztJ4AMJwQ9Shm3+9nDEsu+PnCMrL2QJC6Gd3R7feUiYDiQ rHiAQy4WrtjqR8HNuDtsv/5yKPe2YOgbCsj3zZcjchVakioOYuEAlBtZCX5UaLcjSq26 66oBt3bRqkpfKu+E0EiD/By8jtuhkgCuRpZtbNzjHRa/B798pS4sEwYhlcOjWPCFCF+F 8CcgagD7A8cJOA0JRFNR7CaUK263kGbgCSe8O6W+E81B7UajU/gXWxd3aVJjoNgP7ec4 LQ== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 2ts07vfqhr-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 17 Jul 2019 03:10:18 -0700 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; Wed, 17 Jul 2019 03:10:14 -0700 Received: from NAM03-CO1-obe.outbound.protection.outlook.com (104.47.40.53) 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:10:14 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g962DSpGCCZX7p+0LSjmB89QpzNsqEqMow/+kuIe80Ldy7ZdrSNDj36FWp4yHPoYxtz3qZW+LCJEO7dxurtAz2SDzFyx/O7bmoTE4p0q92VN3OFvmTv2l+IBiOvzkTvC55fAQE62LP0XrDKYzrBA3wqMiNbWWHoxJOE5oH309l8vBPyLDcCm26CBvS6YKhkKuyQ6ir02Qrsn7u13MPteFBd7rYmc+VVCkSa0FOgGJs3+F+IX3Mdb5DYh7RbIgKMPcQUv8XuGJADtdzB9wNWO63wweDzPwWSnWS4s4HzQ+ORWZuadLphufCCgax3L4bIzIRA77Vwegg9/fGkpH0YPAQ== 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=QXmyfLppbXfo+SHeXWRsK5O8jCy6RuyebpxfggjnbU4=; b=nlrlfrSC2nC+U4XIb7h2A8za1K6l1sNg062P4AlILpR3IaRHGlW1x81AHyG7js6VESGgci3Tu0OeIPPLNkZFkjRcmq82315Ddm/5JO6eA0mPsX96qLGnXzebrdjxyeomnS8/J88O/XJSh7D7K0g+GsETcWuDYknvP2pe+gXYuU2rvjRscyTP5WpumxcthcOLMdjVqQJWKrDznxoZx9IfPM/fJsU8KeBHFowMy1b5Afeha72IztfMYUVhZIi9PUPBGgmyuxPpIf0wrB4HJNcsAPgS5PaLBqJ9f1eb3OZUogk73chFLmhoVTO5ToxQg7Mmx+TNrH1LgssL7S/W1UoalA== 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=QXmyfLppbXfo+SHeXWRsK5O8jCy6RuyebpxfggjnbU4=; b=E2GRjkTh91OPG5wq92XXbAhGWCqzjY8xwhLkRPLYfGwulO5wDv505uogTi17LED9mNbV3Z0ecP8qLFLzvOpvS5Zm+AHqI1+pB6kqU4SmlAgFTpqFWOjdkM3fLg3uOkxI8YKcBjOwKxfkq75lSaG2G0DRkFs7cge2iZJOWXAKAAE= 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:10:10 +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:10:10 +0000 From: Shally Verma To: Arek Kusztal , "dev@dpdk.org" CC: "akhil.goyal@nxp.com" , "fiona.trahe@intel.com" Thread-Topic: [EXT] [PATCH v3 08/11] test: remove RSA PKCS1_5 BT0 padding from test cases Thread-Index: AQHVPAfJ3uT3BmPsJUmeUJvPeuMpXKbOl2+Q Date: Wed, 17 Jul 2019 10:10:10 +0000 Message-ID: References: <20190716185304.12592-1-arkadiuszx.kusztal@intel.com> <20190716185304.12592-9-arkadiuszx.kusztal@intel.com> In-Reply-To: <20190716185304.12592-9-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: 269eb32d-7763-4fa2-42f7-08d70a9ef385 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:419; 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)(14444005)(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: ccmOYe2+yGawOPjRCRTBuRMl6csDUJaBQSTv6Ty2mIP8ZNLjAuRa2asfi7MUGN/BA/TgRDgJln/pZsudTGIVa6QDzXRKVrLSxEm8EQGEkEJo1e99oAbi9oMZjdcE62H79hq4TRB3dXqKAUF3dsGBkuHv+z3vGfhXVVL1/BieiRyW0EFx29pn2G/XsKaoQ/OqKvTYgB0fItZ65QRVdo6c6kP6V570sXW6CQyiJlf+EptIibUzRtm1rvURYFDuOnUJOhkctwgWjhfyAyPIWk2IESvNaLHXE6gQL1cbR0sG2KB/aHJZIeYYLo13R8O3N+jV38aY8LAw3kqiGErgoOLGNeMCFuLlpQPpMUxONQzdVY231o2yvpGKPt7i21zgY5srPw7GclVXQJaxUgcqbRZ8JoTMug1yu2zOaHK2xxuB0to= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 269eb32d-7763-4fa2-42f7-08d70a9ef385 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jul 2019 10:10:10.1732 (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 08/11] test: remove RSA PKCS1_5 BT0 padding from test cases 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 08/11] test: remove RSA PKCS1_5 BT0 padding from > test cases >=20 > External Email >=20 > ---------------------------------------------------------------------- > This patch removes RSA PKCS1_5 BT0 padding from test cases >=20 > Signed-off-by: Arek Kusztal Acked-by : Shally Verma > --- > app/test/test_cryptodev_asym.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) >=20 > diff --git a/app/test/test_cryptodev_asym.c > b/app/test/test_cryptodev_asym.c index 8391545..0e1277b 100644 > --- a/app/test/test_cryptodev_asym.c > +++ b/app/test/test_cryptodev_asym.c > @@ -93,7 +93,7 @@ queue_ops_rsa_sign_verify(struct > rte_cryptodev_asym_session *sess) > asym_op->rsa.message.data =3D rsaplaintext.data; > asym_op->rsa.message.length =3D rsaplaintext.len; > asym_op->rsa.sign.data =3D output_buf; > - asym_op->rsa.pad =3D RTE_CRYPTO_RSA_PKCS1_V1_5_BT1; > + asym_op->rsa.pad =3D RTE_CRYPTO_RSA_PADDING_PKCS1_5; >=20 > debug_hexdump(stdout, "message", asym_op->rsa.message.data, > asym_op->rsa.message.length); > @@ -125,7 +125,7 @@ queue_ops_rsa_sign_verify(struct > rte_cryptodev_asym_session *sess) >=20 > /* Verify sign */ > asym_op->rsa.op_type =3D RTE_CRYPTO_ASYM_OP_VERIFY; > - asym_op->rsa.pad =3D RTE_CRYPTO_RSA_PKCS1_V1_5_BT1; > + asym_op->rsa.pad =3D RTE_CRYPTO_RSA_PADDING_PKCS1_5; >=20 > /* Process crypto operation */ > if (rte_cryptodev_enqueue_burst(dev_id, 0, &op, 1) !=3D 1) { @@ - > 184,7 +184,7 @@ queue_ops_rsa_enc_dec(struct > rte_cryptodev_asym_session *sess) > asym_op->rsa.cipher.data =3D cipher_buf; > asym_op->rsa.cipher.length =3D 0; > asym_op->rsa.message.length =3D rsaplaintext.len; > - asym_op->rsa.pad =3D RTE_CRYPTO_RSA_PKCS1_V1_5_BT2; > + asym_op->rsa.pad =3D RTE_CRYPTO_RSA_PADDING_PKCS1_5; >=20 > debug_hexdump(stdout, "message", asym_op->rsa.message.data, > asym_op->rsa.message.length); > @@ -215,7 +215,7 @@ queue_ops_rsa_enc_dec(struct > rte_cryptodev_asym_session *sess) > /* Use the resulted output as decryption Input vector*/ > asym_op =3D result_op->asym; > asym_op->rsa.op_type =3D RTE_CRYPTO_ASYM_OP_DECRYPT; > - asym_op->rsa.pad =3D RTE_CRYPTO_RSA_PKCS1_V1_5_BT2; > + asym_op->rsa.pad =3D RTE_CRYPTO_RSA_PADDING_PKCS1_5; >=20 > /* Process crypto operation */ > if (rte_cryptodev_enqueue_burst(dev_id, 0, &op, 1) !=3D 1) { > -- > 2.1.0