[dpdk-dev] [PATCH] aesni_gcm: PMD to support AES_GCM crypto operations

O'Driscoll, Tim tim.odriscoll at intel.com
Sat Jan 30 17:40:53 CET 2016


> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Declan Doherty
> Sent: Saturday, January 30, 2016 1:10 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH] aesni_gcm: PMD to support AES_GCM crypto
> operations
> 
> This patch provides the implementation of an AES-NI accelerated crypto
> PMD
> which is dependent on Intel's multi-buffer library, see the white paper
> "Fast Multi-buffer IPsec Implementations on Intel®  Architecture
> Processors"
> 
> This PMD supports AES_GCM authenticated encryption and authenticated
> decryption using
> 128-bit AES keys
> 
> The patch also contains the related unit tests functions for the
> implemented functionality
> 
> Signed-off-by: Declan Doherty <declan.doherty at intel.com>
> ---
>  MAINTAINERS                                        |   4 +
>  app/test/test_cryptodev.c                          | 462
> +++++++++++++++++++
>  app/test/test_cryptodev_gcm_test_vectors.h         | 423
> +++++++++++++++++
>  config/common_linuxapp                             |  11 +-
>  config/defconfig_i686-native-linuxapp-gcc          |  10 +
>  drivers/crypto/Makefile                            |   1 +
>  drivers/crypto/aesni_gcm/Makefile                  |  66 +++
>  drivers/crypto/aesni_gcm/aesni_gcm_ops.h           | 127 ++++++
>  drivers/crypto/aesni_gcm/aesni_gcm_pmd.c           | 498
> +++++++++++++++++++++
>  drivers/crypto/aesni_gcm/aesni_gcm_pmd_ops.c       | 292 ++++++++++++
>  drivers/crypto/aesni_gcm/aesni_gcm_pmd_private.h   | 120 +++++
>  .../crypto/aesni_gcm/rte_pmd_aesni_gcm_version.map |   3 +
>  lib/librte_cryptodev/rte_cryptodev.h               |   5 +
>  mk/rte.app.mk                                      |  11 +-
>  14 files changed, 2028 insertions(+), 5 deletions(-)
>  create mode 100644 app/test/test_cryptodev_gcm_test_vectors.h
>  create mode 100644 drivers/crypto/aesni_gcm/Makefile
>  create mode 100644 drivers/crypto/aesni_gcm/aesni_gcm_ops.h
>  create mode 100644 drivers/crypto/aesni_gcm/aesni_gcm_pmd.c
>  create mode 100644 drivers/crypto/aesni_gcm/aesni_gcm_pmd_ops.c
>  create mode 100644 drivers/crypto/aesni_gcm/aesni_gcm_pmd_private.h
>  create mode 100644
> drivers/crypto/aesni_gcm/rte_pmd_aesni_gcm_version.map
> 

There should be an update to the Crypto Device Drivers guide for the new PMD.


Tim


More information about the dev mailing list