Skip to content

Commit

Permalink
crypto/qat: fix digest length in XCBC capability
Browse files Browse the repository at this point in the history
[ upstream commit 0996ed0 ]

Digest length in RTE_CRYPTO_AUTH_AES_XCBC_MAC capability
was incorrectly marked 16 bytes, should be 12.

Fixes: 6a3c87b ("crypto/qat: refactor capabilities infrastructure")

Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>
Acked-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
  • Loading branch information
fionatrahe authored and kevintraynor committed Nov 22, 2019
1 parent 6e8289a commit cde0c9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/crypto/qat/qat_sym_capabilities.h
Expand Up @@ -145,8 +145,8 @@
.increment = 0 \
}, \
.digest_size = { \
.min = 16, \
.max = 16, \
.min = 12, \
.max = 12, \
.increment = 0 \
}, \
.aad_size = { 0 }, \
Expand Down

0 comments on commit cde0c9c

Please sign in to comment.