From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id B7F722E83 for ; Thu, 21 Sep 2017 23:11:07 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Sep 2017 14:11:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,426,1500966000"; d="scan'208";a="902703045" Received: from silpixa00399464.ir.intel.com (HELO silpixa00399464.ger.corp.intel.com) ([10.237.222.157]) by FMSMGA003.fm.intel.com with ESMTP; 21 Sep 2017 14:11:05 -0700 From: Pablo de Lara To: declan.doherty@intel.com, fiona.trahe@intel.com, deepak.k.jain@intel.com, john.griffin@intel.com Cc: dev@dpdk.org, Pablo de Lara Date: Thu, 21 Sep 2017 14:11:13 +0100 Message-Id: <20170921131123.16513-1-pablo.de.lara.guarch@intel.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170818080728.43248-1-pablo.de.lara.guarch@intel.com> References: <20170818080728.43248-1-pablo.de.lara.guarch@intel.com> Subject: [dpdk-dev] [PATCH v2 0/9] Add support for AES-CCM X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Sep 2017 21:11:08 -0000 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