From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 024DE2B97 for ; Thu, 29 Sep 2016 04:58:40 +0200 (CEST) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP; 28 Sep 2016 19:58:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,413,1470726000"; d="scan'208";a="14358383" Received: from sie-lab-214-036.ir.intel.com (HELO silpixa00394365.ir.intel.com) ([10.237.214.36]) by fmsmga006.fm.intel.com with ESMTP; 28 Sep 2016 19:58:38 -0700 From: Pablo de Lara To: dev@dpdk.org Cc: declan.doherty@intel.com, Pablo de Lara Date: Thu, 29 Sep 2016 03:59:46 +0100 Message-Id: <1475117990-66664-1-git-send-email-pablo.de.lara.guarch@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1472180955-42960-1-git-send-email-pablo.de.lara.guarch@intel.com> References: <1472180955-42960-1-git-send-email-pablo.de.lara.guarch@intel.com> Subject: [dpdk-dev] [PATCH v2 0/4] Add new ZUC SW PMD 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: Thu, 29 Sep 2016 02:58:41 -0000 Added new SW PMD which makes use of the libsso SW library, which provides wireless algorithms ZUC EEA3 and EIA3 in software. This PMD supports cipher-only, hash-only and chained operations ("cipher then hash" and "hash then cipher") of the following algorithms: - RTE_CRYPTO_SYM_CIPHER_ZUC_EEA3 - RTE_CRYPTO_SYM_AUTH_ZUC_EIA3 The patchset also adds unit tests for this new PMD and rename some common functions in the test application, as they are used by all the wireless algorithms. Changes in v2: - Added documentation - Fixed icc issue - Rebased against latest dpdk-next-crypto - Added support for ZUC EEA3 and EIA3 in l2fwd-crypto Pablo de Lara (4): crypto/zuc: add driver for ZUC library app/test: rename some functions app/test: add test cases for ZUC PMD examples/l2fwd-crypto: enable ZUC EEA3 and EIA3 algos MAINTAINERS | 5 + app/test/test_cryptodev.c | 331 ++++++++++++-- app/test/test_cryptodev_zuc_hash_test_vectors.h | 359 +++++++++++++++ app/test/test_cryptodev_zuc_test_vectors.h | 582 ++++++++++++++++++++++++ config/common_base | 6 + config/defconfig_i686-native-linuxapp-gcc | 5 + config/defconfig_i686-native-linuxapp-icc | 5 + doc/guides/cryptodevs/index.rst | 1 + doc/guides/cryptodevs/zuc.rst | 108 +++++ drivers/crypto/Makefile | 1 + drivers/crypto/zuc/Makefile | 69 +++ drivers/crypto/zuc/rte_pmd_zuc_version.map | 3 + drivers/crypto/zuc/rte_zuc_pmd.c | 551 ++++++++++++++++++++++ drivers/crypto/zuc/rte_zuc_pmd_ops.c | 342 ++++++++++++++ drivers/crypto/zuc/rte_zuc_pmd_private.h | 108 +++++ examples/l2fwd-crypto/main.c | 12 +- lib/librte_cryptodev/rte_crypto_sym.h | 20 +- lib/librte_cryptodev/rte_cryptodev.h | 3 + mk/rte.app.mk | 2 + scripts/test-build.sh | 4 + 20 files changed, 2462 insertions(+), 55 deletions(-) create mode 100644 app/test/test_cryptodev_zuc_hash_test_vectors.h create mode 100644 app/test/test_cryptodev_zuc_test_vectors.h create mode 100644 doc/guides/cryptodevs/zuc.rst create mode 100644 drivers/crypto/zuc/Makefile create mode 100644 drivers/crypto/zuc/rte_pmd_zuc_version.map create mode 100644 drivers/crypto/zuc/rte_zuc_pmd.c create mode 100644 drivers/crypto/zuc/rte_zuc_pmd_ops.c create mode 100644 drivers/crypto/zuc/rte_zuc_pmd_private.h -- 2.7.4