[dpdk-dev] [PATCH 0/3] HMAC supported key size fixes

Pablo de Lara pablo.de.lara.guarch at intel.com
Tue Jul 25 07:24:54 CEST 2017


For HMAC algorithms (SHAx/MD5), the capabilities were not
correct, as they were just a fixed value (block size).
Instead, the authentication key size for these algorithms
can go between 1 and the block size.

Note that these patches are fixing AESNI-MB, OpenSSL and QAT PMDs,
but DPAA2 and ARMv8 crypto PMDs might need these fixes too.

Pablo de Lara (3):
  crypto/aesni_mb: fix HMAC supported key sizes
  crypto/openssl: fix HMAC supported key sizes
  crypto/qat: fix HMAC supported key sizes

 drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c | 24 ++++++++++++------------
 drivers/crypto/openssl/rte_openssl_pmd_ops.c   | 24 ++++++++++++------------
 drivers/crypto/qat/qat_crypto_capabilities.h   | 24 ++++++++++++------------
 3 files changed, 36 insertions(+), 36 deletions(-)

-- 
2.9.4



More information about the dev mailing list