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

De Lara Guarch, Pablo pablo.de.lara.guarch at intel.com
Tue Mar 8 12:22:35 CET 2016



> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pablo de Lara
> Sent: Tuesday, March 08, 2016 10:09 AM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH v2] aesni_gcm: PMD to support AES_GCM crypto
> operations
> 
> From: Declan Doherty <declan.doherty at intel.com>
> 
> 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>
> ---
> 
> This patch depends on "pmd/snow3g: add new SNOW 3G SW PMD" patch
> (http://dpdk.org/dev/patchwork/patch/11151/).
> 
> Changes in v2:
> 
> - Rebased against crypto API changes
> - Removed static config options and allow user to provide them
>   as virtual device parameters
> - Changed DPDK version references from 2.3 to 16.04
> - Added missing library dependency
> 
>  MAINTAINERS                                        |   4 +
>  app/test/test_cryptodev.c                          | 466 +++++++++++++++++++
>  app/test/test_cryptodev_gcm_test_vectors.h         | 423 +++++++++++++++++
>  config/common_base                                 |   6 +
>  config/defconfig_i686-native-linuxapp-gcc          |  10 +
>  config/defconfig_i686-native-linuxapp-icc          |  10 +
>  drivers/crypto/Makefile                            |   1 +
>  drivers/crypto/aesni_gcm/Makefile                  |  67 +++
>  drivers/crypto/aesni_gcm/aesni_gcm_ops.h           | 127 ++++++
>  drivers/crypto/aesni_gcm/aesni_gcm_pmd.c           | 505
> +++++++++++++++++++++
>  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               |   3 +
>  mk/rte.app.mk                                      |  19 +-
>  15 files changed, 2052 insertions(+), 4 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
>

NACK, some error messages are wrong.


More information about the dev mailing list