From 87516a8f918a4fa59e365983dd82c107c5073d50 Mon Sep 17 00:00:00 2001 From: Arek Kusztal Date: Tue, 25 Apr 2017 15:41:14 +0100 Subject: [PATCH] crypto/qat: fix AAD capabilities for AES-GCM Fix aad capabilities for AES-GCM authtentication, aad is changed from range 8-12 to 0-240 Fixes: 1703e94ac5ce ("qat: add driver for QuickAssist devices") Cc: stable@dpdk.org Signed-off-by: Arek Kusztal Acked-by: Fiona Trahe --- drivers/crypto/qat/qat_crypto_capabilities.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/crypto/qat/qat_crypto_capabilities.h b/drivers/crypto/qat/qat_crypto_capabilities.h index fbd0c12cec..1294f24789 100644 --- a/drivers/crypto/qat/qat_crypto_capabilities.h +++ b/drivers/crypto/qat/qat_crypto_capabilities.h @@ -200,9 +200,9 @@ .increment = 4 \ }, \ .aad_size = { \ - .min = 8, \ - .max = 12, \ - .increment = 4 \ + .min = 0, \ + .max = 240, \ + .increment = 1 \ } \ }, } \ }, } \