[2/3] crypto/openssl: update op-type mask with crt ops
Checks
Commit Message
add new asym op_types RTE_CRYPTO_ASYM_OP_SIGN_CRT and
RTE_CRYPTO_ASYM_OP_DECRYPT_CRT in capability structure
Signed-off-by: Ayuj Verma <ayverma@marvell.com>
Signed-off-by: Shally Verma <shallyv@marvell.com>
---
drivers/crypto/openssl/rte_openssl_pmd_ops.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
@@ -476,9 +476,11 @@ static const struct rte_cryptodev_capabilities openssl_pmd_capabilities[] = {
.xform_capa = {
.xform_type = RTE_CRYPTO_ASYM_XFORM_RSA,
.op_types = ((1 << RTE_CRYPTO_ASYM_OP_SIGN) |
+ (1 << RTE_CRYPTO_ASYM_OP_SIGN_CRT) |
(1 << RTE_CRYPTO_ASYM_OP_VERIFY) |
(1 << RTE_CRYPTO_ASYM_OP_ENCRYPT) |
- (1 << RTE_CRYPTO_ASYM_OP_DECRYPT)),
+ (1 << RTE_CRYPTO_ASYM_OP_DECRYPT) |
+ (1 << RTE_CRYPTO_ASYM_OP_DECRYPT_CRT)),
{
.modlen = {
/* min length is based on openssl rsa keygen */