cryptodev: add RSA private key feature flag
authorAyuj Verma <ayverma@marvell.com>
Thu, 28 Mar 2019 10:28:22 +0000 (10:28 +0000)
committerAkhil Goyal <akhil.goyal@nxp.com>
Tue, 2 Apr 2019 14:50:24 +0000 (16:50 +0200)
commit398ba4c13fc99edd80a7b05db84411a57f5a4b4c
tree1254fbc907782e8ab3eb1e45b39200ddf268b14a
parent3b4757fc745b794200d60e2070b59a2f144b30a9
cryptodev: add RSA private key feature flag

Add feature flag to reflect RSA private key
operation support using quintuple (crt) or
exponent type key. if PMD support both,
then it should set both.

App should query cryptodev feature flag to check
if Sign and Decryt with CRT keys or exponent is
supported, thus call operation with relevant
key type.

Signed-off-by: Ayuj Verma <ayverma@marvell.com>
Signed-off-by: Shally Verma <shallyv@marvell.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
doc/guides/cryptodevs/features/default.ini
doc/guides/cryptodevs/overview.rst
lib/librte_cryptodev/rte_cryptodev.c
lib/librte_cryptodev/rte_cryptodev.h