The underlying library libsso for Snow3G PMD will be updated, to support bit-level operations.
This patchset updates the PMD to allow the user to perform crypto operation at bit-level. It also add some unit tests and updates the documentation. This patchset depends on the following patchset: "Add new KASUMI SW PMD" (http://dpdk.org/ml/archives/dev/2016-June/041906.html) NOTE: The library necessary for this PMD is not available yet, but it will be released in the next few days. Changes in v2: - Include macros for IV/digest lengths - Refactored enqueue burst function to avoid duplication - Added cpu flags in crypto feature flags - Removed/refactored functions in unit tests Changes in v3: - Disabled SNOW3G/KASUMI PMD by default (enabled by mistake in v2) - Fixed clang issue on v2 Pablo de Lara (11): snow3g: rename libsso reference due to library update doc: update build instructions for libsso_snow3g snow3g: define IV/digest length macros snow3g: support bit-level operations snow3g: add missing feature flags test: use new bit-level memcmp macro test: fix buffer lengths for snow3G tests test: add out-of-place crypto op tests for Snow3G PMD test: add bit-level Snow3G UIA2 tests test: add Snow3G UEA2 test with offset test: refactor snow3g/kasumi tests app/test/test_cryptodev.c | 803 ++++++++++----------- app/test/test_cryptodev_snow3g_hash_test_vectors.h | 107 +++ doc/guides/cryptodevs/snow3g.rst | 40 +- drivers/crypto/snow3g/Makefile | 10 +- drivers/crypto/snow3g/rte_snow3g_pmd.c | 214 ++++-- mk/rte.app.mk | 2 +- scripts/test-build.sh | 6 +- 7 files changed, 673 insertions(+), 509 deletions(-) -- 2.5.0