From: Pablo de Lara Date: Wed, 26 Apr 2017 13:33:03 +0000 (+0100) Subject: crypto/openssl: fix AES-GCM capability X-Git-Tag: spdx-start~3323 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=ca79b7f332760fbebca892534e7de62e69a12eb7;p=dpdk.git crypto/openssl: fix AES-GCM capability Crypto OpenSSL PMD supports 16, 24 and 32 byte keys, for AES GCM. Fixes: d61f70b4c918 ("crypto/libcrypto: add driver for OpenSSL library") Cc: stable@dpdk.org Signed-off-by: Pablo de Lara --- diff --git a/drivers/crypto/openssl/rte_openssl_pmd_ops.c b/drivers/crypto/openssl/rte_openssl_pmd_ops.c index 7cb21f85f5..22a68730f0 100644 --- a/drivers/crypto/openssl/rte_openssl_pmd_ops.c +++ b/drivers/crypto/openssl/rte_openssl_pmd_ops.c @@ -366,8 +366,8 @@ static const struct rte_cryptodev_capabilities openssl_pmd_capabilities[] = { .block_size = 16, .key_size = { .min = 16, - .max = 16, - .increment = 0 + .max = 32, + .increment = 8 }, .iv_size = { .min = 12,