From: Pablo de Lara Date: Tue, 25 Jul 2017 06:33:32 +0000 (+0100) Subject: crypto/qat: fix SHA384-HMAC block size X-Git-Tag: spdx-start~2358 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=b5b047aa441adf5c13d25f0a5d3eb76787080903;p=dpdk.git 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 --- 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, \