V2 will be needed as test directory apparently changed its location. Iam acking anyway.
> -----Original Message----- > From: Ayuj Verma [mailto:ayve...@marvell.com] > Sent: Wednesday, February 27, 2019 2:34 PM > To: akhil.go...@nxp.com > Cc: Kusztal, ArkadiuszX <arkadiuszx.kusz...@intel.com>; Trahe, Fiona > <fiona.tr...@intel.com>; Shally Verma <shal...@marvell.com>; Sunila Sahu > <ss...@marvell.com>; Kanaka Durga Kotamarthy > <kkotamar...@marvell.com>; Arvind Desai <ade...@marvell.com>; > dev@dpdk.org; Ayuj Verma <ayve...@marvell.com> > 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 Series-acked-by: Arek Kusztal <arkadiuszx.kusz...@intel.com>