crypto/qat: fix AES CMAC mininum digest size
authorArek Kusztal <arkadiuszx.kusztal@intel.com>
Tue, 22 Oct 2019 14:22:25 +0000 (16:22 +0200)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 23 Oct 2019 14:57:06 +0000 (16:57 +0200)
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 <arkadiuszx.kusztal@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
drivers/crypto/qat/qat_sym_capabilities.h

index a7fb6a0..028a56c 100644 (file)
                                        .increment = 0                  \
                                },                                      \
                                .digest_size = {                        \
-                                       .min = 12,                      \
+                                       .min = 4,                       \
                                        .max = 16,                      \
                                        .increment = 4                  \
                                }                                       \