This patchset concentrates on updating crypto framework in linux-generic: - merge auth code to use common code paths for all HMAC auth algos;
- rework cipher code to use EVP API and common code for non-AEAD cipher algos; - implement HMAC-SHA-1 and HMAC-SHA-512 auth algos. This patchset targets api-next, because it implements sha-1/512 (and supporting those algorithms was one of main reasons for rewriting auth code). However the rest of the patchset should be applicable to master branch. Dmitry Eremin-Solenikov (8): validation: crypto: add tests for checking message digests validation: crypto: correct comment for HMAC-SHA-256 tests validation: crypto: add HMAC-SHA-1-96 test cases validation: crypto: add HMAC-SHA-512 test cases linux-generic: crypto: unify auth code linux-generic: crypto: switch to EVP interface for cipher algorithms linux-generic: crypto: add SHA-1 authentication support linux-generic: crypto: add HMAC-SHA-512 authentication support .../linux-generic/include/odp_crypto_internal.h | 28 +- platform/linux-generic/odp_crypto.c | 361 ++++++-------------- test/common_plat/validation/api/crypto/crypto.h | 12 +- .../validation/api/crypto/odp_crypto_test_inp.c | 368 ++++++++++++++++++++- .../validation/api/crypto/test_vectors.h | 94 ++++++ .../validation/api/crypto/test_vectors_len.h | 12 + 6 files changed, 566 insertions(+), 309 deletions(-) -- 2.11.0