From: Pablo de Lara <pablo.de.lara.guarch@intel.com>
To: dev@dpdk.org
Cc: declan.doherty@intel.com, Pablo de Lara <pablo.de.lara.guarch@intel.com>
Subject: [dpdk-dev] [PATCH v2 0/3] Add new KASUMI SW PMD
Date: Fri, 17 Jun 2016 11:32:42 +0100 [thread overview]
Message-ID: <1466159565-27950-1-git-send-email-pablo.de.lara.guarch@intel.com> (raw)
In-Reply-To: <1462541340-11839-1-git-send-email-pablo.de.lara.guarch@intel.com>
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
next parent reply other threads:[~2016-06-17 10:30 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1462541340-11839-1-git-send-email-pablo.de.lara.guarch@intel.com>
2016-06-17 10:32 ` Pablo de Lara [this message]
2016-06-17 10:32 ` [dpdk-dev] [PATCH v2 1/3] kasumi: add new KASUMI PMD Pablo de Lara
2016-06-17 10:32 ` [dpdk-dev] [PATCH v2 2/3] test: add new buffer comparison macros Pablo de Lara
2016-06-17 10:32 ` [dpdk-dev] [PATCH v2 3/3] test: add unit tests for KASUMI PMD Pablo de Lara
2016-06-17 13:39 ` [dpdk-dev] [PATCH v2 0/3] Add new KASUMI SW PMD Jain, Deepak K
2016-06-20 14:40 ` [dpdk-dev] [PATCH v3 " Pablo de Lara
2016-06-20 14:40 ` [dpdk-dev] [PATCH v3 1/3] kasumi: add new KASUMI PMD Pablo de Lara
2016-06-20 19:19 ` Thomas Monjalon
2016-06-20 19:48 ` Thomas Monjalon
2016-06-23 7:37 ` Chen, Zhaoyan
2016-07-06 11:26 ` Ferruh Yigit
2016-07-06 13:07 ` Thomas Monjalon
2016-07-06 13:22 ` De Lara Guarch, Pablo
2016-06-20 14:40 ` [dpdk-dev] [PATCH v3 2/3] test: add new buffer comparison macros Pablo de Lara
2016-06-20 14:40 ` [dpdk-dev] [PATCH v3 3/3] test: add unit tests for KASUMI PMD Pablo de Lara
2016-06-20 19:58 ` [dpdk-dev] [PATCH v3 0/3] Add new KASUMI SW PMD Thomas Monjalon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1466159565-27950-1-git-send-email-pablo.de.lara.guarch@intel.com \
--to=pablo.de.lara.guarch@intel.com \
--cc=declan.doherty@intel.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).