[dpdk-dev] [PATCH v2 0/3] adding rsa priv key feature flag

Kusztal, ArkadiuszX arkadiuszx.kusztal at intel.com
Wed Mar 13 20:02:58 CET 2019


Hi Ayuj,

Sorry for delayed answer.

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

Thanks,
Arek

From: Ayuj Verma [mailto:ayverma at marvell.com]
Sent: Wednesday, March 13, 2019 8:30 AM
To: akhil.goyal at nxp.com
Cc: Kusztal, ArkadiuszX <arkadiuszx.kusztal at intel.com>; Trahe, Fiona <fiona.trahe at intel.com>; Shally Verma <shallyv at marvell.com>; Sunila Sahu <ssahu at marvell.com>; Kanaka Durga Kotamarthy <kkotamarthy at marvell.com>; Arvind Desai <adesai at marvell.com>; dev at 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 at dpdk.org<mailto:dev-bounces at dpdk.org>> on behalf of Ayuj Verma <ayverma at marvell.com<mailto:ayverma at marvell.com>>
Sent: 05 March 2019 14:41:18
To: akhil.goyal at nxp.com<mailto:akhil.goyal at nxp.com>
Cc: arkadiuszx.kusztal at intel.com<mailto:arkadiuszx.kusztal at intel.com>; fiona.trahe at intel.com<mailto:fiona.trahe at intel.com>; Shally Verma; Sunila Sahu; Kanaka Durga Kotamarthy; Arvind Desai; dev at dpdk.org<mailto:dev at dpdk.org>
Subject: [EXT] Re: [dpdk-dev] [PATCH v2 0/3] adding rsa priv key feature flag

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 at nxp.com<mailto:akhil.goyal at nxp.com>
Cc: arkadiuszx.kusztal at intel.com<mailto:arkadiuszx.kusztal at intel.com>; fiona.trahe at intel.com<mailto:fiona.trahe at intel.com>; Shally Verma; Sunila Sahu; Kanaka Durga Kotamarthy; Arvind Desai; dev at dpdk.org<mailto:dev at 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


More information about the dev mailing list