From b5b047aa441adf5c13d25f0a5d3eb76787080903 Mon Sep 17 00:00:00 2001 From: Pablo de Lara Date: Tue, 25 Jul 2017 07:33:32 +0100 Subject: [PATCH] crypto/qat: fix SHA384-HMAC block size Block size of SHA384-HMAC algorithm is 128 bytes, and not 64 bytes. Fixes: d905ee32d0dc ("crypto/qat: add aes-sha384-hmac capability") Cc: stable@dpdk.org Signed-off-by: Pablo de Lara Acked-by: Fiona Trahe --- drivers/crypto/qat/qat_crypto_capabilities.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/qat/qat_crypto_capabilities.h b/drivers/crypto/qat/qat_crypto_capabilities.h index 07da9118e8..7012007208 100644 --- a/drivers/crypto/qat/qat_crypto_capabilities.h +++ b/drivers/crypto/qat/qat_crypto_capabilities.h @@ -104,7 +104,7 @@ .xform_type = RTE_CRYPTO_SYM_XFORM_AUTH, \ {.auth = { \ .algo = RTE_CRYPTO_AUTH_SHA384_HMAC, \ - .block_size = 64, \ + .block_size = 128, \ .key_size = { \ .min = 1, \ .max = 128, \ -- 2.20.1