From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 0D06C374E for ; Wed, 13 Mar 2019 08:30:50 +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 x2D7JfxV012945; Wed, 13 Mar 2019 00:30:50 -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=KNczXcodknGLa09jZW8c6XfMBU5Hd8MtuSDZCjcwYXc=; b=CnJiOCdvfhnfYofK+Q0TR2925oUWSaLUqmGZKA45E61+OlMOwkO4tq2KQ3VWk1ZIvhZ5 rMrdwXfOoKRdMm5imFHGLCxZEIoDLPGx1nHElbAX+/JUPx8OigjfQT0zXD+81UyaOaW0 LxOHRtbXQhS/zDNZbucHTUXaeObIQv6uOnCH/1nrBwkzTUQ0Hi1A5rzfcjxl9Mgx7haU F01nYzjxIHguLCinr28FELDEEUcoj/MafwXzNQNMhX7MWCL/deYFt/P08HjutwCHAuSl cxd/m2KM2M1oYMyPGSFHwKlzzTlOFe9z4G3yZDKbr2cNFxXBNiXCk9dHIVuwaBAOtkpy /g== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 2r6s7ugmdn-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 13 Mar 2019 00:30:49 -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, 13 Mar 2019 00:29:57 -0700 Received: from NAM04-SN1-obe.outbound.protection.outlook.com (104.47.44.55) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Wed, 13 Mar 2019 00:29:42 -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=KNczXcodknGLa09jZW8c6XfMBU5Hd8MtuSDZCjcwYXc=; b=BiJVhG1VSsVGlw2Hps2zBGawEZczcR3wr15lBRgbKWn+YB+lIOYg9S+Nh5dt8Ff8TkPT59soa+EmELcePEgdIImmCsjU43GT73aS6Kh9RKDs+K61cNM/D4a4FNTcDkiC5Xj1ybok8s/ZyM5Je9W9NsYehr1iYnuTvkswQP9Tyjc= Received: from MN2PR18MB2542.namprd18.prod.outlook.com (20.179.82.221) by MN2PR18MB2832.namprd18.prod.outlook.com (20.179.22.79) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.13; Wed, 13 Mar 2019 07:29:41 +0000 Received: from MN2PR18MB2542.namprd18.prod.outlook.com ([fe80::2cd3:8b8:fbbb:db98]) by MN2PR18MB2542.namprd18.prod.outlook.com ([fe80::2cd3:8b8:fbbb:db98%5]) with mapi id 15.20.1686.021; Wed, 13 Mar 2019 07:29:41 +0000 From: Ayuj Verma To: "akhil.goyal@nxp.com" CC: "arkadiuszx.kusztal@intel.com" , "fiona.trahe@intel.com" , Shally Verma , Sunila Sahu , "Kanaka Durga Kotamarthy" , Arvind Desai , "dev@dpdk.org" Thread-Topic: [PATCH v2 0/3] adding rsa priv key feature flag Thread-Index: AQHUzqEHAOyD3J5P4k2kbBjbBi6kGKX8yVSXgAx1aeg= Date: Wed, 13 Mar 2019 07:29:40 +0000 Message-ID: References: <20190227133258.8962-1-ayverma@marvell.com>, In-Reply-To: Accept-Language: en-IN, en-US Content-Language: en-IN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [111.93.218.67] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f4117d09-9e57-41cd-df31-08d6a785a803 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600127)(711020)(4605104)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:MN2PR18MB2832; x-ms-traffictypediagnostic: MN2PR18MB2832: x-microsoft-antispam-prvs: x-forefront-prvs: 09752BC779 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(136003)(346002)(396003)(39860400002)(376002)(189003)(199004)(8936002)(66066001)(229853002)(186003)(54896002)(2906002)(5640700003)(6606003)(86362001)(55016002)(74316002)(9686003)(6916009)(7736002)(6436002)(2351001)(106356001)(25786009)(81166006)(81156014)(19627405001)(8676002)(105586002)(78486014)(97736004)(4326008)(33656002)(68736007)(52536013)(99286004)(5660300002)(478600001)(54906003)(14454004)(6246003)(99946001)(7696005)(6116002)(3846002)(71190400001)(71200400001)(256004)(2501003)(76176011)(14444005)(316002)(53936002)(102836004)(446003)(476003)(486006)(26005)(53546011)(6506007)(11346002); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR18MB2832; H:MN2PR18MB2542.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: rmJwqUOWNNEbyKtz9+KkUBPiYWcqKEVhuxtS/mX57o+HfrBCtQU4joa5wogRI68avbgZnvhFwzqbXqCayDQj2v5wDsD7YVkvu5vojjceCW5jtHhykLvcYMCp/n/wQmhgr+BS6ilgpGsB0mhiswgneGdX9b3HEcMPV9GIrT3h74AcxaAsGedx3dySHTW8GZn+hVqLY4OK6J4ll24sgZ1+l/28mUxP0XcWHcfi4trFi6V9lHAkGKIDIzRbJ0omWYTzPko7tl/YZB3x+oezG0M1lNhZW5vGEDQ1AyqnDb9FAtPNEcO7SGAOsdyO+dTt1GhdGO9XDSu8aUmMIaGok9+o/IGLVzLs+Ufq4BkV5F09jJ4NcarRmkwBTltzrQwUJsMvMTRUGXbSLFtmNUSWH6RrU2+exs8kJXfM8a6WKXK/T9E= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: f4117d09-9e57-41cd-df31-08d6a785a803 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Mar 2019 07:29:40.9427 (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: MN2PR18MB2832 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-03-13_04:, , signatures=0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH v2 0/3] 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: , X-List-Received-Date: Wed, 13 Mar 2019 07:30:51 -0000 Hi Akhil, Fiona, Arek, Gentle reminder. Did you get a chance to look into these. Thanks and regards Ayuj Verma ________________________________ From: dev on behalf of Ayuj Verma Sent: 05 March 2019 14:41:18 To: akhil.goyal@nxp.com Cc: arkadiuszx.kusztal@intel.com; fiona.trahe@intel.com; Shally Verma; Suni= la Sahu; Kanaka Durga Kotamarthy; Arvind Desai; dev@dpdk.org Subject: [EXT] Re: [dpdk-dev] [PATCH v2 0/3] adding rsa priv key feature fl= ag External Email ---------------------------------------------------------------------- Hi Akhil, Did you get a chance to look into these. Thanks and regards Ayuj Verma ________________________________ From: Ayuj Verma Sent: 27 February 2019 19:03:31 To: akhil.goyal@nxp.com Cc: arkadiuszx.kusztal@intel.com; fiona.trahe@intel.com; Shally Verma; Suni= la Sahu; Kanaka Durga Kotamarthy; Arvind Desai; dev@dpdk.org; Ayuj Verma Subject: [PATCH v2 0/3] adding rsa priv key feature flag Some PMDs can only support RSA private key operations using CRT (quintuple) or exponent key only. Thus it is required to add feature flag (ff) in PMD to reflect which key type is supported to perform sign and decrypt ops. Thus add feature flags RTE_CRYPTODEV_FF_RSA_PRIV_OP_KEY_EXP and RTE_CRYPTODEV_FF_RSA_PRIV_OP_KEY_QT which would mean support to perform a private key op using CRT keys (quintuple) or exponent or both. App should query PMD feature flag to check if specific key type is supported and call operation with relevant key type. Ayuj Verma (3): lib/cryptodev: add rsa priv key feature flag crypto/openssl: set rsa private op feature flag test/crypto: check for rsa key type feature flag drivers/crypto/openssl/rte_openssl_pmd.c | 4 +++- lib/librte_cryptodev/rte_cryptodev.c | 4 ++++ lib/librte_cryptodev/rte_cryptodev.h | 4 ++++ test/test/test_cryptodev_asym.c | 26 ++++++++++++++++++++++++ 4 files changed, 37 insertions(+), 1 deletion(-) -- 2.20.0