From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 03E5411C5 for ; Fri, 18 Aug 2017 18:07:08 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Aug 2017 09:07:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,393,1498546800"; d="scan'208";a="1207260778" Received: from silpixa00399464.ir.intel.com (HELO silpixa00399464.ger.corp.intel.com) ([10.237.222.157]) by fmsmga002.fm.intel.com with ESMTP; 18 Aug 2017 09:07:06 -0700 From: Pablo de Lara To: declan.doherty@intel.com Cc: dev@dpdk.org, Pablo de Lara Date: Fri, 18 Aug 2017 09:07:23 +0100 Message-Id: <20170818080728.43248-1-pablo.de.lara.guarch@intel.com> X-Mailer: git-send-email 2.9.4 Subject: [dpdk-dev] [PATCH 0/4] 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: Fri, 18 Aug 2017 16:07:09 -0000 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