From mboxrd@z Thu Jan 1 00:00:00 1970 From: Slawomir Mrozowicz Subject: [PATCH v3 0/3] new crypto software based device Date: Thu, 29 Sep 2016 16:14:22 +0200 Message-ID: <1475158465-28970-1-git-send-email-slawomirx.mrozowicz@intel.com> References: <1474275582-6108-1-git-send-email-michalx.k.jastrzebski@intel.com> Cc: Slawomir Mrozowicz To: dev@dpdk.org Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id F3EFD5595 for ; Thu, 29 Sep 2016 14:17:03 +0200 (CEST) In-Reply-To: <1474275582-6108-1-git-send-email-michalx.k.jastrzebski@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This code provides the initial implementation of the libcrypto poll mode driver. All cryptography operations are using Openssl library crypto API. Each algorithm uses EVP_ interface from openssl API - which is recommended by Openssl maintainers. For more information about how to use this driver, go to: doc/guides/cryptodevs/libcrypto.rst Changes in V3: - add nagative verification tests - add big data test - fix pmd according to negative verification tests - change gmac aad max size - update documentation and commits comments Changes in V2: - add gcm/gmac algorithm correction - unit test rework This patch-set depends on the following patches: http://dpdk.org/dev/patchwork/patch/15166/ http://dpdk.org/dev/patchwork/patch/15227/ http://dpdk.org/dev/patchwork/patch/15229/ http://dpdk.org/dev/patchwork/patch/15231/ http://dpdk.org/dev/patchwork/patch/15321/ http://dpdk.org/dev/patchwork/patch/15323/ http://dpdk.org/dev/patchwork/patch/15317/ http://dpdk.org/dev/patchwork/patch/15318/ http://dpdk.org/dev/patchwork/patch/15327/ Slawomir Mrozowicz (1): libcrypto_pmd: initial implementation of SW crypto device Piotr Azarewicz (1) app/test: added tests for libcrypto PMD Daniel Mrzyglod (1) examples/l2fwd-crypto: updated example for libcrypto PMD MAINTAINERS | 4 + app/test/Makefile | 2 +- app/test/test_cryptodev.c | 1579 +++- app/test/test_cryptodev.h | 1 + app/test/test_cryptodev_aes.c | 687 -- app/test/test_cryptodev_aes.h | 1124 --- app/test/test_cryptodev_aes_test_vectors.h | 1095 +++ app/test/test_cryptodev_blockcipher.c | 531 ++ app/test/test_cryptodev_blockcipher.h | 125 + app/test/test_cryptodev_des_test_vectors.h | 952 +++ app/test/test_cryptodev_gcm_test_vectors.h | 8247 +++++++++++++++++++- app/test/test_cryptodev_hash_test_vectors.h | 491 ++ app/test/test_cryptodev_perf.c | 684 +- config/common_base | 6 + doc/guides/cryptodevs/index.rst | 1 + doc/guides/cryptodevs/libcrypto.rst | 116 + doc/guides/rel_notes/release_16_11.rst | 23 +- drivers/crypto/Makefile | 1 + drivers/crypto/libcrypto/Makefile | 60 + drivers/crypto/libcrypto/rte_libcrypto_pmd.c | 1051 +++ drivers/crypto/libcrypto/rte_libcrypto_pmd_ops.c | 708 ++ .../crypto/libcrypto/rte_libcrypto_pmd_private.h | 174 + .../crypto/libcrypto/rte_pmd_libcrypto_version.map | 3 + examples/l2fwd-crypto/main.c | 11 + lib/librte_cryptodev/rte_cryptodev.h | 3 + mk/rte.app.mk | 19 +- 26 files changed, 15738 insertions(+), 1960 deletions(-) delete mode 100644 app/test/test_cryptodev_aes.c delete mode 100644 app/test/test_cryptodev_aes.h create mode 100644 app/test/test_cryptodev_aes_test_vectors.h create mode 100644 app/test/test_cryptodev_blockcipher.c create mode 100644 app/test/test_cryptodev_blockcipher.h create mode 100644 app/test/test_cryptodev_des_test_vectors.h create mode 100644 app/test/test_cryptodev_hash_test_vectors.h create mode 100644 doc/guides/cryptodevs/libcrypto.rst create mode 100644 drivers/crypto/libcrypto/Makefile create mode 100644 drivers/crypto/libcrypto/rte_libcrypto_pmd.c create mode 100644 drivers/crypto/libcrypto/rte_libcrypto_pmd_ops.c create mode 100644 drivers/crypto/libcrypto/rte_libcrypto_pmd_private.h create mode 100644 drivers/crypto/libcrypto/rte_pmd_libcrypto_version.map -- 2.5.0