Based over the DPAA PMD driver [1], this series of patches introduces the DPAA_SEC PMD which provides DPDK crypto driver for NXP's DPAA CAAM Hardware accelerator.
SEC is NXP DPAA SoC's security engine for cryptographic acceleration and offloading. It implements block encryption, stream cipher, hashing and public key algorithms. It also supports run-time integrity checking, and a hardware random number generator. :: Patch Layout :: 0001 : Bus scan for dpaa sec device 0002 : Cryptodev PMD 0003 : Performance and Functional tests 0004 : Documentation :: Future Work To Do :: - More functionality and algorithms are still work in progress -- Hash followed by Cipher mode -- session-less API -- Chained mbufs Akhil Goyal (4): bus/dpaa: scan for DPAA Crypto devices crypto/dpaa_sec: add crypto driver for NXP DPAA platform test/crypto: add dpaa crypto test cases doc: add NXP DPAA SEC MAINTAINERS | 7 + config/common_base | 8 + config/defconfig_arm64-dpaa-linuxapp-gcc | 17 + doc/guides/cryptodevs/dpaa_sec.rst | 182 +++ doc/guides/cryptodevs/features/dpaa_sec.ini | 40 + doc/guides/cryptodevs/index.rst | 1 + doc/guides/rel_notes/release_17_11.rst | 6 + drivers/Makefile | 2 +- drivers/bus/dpaa/dpaa_bus.c | 51 + drivers/crypto/Makefile | 2 + drivers/crypto/dpaa_sec/Makefile | 71 + drivers/crypto/dpaa_sec/dpaa_sec.c | 1552 ++++++++++++++++++++ drivers/crypto/dpaa_sec/dpaa_sec.h | 403 +++++ drivers/crypto/dpaa_sec/dpaa_sec_log.h | 70 + .../crypto/dpaa_sec/rte_pmd_dpaa_sec_version.map | 4 + mk/rte.app.mk | 6 + test/test/test_cryptodev.c | 203 ++- test/test/test_cryptodev_aes_test_vectors.h | 78 +- test/test/test_cryptodev_blockcipher.c | 7 + test/test/test_cryptodev_blockcipher.h | 1 + test/test/test_cryptodev_des_test_vectors.h | 24 +- test/test/test_cryptodev_hash_test_vectors.h | 12 + test/test/test_cryptodev_perf.c | 37 +- 23 files changed, 2746 insertions(+), 38 deletions(-) create mode 100644 doc/guides/cryptodevs/dpaa_sec.rst create mode 100644 doc/guides/cryptodevs/features/dpaa_sec.ini create mode 100644 drivers/crypto/dpaa_sec/Makefile create mode 100644 drivers/crypto/dpaa_sec/dpaa_sec.c create mode 100644 drivers/crypto/dpaa_sec/dpaa_sec.h create mode 100644 drivers/crypto/dpaa_sec/dpaa_sec_log.h create mode 100644 drivers/crypto/dpaa_sec/rte_pmd_dpaa_sec_version.map -- 2.9.3