> -----Original Message----- > From: De Lara Guarch, Pablo > Sent: Thursday, September 21, 2017 2:11 PM > To: Doherty, Declan <declan.dohe...@intel.com>; Trahe, Fiona > <fiona.tr...@intel.com>; Jain, Deepak K <deepak.k.j...@intel.com>; > Griffin, John <john.grif...@intel.com> > Cc: dev@dpdk.org; De Lara Guarch, Pablo > <pablo.de.lara.gua...@intel.com> > Subject: [PATCH v2 0/9] Add support for AES-CCM > > AES-CCM support is added in the OpenSSL and QAT PMDs. > The PMDs 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. > > Changes in v2: > - Clarified API for AES-CCM > - Modified OpenSSL PMD and sample apps to comply with API > - Added support for AES-CCM in QAT > - Extended test cases for 192 and 256 bit keys > > Arek Kusztal (1): > crypto/qat: add AES-CCM support > > Pablo de Lara (8): > cryptodev: clarify API for AES-CCM > examples/l2fwd-crypto: add AES-CCM support > app/crypto-perf: add AES-CCM support > crypto/openssl: fix AEAD parameters > crypto/openssl: init GCM key at session creation > crypto/openssl: add AES-CCM support > test/crypto: rename GCM test code > test/crypto: add AES-CCM tests > > app/test-crypto-perf/cperf_ops.c | 21 +- > app/test-crypto-perf/cperf_test_latency.c | 34 +- > app/test-crypto-perf/cperf_test_throughput.c | 34 +- > app/test-crypto-perf/cperf_test_verify.c | 35 +- > 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 ++ > drivers/crypto/qat/qat_adf/icp_qat_hw.h | 20 + > drivers/crypto/qat/qat_adf/qat_algs_build_desc.c | 28 ++ > drivers/crypto/qat/qat_crypto.c | 169 ++++++- > drivers/crypto/qat/qat_crypto_capabilities.h | 30 ++ > examples/l2fwd-crypto/main.c | 44 +- > lib/librte_cryptodev/rte_crypto_sym.h | 34 +- > test/test/test_cryptodev.c | 535 > +++++++++++++++------ > ...ectors.h => test_cryptodev_aead_test_vectors.h} | 516 > ++++++++++++++++++-- > test/test/test_cryptodev_perf.c | 2 +- > 19 files changed, 1570 insertions(+), 350 deletions(-) rename > test/test/{test_cryptodev_gcm_test_vectors.h => > test_cryptodev_aead_test_vectors.h} (92%) > > -- > 2.9.4
Applied to dpdk-next-crypto. Thanks, Pablo