From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <arkadiuszx.kusztal@intel.com>
Received: from mga09.intel.com (mga09.intel.com [134.134.136.24])
 by dpdk.org (Postfix) with ESMTP id 9533C239
 for <dev@dpdk.org>; Wed, 13 Mar 2019 20:03:03 +0100 (CET)
X-Amp-Result: SKIPPED(no attachment in message)
X-Amp-File-Uploaded: False
Received: from fmsmga008.fm.intel.com ([10.253.24.58])
 by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;
 13 Mar 2019 12:03:02 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.58,475,1544515200"; 
 d="scan'208,217";a="131392490"
Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206])
 by fmsmga008.fm.intel.com with ESMTP; 13 Mar 2019 12:03:02 -0700
Received: from hasmsx111.ger.corp.intel.com (10.184.198.39) by
 FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS)
 id 14.3.408.0; Wed, 13 Mar 2019 12:03:01 -0700
Received: from HASMSX109.ger.corp.intel.com ([169.254.3.144]) by
 HASMSX111.ger.corp.intel.com ([169.254.5.74]) with mapi id 14.03.0415.000;
 Wed, 13 Mar 2019 21:02:59 +0200
From: "Kusztal, ArkadiuszX" <arkadiuszx.kusztal@intel.com>
To: Ayuj Verma <ayverma@marvell.com>, "akhil.goyal@nxp.com"
 <akhil.goyal@nxp.com>
CC: "Trahe, Fiona" <fiona.trahe@intel.com>, Shally Verma
 <shallyv@marvell.com>, Sunila Sahu <ssahu@marvell.com>, "Kanaka Durga
 Kotamarthy" <kkotamarthy@marvell.com>, Arvind Desai <adesai@marvell.com>,
 "dev@dpdk.org" <dev@dpdk.org>
Thread-Topic: [PATCH v2 0/3] adding rsa priv key feature flag
Thread-Index: AQHUzqEHAOyD3J5P4k2kbBjbBi6kGKX8yVSXgAx1aeiAAMJW4A==
Date: Wed, 13 Mar 2019 19:02:58 +0000
Message-ID: <06EE24DD0B19E248B53F6DC8657831551B14AB3B@hasmsx109.ger.corp.intel.com>
References: <20190227133258.8962-1-ayverma@marvell.com>,
 <MN2PR18MB25422BB2B8DECC11430D6D57AD720@MN2PR18MB2542.namprd18.prod.outlook.com>
 <MN2PR18MB254214EE0B4A84359918FFA8AD4A0@MN2PR18MB2542.namprd18.prod.outlook.com>
In-Reply-To: <MN2PR18MB254214EE0B4A84359918FFA8AD4A0@MN2PR18MB2542.namprd18.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
dlp-product: dlpe-windows
dlp-version: 11.0.400.15
dlp-reaction: no-action
x-originating-ip: [10.104.12.177]
MIME-Version: 1.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 <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Mar 2019 19:03:04 -0000

Hi Ayuj,

Sorry for delayed answer.

For me it is perfectly fine, I will ack it.

Thanks,
Arek

From: Ayuj Verma [mailto:ayverma@marvell.com]
Sent: Wednesday, March 13, 2019 8:30 AM
To: akhil.goyal@nxp.com
Cc: Kusztal, ArkadiuszX <arkadiuszx.kusztal@intel.com>; Trahe, Fiona <fiona=
.trahe@intel.com>; Shally Verma <shallyv@marvell.com>; Sunila Sahu <ssahu@m=
arvell.com>; Kanaka Durga Kotamarthy <kkotamarthy@marvell.com>; Arvind Desa=
i <adesai@marvell.com>; dev@dpdk.org
Subject: Re: [PATCH v2 0/3] adding rsa priv key feature flag


Hi Akhil, Fiona, Arek,



Gentle reminder.



Did you get a chance to look into these.



Thanks and regards

Ayuj Verma

________________________________
From: dev <dev-bounces@dpdk.org<mailto:dev-bounces@dpdk.org>> on behalf of =
Ayuj Verma <ayverma@marvell.com<mailto:ayverma@marvell.com>>
Sent: 05 March 2019 14:41:18
To: akhil.goyal@nxp.com<mailto:akhil.goyal@nxp.com>
Cc: arkadiuszx.kusztal@intel.com<mailto:arkadiuszx.kusztal@intel.com>; fion=
a.trahe@intel.com<mailto:fiona.trahe@intel.com>; Shally Verma; Sunila Sahu;=
 Kanaka Durga Kotamarthy; Arvind Desai; dev@dpdk.org<mailto: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<mailto:akhil.goyal@nxp.com>
Cc: arkadiuszx.kusztal@intel.com<mailto:arkadiuszx.kusztal@intel.com>; fion=
a.trahe@intel.com<mailto:fiona.trahe@intel.com>; Shally Verma; Sunila Sahu;=
 Kanaka Durga Kotamarthy; Arvind Desai; dev@dpdk.org<mailto: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