[dpdk-dev] [PATCH v2 0/4] Add new ZUC SW PMD

Pablo de Lara pablo.de.lara.guarch at intel.com
Thu Sep 29 04:59:46 CEST 2016


Added new SW PMD which makes use of the libsso SW library,
which provides wireless algorithms ZUC EEA3 and EIA3
in software.

This PMD supports cipher-only, hash-only and chained operations
("cipher then hash" and "hash then cipher") of the following
algorithms:
- RTE_CRYPTO_SYM_CIPHER_ZUC_EEA3
- RTE_CRYPTO_SYM_AUTH_ZUC_EIA3

The patchset also adds unit tests for this new PMD and
rename some common functions in the test application,
as they are used by all the wireless algorithms.

Changes in v2:
- Added documentation
- Fixed icc issue
- Rebased against latest dpdk-next-crypto
- Added support for ZUC EEA3 and EIA3 in l2fwd-crypto


Pablo de Lara (4):
  crypto/zuc: add driver for ZUC library
  app/test: rename some functions
  app/test: add test cases for ZUC PMD
  examples/l2fwd-crypto: enable ZUC EEA3 and EIA3 algos

 MAINTAINERS                                     |   5 +
 app/test/test_cryptodev.c                       | 331 ++++++++++++--
 app/test/test_cryptodev_zuc_hash_test_vectors.h | 359 +++++++++++++++
 app/test/test_cryptodev_zuc_test_vectors.h      | 582 ++++++++++++++++++++++++
 config/common_base                              |   6 +
 config/defconfig_i686-native-linuxapp-gcc       |   5 +
 config/defconfig_i686-native-linuxapp-icc       |   5 +
 doc/guides/cryptodevs/index.rst                 |   1 +
 doc/guides/cryptodevs/zuc.rst                   | 108 +++++
 drivers/crypto/Makefile                         |   1 +
 drivers/crypto/zuc/Makefile                     |  69 +++
 drivers/crypto/zuc/rte_pmd_zuc_version.map      |   3 +
 drivers/crypto/zuc/rte_zuc_pmd.c                | 551 ++++++++++++++++++++++
 drivers/crypto/zuc/rte_zuc_pmd_ops.c            | 342 ++++++++++++++
 drivers/crypto/zuc/rte_zuc_pmd_private.h        | 108 +++++
 examples/l2fwd-crypto/main.c                    |  12 +-
 lib/librte_cryptodev/rte_crypto_sym.h           |  20 +-
 lib/librte_cryptodev/rte_cryptodev.h            |   3 +
 mk/rte.app.mk                                   |   2 +
 scripts/test-build.sh                           |   4 +
 20 files changed, 2462 insertions(+), 55 deletions(-)
 create mode 100644 app/test/test_cryptodev_zuc_hash_test_vectors.h
 create mode 100644 app/test/test_cryptodev_zuc_test_vectors.h
 create mode 100644 doc/guides/cryptodevs/zuc.rst
 create mode 100644 drivers/crypto/zuc/Makefile
 create mode 100644 drivers/crypto/zuc/rte_pmd_zuc_version.map
 create mode 100644 drivers/crypto/zuc/rte_zuc_pmd.c
 create mode 100644 drivers/crypto/zuc/rte_zuc_pmd_ops.c
 create mode 100644 drivers/crypto/zuc/rte_zuc_pmd_private.h

-- 
2.7.4



More information about the dev mailing list