From: Ayuj Verma Date: Thu, 28 Mar 2019 10:28:32 +0000 (+0000) Subject: crypto/openssl: set RSA private op feature flag X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=378e08eba89fe02847af5f23f16279d105e478ab;p=dpdk.git crypto/openssl: set RSA private op feature flag openssl PMD support RSA private key operation using both qt and exp key type. Set rsa key type feature flag Signed-off-by: Ayuj Verma Signed-off-by: Shally Verma Acked-by: Akhil Goyal --- diff --git a/doc/guides/cryptodevs/features/openssl.ini b/doc/guides/cryptodevs/features/openssl.ini index b9c0bdccd3..6ddca39e73 100644 --- a/doc/guides/cryptodevs/features/openssl.ini +++ b/doc/guides/cryptodevs/features/openssl.ini @@ -9,6 +9,8 @@ Sym operation chaining = Y OOP SGL In LB Out = Y OOP LB In LB Out = Y Asymmetric crypto = Y +RSA PRIV OP KEY EXP = Y +RSA PRIV OP KEY QT = Y ; ; Supported crypto algorithms of the 'openssl' crypto driver. diff --git a/drivers/crypto/openssl/rte_openssl_pmd.c b/drivers/crypto/openssl/rte_openssl_pmd.c index 93cd73ee55..6504959e69 100644 --- a/drivers/crypto/openssl/rte_openssl_pmd.c +++ b/drivers/crypto/openssl/rte_openssl_pmd.c @@ -2125,7 +2125,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;