From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id A11793238 for ; Mon, 19 Sep 2016 11:01:14 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP; 19 Sep 2016 02:01:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,361,1470726000"; d="scan'208";a="1042517855" Received: from unknown (HELO Sent) ([10.103.103.196]) by fmsmga001.fm.intel.com with SMTP; 19 Sep 2016 02:01:11 -0700 Received: by Sent (sSMTP sendmail emulation); Mon, 19 Sep 2016 10:59:46 +0200 From: Michal Jastrzebski To: dev@dpdk.org Cc: pablo.de.lara.guarch@intel.com, Marcin Kerlin Date: Mon, 19 Sep 2016 10:59:38 +0200 Message-Id: <1474275582-6108-1-git-send-email-michalx.k.jastrzebski@intel.com> X-Mailer: git-send-email 2.7.0 Subject: [dpdk-dev] [PATCH v2 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: Mon, 19 Sep 2016 09:01:15 -0000 From: Marcin Kerlin 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 V2: - add gcm/gmac algorithm correction - unit test rework This patch-set depends on the following patches: http://dpdk.org/dev/patchwork/patch/15326/ http://dpdk.org/dev/patchwork/patch/15327/ http://dpdk.org/dev/patchwork/patch/15328/ Slawomir Mrozowicz (2): libcrypto_pmd: initial implementation of SW crypto device lib/cryptodev: added support to libcrypto PMD 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 | 690 +++++++++++- 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_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 | 113 ++ doc/guides/rel_notes/release_16_11.rst | 5 +- drivers/crypto/Makefile | 1 + drivers/crypto/libcrypto/Makefile | 60 ++ drivers/crypto/libcrypto/rte_libcrypto_pmd.c | 1045 ++++++++++++++++++ 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 | 3 +- 25 files changed, 6666 insertions(+), 1853 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 -- 1.9.1