From mboxrd@z Thu Jan 1 00:00:00 1970 From: Piotr Azarewicz Subject: [PATCH v6 0/2] crypto/aesni_gcm: migration from MB library to ISA-L Date: Tue, 17 Jan 2017 12:19:17 +0100 Message-ID: <1484651959-9527-1-git-send-email-piotrx.t.azarewicz@intel.com> References: <1484570243-218696-1-git-send-email-piotrx.t.azarewicz@intel.com> To: pablo.de.lara.guarch@intel.com, dev@dpdk.org Return-path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id E8D9F1094 for ; Tue, 17 Jan 2017 12:23:56 +0100 (CET) In-Reply-To: <1484570243-218696-1-git-send-email-piotrx.t.azarewicz@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Current Cryptodev AES-NI GCM PMD is implemented using Multi Buffer Crypto library.This patch reimplement the device using ISA-L Crypto library: https://github.com/01org/isa-l_crypto. The migration entailed the following additional support for: * GMAC algorithm. * 256-bit cipher key. * Session-less mode. * Out-of place processing * Scatter-gatter support for chained mbufs (only out-of place and destination mbuf must be contiguous) Verified current unit tests and added new unit tests to verify new functionalities. Signed-off-by: Piotr Azarewicz Acked-by: Declan Doherty v6 changes: - rebase on top of dpdk-next-crypto - split driver implementation and tests v5 changes: - rebase on top of dpdk-next-crypto - remove the perftest output from commit message - correction in aesni_gcm.rst - fix typo v4 changes: - rebase on top of dpdk-next-crypto - update the script test-build.sh v3 changes: - rebase on top of dpdk-next-crypto v2 changes: - implement native scatter-gatter support for chained mbufs (only out-of place and destination mbuf must be contiguous) - write unit test for session-less mode - write unit test for out-of place processing - add support for GMAC authentication algorithm Piotr Azarewicz (2): crypto/aesni_gcm: migration from MB library to ISA-L app/test: add GCM additional tests app/test/test_cryptodev.c | 753 +++++++++++++++++++--- app/test/test_cryptodev_gcm_test_vectors.h | 491 +++++++++++++- devtools/test-build.sh | 4 +- doc/guides/cryptodevs/aesni_gcm.rst | 24 +- doc/guides/rel_notes/release_17_02.rst | 12 + drivers/crypto/aesni_gcm/Makefile | 8 +- drivers/crypto/aesni_gcm/aesni_gcm_ops.h | 95 +-- drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 320 +++++---- drivers/crypto/aesni_gcm/aesni_gcm_pmd_ops.c | 49 +- drivers/crypto/aesni_gcm/aesni_gcm_pmd_private.h | 15 +- mk/rte.app.mk | 3 +- 11 files changed, 1361 insertions(+), 413 deletions(-) -- 1.7.9.5