summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo de Lara <pablo.de.lara.guarch@intel.com>2017-07-25 07:33:32 +0100
committerYuanhan Liu <yliu@fridaylinux.org>2017-08-29 14:50:28 +0800
commitb89a3f120437404454daf6d89e517618b3cf5f8c (patch)
treef4e75d642c1196ea2059baf99faefb32efd277fa
parent661cb35e05d1e902b37efcc01e13d715a3a8e4ce (diff)
downloaddpdk-stable-b89a3f120437404454daf6d89e517618b3cf5f8c.zip
dpdk-stable-b89a3f120437404454daf6d89e517618b3cf5f8c.tar.gz
dpdk-stable-b89a3f120437404454daf6d89e517618b3cf5f8c.tar.xz
crypto/qat: fix SHA384-HMAC block size
[ upstream commit b5b047aa441adf5c13d25f0a5d3eb76787080903 ] Block size of SHA384-HMAC algorithm is 128 bytes, and not 64 bytes. Fixes: d905ee32d0dc ("crypto/qat: add aes-sha384-hmac capability") Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Fiona Trahe <fiona.trahe@intel.com>
-rw-r--r--drivers/crypto/qat/qat_crypto_capabilities.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/qat/qat_crypto_capabilities.h b/drivers/crypto/qat/qat_crypto_capabilities.h
index 05dfcae..42ede7b 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, \