Added new SW PMD which makes use of the libsso SW library, which provides wireless algorithms KASUMI F8 and F9 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_KASUMI_F8 - RTE_CRYPTO_SYM_AUTH_KASUMI_F9 The patchset also adds new macros to compare buffers at bit-level, since the PMD supports bit-level hash/cipher operations, and unit tests. This patchset depends on the following patchset: "Add AES Counter mode support for AES-NI MB PMD" (http://dpdk.org/ml/archives/dev/2016-May/038367.html) A v2 will be sent once the library is available, which will be shortly. Pablo de Lara (4): kasumi: add new KASUMI PMD app/test: add new buffer comparison macros app/test: add unit tests for KASUMI PMD l2fwd-crypto: add KASUMI algo support app/test/test.h | 57 +- app/test/test_cryptodev.c | 519 ++++++++++++++++ app/test/test_cryptodev.h | 1 + app/test/test_cryptodev_kasumi_hash_test_vectors.h | 222 +++++++ app/test/test_cryptodev_kasumi_test_vectors.h | 308 ++++++++++ config/common_base | 6 + doc/guides/cryptodevs/overview.rst | 78 +-- doc/guides/rel_notes/release_16_07.rst | 5 + drivers/crypto/Makefile | 1 + drivers/crypto/kasumi/Makefile | 64 ++ drivers/crypto/kasumi/rte_kasumi_pmd.c | 666 +++++++++++++++++++++ drivers/crypto/kasumi/rte_kasumi_pmd_ops.c | 344 +++++++++++ drivers/crypto/kasumi/rte_kasumi_pmd_private.h | 106 ++++ drivers/crypto/kasumi/rte_pmd_kasumi_version.map | 3 + examples/l2fwd-crypto/main.c | 10 +- lib/librte_cryptodev/rte_crypto_sym.h | 6 +- lib/librte_cryptodev/rte_cryptodev.h | 3 + mk/rte.app.mk | 4 + scripts/test-build.sh | 4 + 19 files changed, 2364 insertions(+), 43 deletions(-) create mode 100644 app/test/test_cryptodev_kasumi_hash_test_vectors.h create mode 100644 app/test/test_cryptodev_kasumi_test_vectors.h create mode 100644 drivers/crypto/kasumi/Makefile create mode 100644 drivers/crypto/kasumi/rte_kasumi_pmd.c create mode 100644 drivers/crypto/kasumi/rte_kasumi_pmd_ops.c create mode 100644 drivers/crypto/kasumi/rte_kasumi_pmd_private.h create mode 100644 drivers/crypto/kasumi/rte_pmd_kasumi_version.map -- 2.5.0