This patchset updates dpaa2_sec crypto driver with following: - optimization in data path for memory allocation - add support for additional AES algorithms like AES-GCM and AES-CTR - Update test cases in test_cryptodev for all the supported test cases. - Update documentation for supported algorithms
The patches are based on dpdk-crypto-next and are rebased over the latest crypto restructuring changes by Pablo. http://dpdk.org/ml/archives/dev/2017-July/069743.html changes in v3: -rebased over http://dpdk.org/ml/archives/dev/2017-July/069743.html -fixed check-git-log errors. -merged last two patches as per the suggestions from Pablo -split first patch to avoid git-log error. changes in v2: -fixed typo in doc -split 2nd patch in two -squashed documentation patch in 4th patch -fixed checkpatch errors/warnings Akhil Goyal (5): bus/fslmc: add macros to get/set fle context crypto/dpaa2_sec: add per dev mempool to store fle crypto/dpaa2_sec: add HW desc support for ctr crypto/dpaa2_sec: add HW desc support for aes-gcm crypto/dpaa2_sec: add support for aes-gcm and ctr doc/guides/cryptodevs/dpaa2_sec.rst | 9 +- doc/guides/cryptodevs/features/dpaa2_sec.ini | 8 +- doc/guides/rel_notes/release_17_08.rst | 4 + drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 7 + drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 385 ++++++++++++++++++++++++--- drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 100 ++++--- drivers/crypto/dpaa2_sec/hw/desc/algo.h | 228 +++++++++++++++- drivers/crypto/dpaa2_sec/hw/desc/ipsec.h | 19 +- test/test/test_cryptodev.c | 94 ++++++- test/test/test_cryptodev_aes_test_vectors.h | 78 ++++-- test/test/test_cryptodev_blockcipher.c | 1 + test/test/test_cryptodev_des_test_vectors.h | 24 +- test/test/test_cryptodev_hash_test_vectors.h | 36 ++- 13 files changed, 854 insertions(+), 139 deletions(-) -- 2.9.3