The Multi-buffer library supports full digest sizes for the HMAC algorithms (except for MD5), from 0.50 version. Also, since 0.50, keys larger than the algorithm block size can be used for HMAC algorithms, performing a hash on the key.
Therefore, the AESNI MB PMD now supports any key size for the HMAC algorithms and any truncated digest size for any SHAx-HMAC and AES-CMAC algorithm. Pablo de Lara (5): crypto/aesni_mb: support all truncated HMAC digest sizes crypto/aesni_mb: check for invalid digest size crypto/aesni_mb: fix truncated digest size for CMAC crypto/aesni_mb: support all truncated CMAC digest sizes crypto/aesni_mb: support large HMAC key sizes drivers/crypto/aesni_mb/aesni_mb_ops.h | 61 ++++++ drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 180 +++++++++++++++--- .../crypto/aesni_mb/rte_aesni_mb_pmd_ops.c | 60 +++++- .../aesni_mb/rte_aesni_mb_pmd_private.h | 24 +-- 4 files changed, 285 insertions(+), 40 deletions(-) -- 2.17.1