From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 68F522BA1 for ; Tue, 4 Oct 2016 15:12:11 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 04 Oct 2016 06:11:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,295,1473145200"; d="scan'208";a="1040139437" Received: from gklab-246-019.igk.intel.com (HELO intel.com) ([10.217.246.19]) by orsmga001.jf.intel.com with SMTP; 04 Oct 2016 06:11:46 -0700 Received: by intel.com (sSMTP sendmail emulation); Tue, 04 Oct 2016 17:11:24 +0200 From: Slawomir Mrozowicz To: dev@dpdk.org Cc: Slawomir Mrozowicz Date: Tue, 4 Oct 2016 17:11:18 +0200 Message-Id: <1475593882-32364-1-git-send-email-slawomirx.mrozowicz@intel.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1475504792-31557-1-git-send-email-slawomirx.mrozowicz@intel.com> References: <1475504792-31557-1-git-send-email-slawomirx.mrozowicz@intel.com> Subject: [dpdk-dev] [PATCH v6 0/4] new crypto software based device X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Oct 2016 13:12:12 -0000 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 V6: - fix checkpatch warnings Changes in V5: - reduce source of big data test Changes in V4: - move aes test rework to another patch - move big data test to another patch - checking if libcrypto pmd is available 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 Slawomir Mrozowicz (1): libcrypto_pmd: initial implementation of SW crypto device Piotr Azarewicz (2) app/test: cryptodev AES tests rework 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 | 1584 ++++++++++++++++++-- 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 | 1097 ++++++++++++++ app/test/test_cryptodev_blockcipher.c | 538 +++++++ app/test/test_cryptodev_blockcipher.h | 125 ++ app/test/test_cryptodev_des_test_vectors.h | 955 ++++++++++++ app/test/test_cryptodev_gcm_test_vectors.h | 36 +- app/test/test_cryptodev_hash_test_vectors.h | 491 ++++++ app/test/test_cryptodev_perf.c | 712 ++++++++- 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 | 1062 +++++++++++++ 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 | 9 + lib/librte_cryptodev/rte_cryptodev.h | 5 +- mk/rte.app.mk | 23 +- 26 files changed, 7621 insertions(+), 1926 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