Thread (9 messages) 9 messages, 5 authors, 2016-03-10

Re: [PATCH] aesni_gcm: PMD to support AES_GCM crypto operations

From: O'Driscoll, Tim <hidden>
Date: 2016-01-30 16:41:00

-----Original Message-----
From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Declan Doherty
Sent: Saturday, January 30, 2016 1:10 PM
To: dev@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 <redacted>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help