From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id D462FA05D3 for ; Fri, 29 Mar 2019 16:20:29 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B476C3256; Fri, 29 Mar 2019 16:20:27 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 69DAD2BF4 for ; Fri, 29 Mar 2019 16:20:26 +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 x2TF6o8A016554; Fri, 29 Mar 2019 08:20:25 -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 : mime-version; s=pfpt0818; bh=YRbixcFNae4IrebpJnyLkZz6h60oG+9v1++1JmsNMKE=; b=xgtNC7YZVm/HgtKZ/jmvPi39r/w5MuWzxQN4bcUfySuzN5AtFobjrdjxywK4JlF7r80O 5n6z8j+ULhFFxRCt3edEvCgFN/oSL9bbVui2pRGvLO5iTkio4yPR6cunkSvMfAM2yq/u 0uDIUmvK24MBfvRymok5D8coP78XZ+4k6XrqGTkU02mgC/34mUs0Qjr84zzgJYo8iW0v N/eSLEykdCDQa5fhl8Q84NmgyuKRm+GCXsAgb8kI0uHx+i6uK9G2lKvNFjdB6efkbksa 4yRkPAGKV3vq5Re9eNcJWiB5d0RBxbbb/Eaw4NvEfS3nl36q69++NdCBdrJBIHjBnp9N Gw== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0a-0016f401.pphosted.com with ESMTP id 2rh6fwjd5w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 29 Mar 2019 08:20:22 -0700 Received: from SC-EXCH04.marvell.com (10.93.176.84) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Fri, 29 Mar 2019 08:20:16 -0700 Received: from NAM02-CY1-obe.outbound.protection.outlook.com (104.47.37.58) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Fri, 29 Mar 2019 08:20:16 -0700 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=YRbixcFNae4IrebpJnyLkZz6h60oG+9v1++1JmsNMKE=; b=W1pfncdinj2+G5xjAxb6y8HKTot152tWZaZ5/65TVOopu0+CKxBm8J79tWBzfDDJTN2vMV7RG3SCvmw55Zi4Uy90hgb8sXOoOLdF5jRPL2lOpwZoQBiJDaFLkxdn2w1R4Axyja3ZfbmCofHpOvXJTcpABuEEegWIsfXXiIas1Jo= Received: from MN2PR18MB2542.namprd18.prod.outlook.com (20.179.82.221) by MN2PR18MB2431.namprd18.prod.outlook.com (20.179.81.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.16; Fri, 29 Mar 2019 15:20:15 +0000 Received: from MN2PR18MB2542.namprd18.prod.outlook.com ([fe80::ecb7:6a6e:f852:3d90]) by MN2PR18MB2542.namprd18.prod.outlook.com ([fe80::ecb7:6a6e:f852:3d90%6]) with mapi id 15.20.1750.014; Fri, 29 Mar 2019 15:20:15 +0000 From: Ayuj Verma To: Akhil Goyal CC: "arkadiuszx.kusztal@intel.com" , "Shally Verma" , Sunila Sahu , "Kanaka Durga Kotamarthy" , Arvind Desai , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v3 0/4] adding rsa priv key feature flag Thread-Index: AQHU5VDmFr4Qf/EZl0y7lnKudFqeNKYiumWAgAAAgDA= Date: Fri, 29 Mar 2019 15:20:15 +0000 Message-ID: References: <1553768834-19072-1-git-send-email-ayverma@marvell.com>, <487d9431-4de8-b22f-eb92-cec2a6b4a500@nxp.com> In-Reply-To: <487d9431-4de8-b22f-eb92-cec2a6b4a500@nxp.com> Accept-Language: en-IN, en-US Content-Language: en-IN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [14.140.231.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7fcbcfb7-be03-4978-8d0a-08d6b45a0b9d x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020); SRVR:MN2PR18MB2431; x-ms-traffictypediagnostic: MN2PR18MB2431: x-microsoft-antispam-prvs: x-forefront-prvs: 0991CAB7B3 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(136003)(376002)(366004)(39860400002)(396003)(199004)(189003)(68736007)(74316002)(86362001)(229853002)(7736002)(105586002)(8936002)(2906002)(52536014)(256004)(81156014)(81166006)(14444005)(8676002)(478600001)(54906003)(26005)(316002)(6506007)(55236004)(53546011)(5660300002)(6246003)(102836004)(19627405001)(6916009)(186003)(14454004)(6436002)(97736004)(25786009)(53936002)(76176011)(55016002)(11346002)(6606003)(66066001)(4326008)(446003)(7696005)(33656002)(486006)(71190400001)(71200400001)(106356001)(9686003)(54896002)(99286004)(476003)(99946001)(6116002)(3846002); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR18MB2431; H:MN2PR18MB2542.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: ClIsSHGGBX4HZBhviIRxpyXEw9X/9NuKkPBzHWcEWpC/F+NrqcKrZn6ll9RixcRyQn8+mD2eQGTVKXA0bgg1MVpRvGKOza+h9r7Gsnsv4CwBWEoalbOcOlL9UThat9XFXcWo0oF/qw08IZTfePTP/kF8sYOHcycjLRh3gy8WC4M6zQD5ZeczkZBHc8HNzVvPQl5B+BszWSvCbTAPMgjsUuAaebYhDNHQLXzrIut0k/3wrkdEFMD5i8kQovU05wxvWqwM92Abq3z4n7KZQWBtx9ouE6vzla69RSSe36Sxx5NxOoPa45KA0huIrmHGXG5RiA2c2ycWVHJsMQGvBxTj/INYAIVPusCClHzoMCMAgDZ6GML1a1vq0gb7Uu6PVT2jCgMQeWpuxasVGJlI2o3IVoZkTLVwNUPFM/fPI065c88= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 7fcbcfb7-be03-4978-8d0a-08d6b45a0b9d X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Mar 2019 15:20:15.2703 (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: MN2PR18MB2431 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-03-29_08:, , signatures=0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH v3 0/4] adding rsa priv key feature flag 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" Message-ID: <20190329152015.0YfR4W5snuurkDhS2G8174jQmmKplKE6yiGdVGKdH_c@z> Hi Akhil, Thanks. Please add relevant information in the description in future. Sure will keep this in mind. Thanks and regards Ayuj Verma ________________________________ From: Akhil Goyal Sent: 29 March 2019 20:47:33 To: Ayuj Verma Cc: arkadiuszx.kusztal@intel.com; Shally Verma; Sunila Sahu; Kanaka Durga K= otamarthy; Arvind Desai; dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v3 0/4] adding rsa priv key feature flag On 3/28/2019 3:57 PM, Ayuj Verma wrote: > Some PMDs can support RSA private key operations using CRT > (quintuple) or exponent key only. Thus add a feature flag > RTE_CRYPTODEV_FF_RSA_PRIV_OP_KEY_EXP and > RTE_CRYPTODEV_FF_RSA_PRIV_OP_KEY_QT in PMD to reflect which key > type is supported to perform rsa private key op. > > App should query PMD feature flag to check if specific > key type is supported and call operation with relevant key type. > > Changes in v3: > - Rebase changes on top of latest unit test application > - add feature flag description in documentation > > Changes in v2: > - RSA key type feature flags exponenet and quintuple, > in place of making them part of xform capabilities. > > Ayuj Verma (4): > lib/cryptodev: add rsa priv key feature flag > crypto/openssl: set rsa private op feature flag > app/test: check for key type ff in asym unit test > doc: add rsa key type to feature list > > app/test/test_cryptodev_asym.c | 26 +++++++++++++++++++++++= +++ > doc/guides/cryptodevs/features/openssl.ini | 2 ++ > doc/guides/cryptodevs/overview.rst | 6 ++++++ > drivers/crypto/openssl/rte_openssl_pmd.c | 4 +++- > lib/librte_cryptodev/rte_cryptodev.c | 4 ++++ > lib/librte_cryptodev/rte_cryptodev.h | 4 ++++ > 6 files changed, 45 insertions(+), 1 deletion(-) > Applied to dpdk-next-crypto 4th patch squashed to 1st and 2nd. Also added description for 3rd patch. Please add relevant information in the description in future. Thanks.