AES-CCM support is added in the OpenSSL PMD. The PMD and the test code have been reworked, to avoid duplications with AES-GCM code, as both algorithms are quite similar (both are AEAD algorithms).
Also, an optimization for AES-GCM (and AES-CCM after the last patch) has been introduced, initializing the OpenSSL Context with the key, at session creation, instead of for each operation. Pablo de Lara (4): crypto/openssl: fix AEAD parameters crypto/openssl: init GCM key at session creation test/crypto: rename GCM test code crypto/openssl: add AES-CCM support doc/guides/cryptodevs/features/default.ini | 3 + doc/guides/cryptodevs/features/openssl.ini | 3 + doc/guides/cryptodevs/openssl.rst | 1 + doc/guides/rel_notes/release_17_11.rst | 6 + drivers/crypto/openssl/rte_openssl_pmd.c | 375 ++++++++++++++----- drivers/crypto/openssl/rte_openssl_pmd_ops.c | 30 ++ lib/librte_cryptodev/rte_crypto_sym.h | 9 +- test/test/test_cryptodev.c | 415 +++++++++++++-------- ...ectors.h => test_cryptodev_aead_test_vectors.h} | 251 ++++++++++--- test/test/test_cryptodev_perf.c | 2 +- 10 files changed, 799 insertions(+), 296 deletions(-) rename test/test/{test_cryptodev_gcm_test_vectors.h => test_cryptodev_aead_test_vectors.h} (95%) -- 2.9.4