From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 2BD1D58D6 for ; Fri, 26 Aug 2016 09:24:26 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP; 26 Aug 2016 00:24:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,580,1464678000"; d="scan'208";a="1020612142" Received: from gklab-246-023.igk.intel.com (HELO Sent) ([10.217.246.23]) by orsmga001.jf.intel.com with SMTP; 26 Aug 2016 00:24:22 -0700 Received: by Sent (sSMTP sendmail emulation); Fri, 26 Aug 2016 09:22:00 +0200 From: Piotr Azarewicz To: declan.doherty@intel.com, dev@dpdk.org Cc: Marcin Kerlin Date: Fri, 26 Aug 2016 09:21:53 +0200 Message-Id: <1472196117-21750-1-git-send-email-piotrx.t.azarewicz@intel.com> X-Mailer: git-send-email 1.7.9.5 Subject: [dpdk-dev] [PATCH 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: Fri, 26 Aug 2016 07:24:26 -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 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 | 1 + app/test/test_cryptodev.c | 1245 +++++++++++++++- app/test/test_cryptodev.h | 24 + app/test/test_cryptodev_aes.c | 42 +- app/test/test_cryptodev_aes_test_vectors.h | 887 +++++++++++ app/test/test_cryptodev_des_test_vectors.h | 754 ++++++++++ app/test/test_cryptodev_hash_test_vectors.h | 439 ++++++ app/test/test_cryptodev_kasumi_test_vectors.h | 12 +- app/test/test_cryptodev_operations.c | 1576 ++++++++++++++++++++ app/test/test_cryptodev_operations.h | 141 ++ app/test/test_cryptodev_perf.c | 699 ++++++++- config/common_base | 6 + doc/guides/cryptodevs/index.rst | 1 + doc/guides/cryptodevs/libcrypto.rst | 109 ++ drivers/crypto/Makefile | 1 + drivers/crypto/libcrypto/Makefile | 60 + drivers/crypto/libcrypto/rte_libcrypto_pmd.c | 936 ++++++++++++ drivers/crypto/libcrypto/rte_libcrypto_pmd_ops.c | 638 ++++++++ .../crypto/libcrypto/rte_libcrypto_pmd_private.h | 189 +++ .../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 +- 24 files changed, 7688 insertions(+), 96 deletions(-) create mode 100644 app/test/test_cryptodev_aes_test_vectors.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 app/test/test_cryptodev_operations.c create mode 100644 app/test/test_cryptodev_operations.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