[v2,2/3] crypto/openssl: set rsa private op feature flag
Checks
Commit Message
openssl PMD support RSA private key operation
using both qt and exp key type.
Set both feature flag in PMD capability
Signed-off-by: Ayuj Verma <ayverma@marvell.com>
Signed-off-by: Shally Verma <shallyv@marvell.com>
---
drivers/crypto/openssl/rte_openssl_pmd.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
@@ -2119,7 +2119,9 @@ cryptodev_openssl_create(const char *name,
RTE_CRYPTODEV_FF_CPU_AESNI |
RTE_CRYPTODEV_FF_OOP_SGL_IN_LB_OUT |
RTE_CRYPTODEV_FF_OOP_LB_IN_LB_OUT |
- RTE_CRYPTODEV_FF_ASYMMETRIC_CRYPTO;
+ RTE_CRYPTODEV_FF_ASYMMETRIC_CRYPTO |
+ RTE_CRYPTODEV_FF_RSA_PRIV_OP_KEY_EXP |
+ RTE_CRYPTODEV_FF_RSA_PRIV_OP_KEY_QT;
/* Set vector instructions mode supported */
internals = dev->data->dev_private;