From: Arek Kusztal Date: Tue, 25 Apr 2017 14:41:14 +0000 (+0100) Subject: crypto/qat: fix AAD capabilities for AES-GCM X-Git-Tag: spdx-start~3324 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=87516a8f918a4fa59e365983dd82c107c5073d50;p=dpdk.git 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 --- 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 \ } \ }, } \ }, } \