From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 5118FCCAA for ; Fri, 17 Jun 2016 12:30:32 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 17 Jun 2016 03:30:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,483,1459839600"; d="scan'208";a="1004109446" Received: from sie-lab-212-116.ir.intel.com (HELO silpixa00378492.ir.intel.com) ([10.237.212.116]) by fmsmga002.fm.intel.com with ESMTP; 17 Jun 2016 03:30:29 -0700 From: Pablo de Lara To: dev@dpdk.org Cc: declan.doherty@intel.com, Pablo de Lara Date: Fri, 17 Jun 2016 11:32:42 +0100 Message-Id: <1466159565-27950-1-git-send-email-pablo.de.lara.guarch@intel.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1462541340-11839-1-git-send-email-pablo.de.lara.guarch@intel.com> References: <1462541340-11839-1-git-send-email-pablo.de.lara.guarch@intel.com> Subject: [dpdk-dev] [PATCH v2 0/3] Add new KASUMI 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: Fri, 17 Jun 2016 10:30:32 -0000 Added new SW PMD which makes use of the libsso SW library, which provides wireless algorithms KASUMI F8 and F9 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_KASUMI_F8 - RTE_CRYPTO_SYM_AUTH_KASUMI_F9 The patchset also adds new macros to compare buffers at bit-level, since the PMD supports bit-level hash/cipher operations, and unit tests. The patchset should be merged after the following patches/patchsets, as they are making changes in some of the files of this patchset: - rework crypto AES unit test ("http://dpdk.org/ml/archives/dev/2016-June/041572.html") - Refactor of debug information on cryptodev tests ("http://dpdk.org/ml/archives/dev/2016-June/041623.html") - doc: fix wrong supported feature table ("http://dpdk.org/dev/patchwork/patch/13413/") NOTE: The library necessary for this PMD is not available yet, but it will be released in the next few days. Changes in v2: - Fixed key length - Refactored enqueue burst function to avoid duplication - Added CPU flags in crypto feature flags - Added extra unit tets - Added documentation - Merged last patch in v1 into the first patch - Added new driver in MAINTAINERS Pablo de Lara (3): kasumi: add new KASUMI PMD test: add new buffer comparison macros test: add unit tests for KASUMI PMD MAINTAINERS | 5 + app/test/test.h | 57 +- app/test/test_cryptodev.c | 995 +++++++++++++++++++-- app/test/test_cryptodev.h | 1 + app/test/test_cryptodev_kasumi_hash_test_vectors.h | 260 ++++++ app/test/test_cryptodev_kasumi_test_vectors.h | 308 +++++++ config/common_base | 6 + config/defconfig_i686-native-linuxapp-gcc | 5 + config/defconfig_i686-native-linuxapp-icc | 5 + doc/guides/cryptodevs/index.rst | 3 +- doc/guides/cryptodevs/kasumi.rst | 97 ++ doc/guides/cryptodevs/overview.rst | 79 +- doc/guides/rel_notes/release_16_07.rst | 5 + drivers/crypto/Makefile | 1 + drivers/crypto/kasumi/Makefile | 64 ++ drivers/crypto/kasumi/rte_kasumi_pmd.c | 658 ++++++++++++++ drivers/crypto/kasumi/rte_kasumi_pmd_ops.c | 344 +++++++ drivers/crypto/kasumi/rte_kasumi_pmd_private.h | 106 +++ drivers/crypto/kasumi/rte_pmd_kasumi_version.map | 3 + examples/l2fwd-crypto/main.c | 10 +- lib/librte_cryptodev/rte_crypto_sym.h | 6 +- lib/librte_cryptodev/rte_cryptodev.h | 3 + mk/rte.app.mk | 2 + scripts/test-build.sh | 4 + 24 files changed, 2893 insertions(+), 134 deletions(-) create mode 100644 app/test/test_cryptodev_kasumi_hash_test_vectors.h create mode 100644 app/test/test_cryptodev_kasumi_test_vectors.h create mode 100644 doc/guides/cryptodevs/kasumi.rst create mode 100644 drivers/crypto/kasumi/Makefile create mode 100644 drivers/crypto/kasumi/rte_kasumi_pmd.c create mode 100644 drivers/crypto/kasumi/rte_kasumi_pmd_ops.c create mode 100644 drivers/crypto/kasumi/rte_kasumi_pmd_private.h create mode 100644 drivers/crypto/kasumi/rte_pmd_kasumi_version.map -- 2.5.0