From: Arek Kusztal Date: Tue, 25 Apr 2017 14:40:48 +0000 (+0100) Subject: crypto/openssl: fix AAD capabilities for AES-GCM X-Git-Tag: spdx-start~3325 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=0625598a11414c65c8f280df19b81d5e23fe46ae;p=dpdk.git crypto/openssl: fix AAD capabilities for AES-GCM Fix aad capabilities for AES-GCM authtentication, aad is changed from range 8-12 to 0-65535 Fixes: 8a9867a635c0 ("crypto/openssl: rename libcrypto to openssl") Cc: stable@dpdk.org Signed-off-by: Arek Kusztal Acked-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 25d1a4b0ce..7cb21f85f5 100644 --- a/drivers/crypto/openssl/rte_openssl_pmd_ops.c +++ b/drivers/crypto/openssl/rte_openssl_pmd_ops.c @@ -350,9 +350,9 @@ static const struct rte_cryptodev_capabilities openssl_pmd_capabilities[] = { .increment = 0 }, .aad_size = { - .min = 8, - .max = 12, - .increment = 4 + .min = 0, + .max = 65535, + .increment = 1 } }, } }, }