[0/5] AESNI MB PMD changes
mbox series

Message ID 20180814003848.11095-1-pablo.de.lara.guarch@intel.com
Headers show
Series
  • AESNI MB PMD changes
Related show

Message

De Lara Guarch, Pablo Aug. 14, 2018, 12:38 a.m. UTC
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(-)

Comments

Kovacevic, Marko Aug. 20, 2018, 11:18 a.m. UTC | #1
> 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(-)
> 

Series-Acked-by: Marko Kovacevic <marko.kovacevic@intel.com>
Akhil Goyal Sept. 26, 2018, 12:26 p.m. UTC | #2
On 8/14/2018 6:08 AM, Pablo de Lara wrote:
> 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(-)
>
Series applied to dpdk-next-crypto

Thanks