This patchset contains fixes and refactoring for Snow3G(UEA2 and UIA2) wireless algorithm for Intel Quick Assist devices.
QAT PMD previously supported only cipher/hash alg-chaining for AES/SHA. The code has been refactored to also support cipher-only and hash only (for Snow3G only) functionality along with alg-chaining. Changes from v1: 1) Hash only fix and alg chainging fix 2) Added hash test vectors for snow3g UIA2 functionality. This patchset depends on Cryptodev API changes http://dpdk.org/ml/archives/dev/2016-February/033551.html Deepak Kumar JAIN (3): crypto: add cipher/auth only support qat: add support for Snow3G app/test: add Snow3G tests app/test/test_cryptodev.c | 1037 +++++++++++++++++++- app/test/test_cryptodev.h | 3 +- app/test/test_cryptodev_snow3g_hash_test_vectors.h | 415 ++++++++ app/test/test_cryptodev_snow3g_test_vectors.h | 379 +++++++ doc/guides/cryptodevs/qat.rst | 8 +- doc/guides/rel_notes/release_16_04.rst | 4 + drivers/crypto/qat/qat_adf/qat_algs.h | 19 +- drivers/crypto/qat/qat_adf/qat_algs_build_desc.c | 280 +++++- drivers/crypto/qat/qat_crypto.c | 147 ++- drivers/crypto/qat/qat_crypto.h | 10 + 10 files changed, 2228 insertions(+), 74 deletions(-) create mode 100644 app/test/test_cryptodev_snow3g_hash_test_vectors.h create mode 100644 app/test/test_cryptodev_snow3g_test_vectors.h -- 2.1.0