From: Arek Kusztal Date: Tue, 22 Oct 2019 14:22:25 +0000 (+0200) Subject: crypto/qat: fix AES CMAC mininum digest size X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=a7f8087bbdbe9a69fdd0bbc77237dd3a2014ce71;p=dpdk.git crypto/qat: fix AES CMAC mininum digest size AES-CMAC is used in 3gpp specifications hence it is needed to support 4 byte digest. Fixes: 91c1daa4e1f0 ("crypto/qat: support AES-CMAC") Cc: stable@dpdk.org Signed-off-by: Arek Kusztal Acked-by: Fiona Trahe --- diff --git a/drivers/crypto/qat/qat_sym_capabilities.h b/drivers/crypto/qat/qat_sym_capabilities.h index a7fb6a0da9..028a56c568 100644 --- a/drivers/crypto/qat/qat_sym_capabilities.h +++ b/drivers/crypto/qat/qat_sym_capabilities.h @@ -167,7 +167,7 @@ .increment = 0 \ }, \ .digest_size = { \ - .min = 12, \ + .min = 4, \ .max = 16, \ .increment = 4 \ } \