From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 07BEEC76188 for ; Fri, 19 Jul 2019 04:45:24 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 8467F206DD for ; Fri, 19 Jul 2019 04:45:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=marvell.com header.i=@marvell.com header.b="YeFX+SvB"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=marvell.onmicrosoft.com header.i=@marvell.onmicrosoft.com header.b="fkTeg2Wb" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8467F206DD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=marvell.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2F043DE3; Fri, 19 Jul 2019 06:45:22 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 1945523D for ; Fri, 19 Jul 2019 06:45: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 x6J4j5XB005047; Thu, 18 Jul 2019 21:45:19 -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=iSDV+Uo8howdxxzJ7+Be0cCK0ByHKyo9RSImlKCWBPI=; b=YeFX+SvBfQKkXCOIlfx6hKo7ZsUEK37LOjzKB+SoK6jsFJG2e8OUH8p3+0R9j/2LMHho 7DQk5lVKm52dWGCuf2f9kAAre9V8EK54/Hy2YGUMrqvicaKXNQi/KDVbTmtr3UbSavl5 GVAV2WTEwcmisqRB+btoiLXgzESnAtoDDKU/u30QehiJbc/zomdEk0xloNhv6VMQoqmM 5wKda/+m22MZIthRh9PCSzvrR2f6Gu9m0mlXdjtF2Q+tzwqp5oXgA01sCKSOwbdmlp7M uZ7GV5AYgCiwncUSEkpn/6/aSO9FBA/rb4JPIB3+gg8ATREPC6lXPqopRSkQKXHxcozE nA== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0a-0016f401.pphosted.com with ESMTP id 2ts07vr221-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 18 Jul 2019 21:45:19 -0700 Received: from SC-EXCH04.marvell.com (10.93.176.84) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 18 Jul 2019 21:45:17 -0700 Received: from NAM04-SN1-obe.outbound.protection.outlook.com (104.47.44.56) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Thu, 18 Jul 2019 21:45:17 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=obFqBctKkHpJp4bazYcaDMEWLJFUHHd2yIq2NrUm5XYQqCffrX/p5w9kUtaK5lMzTu8LM2sXcvZ1bZ7Bt79jw9Y3+F38JxUWkCxkMwF4zrw4+2d8OfWNLZVaDnB7KSYYmbISOKlWKfvCuFUhrj1riKT5ZKJeYpZ9IegDHjDxATGfNX/9FI02nzuOoyN/gkBHEgOj+0shPzP+hSiHLA6Tz+tyEWHlEkUN6JH5wrirBZcW4AUdsjUxjD+vUxGNfCOCezEU4TSlKLjYw2/c3zQ7usYdeVnwAniuPxiTgwrImSyE5BfRu9YOFXAf2DzbnsToz+kgi2Jktf/XEs5jruO/lg== 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=iSDV+Uo8howdxxzJ7+Be0cCK0ByHKyo9RSImlKCWBPI=; b=dRa+2wlSIo07xwSmWLmLsZI+TC46rSNt/JZR6Kxsic5Ux68d2P95srv1yNzEKt2uu+mJw/54JmkuGoOr8kT7C7JIQFULMbx4NdBRYvvQKnCyyB32ZcgIQ380NCBETBgTVae8TkHDyDniSYwKHlcUdhsGp88tbnyQRxz6ZEJBMFzEGnre8xjVALPmSQhfs+o0PMrIYFZQnvzIi72ylL+E76CN8MKcum/KnRcM5WOyMLBVGXR6XQ0rBYcrGZ7q3FXa2ByKVCZ0C66rDcd5nSO7IKD+wgavGXrdlJMBfUuZhKKkiWABaAO2iuoS7wMXK0HOmUqLEazH4QCh0UrSFnDQKA== 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=iSDV+Uo8howdxxzJ7+Be0cCK0ByHKyo9RSImlKCWBPI=; b=fkTeg2WbTHoG/VXPba2D3VIq/QiOZoz9uQ0vTSbL8TFOlZW3SJ3IQ+fDtEYmT/KBgMWx8NPwlPpX3qTGSNUcmgwJPBk2mX8kCeAIboza8fL/OzdMoNRxxbmZ2l9coawT0OVkLjJeqCz5lAua38Wb8HcbBiTXIwv9JaqiilNrclU= Received: from BN6PR1801MB2052.namprd18.prod.outlook.com (10.161.157.11) by BN6PR1801MB1810.namprd18.prod.outlook.com (10.161.157.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2094.12; Fri, 19 Jul 2019 04:45:16 +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; Fri, 19 Jul 2019 04:45:16 +0000 From: Shally Verma To: Arek Kusztal , "dev@dpdk.org" CC: "akhil.goyal@nxp.com" , "fiona.trahe@intel.com" , "damianx.nowak@intel.com" , Ayuj Verma , Kanaka Durga Kotamarthy , Sunila Sahu Thread-Topic: [EXT] [PATCH v5 0/7] Rework API for RSA algorithm in asymmetric crypto Thread-Index: AQHVPYNYFfmP7kDDIkmJ0qPo9VD2jKbRXdxw Date: Fri, 19 Jul 2019 04:45:16 +0000 Message-ID: References: <20190718160943.10724-1-arkadiuszx.kusztal@intel.com> In-Reply-To: <20190718160943.10724-1-arkadiuszx.kusztal@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [115.113.156.2] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 601209bb-a560-4d0f-9a57-08d70c03e539 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600148)(711020)(4605104)(1401327)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:BN6PR1801MB1810; x-ms-traffictypediagnostic: BN6PR1801MB1810: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-forefront-prvs: 01039C93E4 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(366004)(136003)(376002)(39860400002)(396003)(189003)(199004)(13464003)(5660300002)(7696005)(71190400001)(71200400001)(8936002)(8676002)(25786009)(229853002)(52536014)(54906003)(3846002)(33656002)(4326008)(110136005)(316002)(6436002)(6116002)(53936002)(486006)(186003)(7736002)(446003)(11346002)(99286004)(476003)(26005)(305945005)(102836004)(6506007)(81166006)(107886003)(53546011)(256004)(14444005)(81156014)(55236004)(76176011)(2501003)(74316002)(9686003)(66476007)(6246003)(55016002)(68736007)(478600001)(2906002)(86362001)(66946007)(76116006)(66556008)(66066001)(14454004)(66446008)(64756008); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR1801MB1810; H:BN6PR1801MB2052.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: ZdAeACtLFQsx9F8C7pMN7k1mVBk1+qpkBKI9dUfmwyEln04oxLHCWSd/o+wkut+XUlyHVi6c+ey8ZPc6o2h7pvFhSNWipKVfUooZpsZvz+6D1z2FV1pk13xaAV0osz9pku0DPrlZZhd6zzDu9rrM8kb4Xswxs6mzl21UveDAdOsxgFhMVxuVdeEps3IUH0rbdL8KehcQXHCJHj8tUPAZw7vmDMgyiK0529Bj4Q+fgy1FadXInJL/tdxQ3QGSp9O5w75UK0jdgdq+FsKvyiOBgU2njGQxyeb1jVLhjvbrve1o9YALDfSAKvUvq0JGWym/EPoffpypCvWGTZ2L57+D29IoDAY7lbM3ZkHpnYT0803OelQB4iltyHqw9C18lmCBtTxPoWM+ypip1LT+8tadUltQPGSR5mb+eMufGh8dAgk= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 601209bb-a560-4d0f-9a57-08d70c03e539 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Jul 2019 04:45:16.4458 (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: BN6PR1801MB1810 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:5.22.84,1.0.8 definitions=2019-07-19_03:2019-07-19,2019-07-19 signatures=0 Subject: Re: [dpdk-dev] [EXT] [PATCH v5 0/7] Rework API for RSA algorithm in asymmetric crypto 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: Thursday, July 18, 2019 9:40 PM > To: dev@dpdk.org > Cc: akhil.goyal@nxp.com; fiona.trahe@intel.com; Shally Verma > ; damianx.nowak@intel.com; Arek Kusztal > > Subject: [EXT] [PATCH v5 0/7] Rework API for RSA algorithm in asymmetric > crypto >=20 > External Email >=20 > ---------------------------------------------------------------------- > Ramoved patches that was not acked by Shally. > So open things: > 1. Creating padding struct. > 2. Padding parameters (seedlen, optional label etc). > 3. Leading zeroes questions. > 4. Random number requirements. > 5. Capabilities. > 6. Verify signature field when none padding. > 7. Padding none. > 8. Signature input format. >=20 > Arek Kusztal (7): > cryptodev: change RSA API comments about primes > cryptodev: add cipher field to RSA op > crypto/openssl: add cipher field to openssl RSA implementation > test: add cipher field to RSA test > cryptodev: remove RSA PKCS1 BT0 padding > openssl: remove RSA PKCS1_5 BT0 padding > test: remove RSA PKCS1_5 BT0 padding from test cases >=20 > app/test/test_cryptodev_asym.c | 13 ++++--- > drivers/crypto/openssl/rte_openssl_pmd.c | 12 +++---- > lib/librte_cryptodev/rte_crypto_asym.h | 61 +++++++++++++++++++++--- > -------- > 3 files changed, 55 insertions(+), 31 deletions(-) >=20 > -- > 2.1.0 With minor feedback on description on Patchv5 2/7, Series-acked-by: Shally Verma