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

Pablo de Lara pablo.de.lara.guarch at intel.com
Fri Aug 26 05:09:12 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.

This patchset depends on the following patchset:
"add GMAC capability Intel QAT driver"
(http://dpdk.org/ml/archives/dev/2016-August/045617.html)

A v2 will be sent once the library is available.

Pablo de Lara (3):
  crypto/zuc: add driver for ZUC library
  app/test: rename some functions
  app/test: add test cases for ZUC PMD

 MAINTAINERS                                     |   5 +
 app/test/test_cryptodev.c                       | 319 +++++++++++--
 app/test/test_cryptodev_zuc_hash_test_vectors.h | 397 ++++++++++++++++
 app/test/test_cryptodev_zuc_test_vectors.h      | 582 ++++++++++++++++++++++++
 config/common_base                              |   6 +
 doc/guides/rel_notes/release_16_11.rst          |   5 +
 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                | 548 ++++++++++++++++++++++
 drivers/crypto/zuc/rte_zuc_pmd_ops.c            | 342 ++++++++++++++
 drivers/crypto/zuc/rte_zuc_pmd_private.h        | 108 +++++
 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 +
 16 files changed, 2367 insertions(+), 47 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 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