crypto/qat: fix digest length in XCBC capability
authorFiona Trahe <fiona.trahe@intel.com>
Tue, 10 Sep 2019 16:32:10 +0000 (17:32 +0100)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 9 Oct 2019 09:50:12 +0000 (11:50 +0200)
Digest length in RTE_CRYPTO_AUTH_AES_XCBC_MAC capability
was incorrectly marked 16 bytes, should be 12.

Fixes: 6a3c87bc6a6c ("crypto/qat: refactor capabilities infrastructure")
Cc: stable@dpdk.org
Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>
Acked-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
drivers/crypto/qat/qat_sym_capabilities.h

index 6df12b9..a7fb6a0 100644 (file)
                                        .increment = 0                  \
                                },                                      \
                                .digest_size = {                        \
-                                       .min = 16,                      \
-                                       .max = 16,                      \
+                                       .min = 12,                      \
+                                       .max = 12,                      \
                                        .increment = 0                  \
                                },                                      \
                                .aad_size = { 0 },                      \