This is the second iteration of crypto framework update. As before 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.
Changes since v1: - Dropped iv copying for AES GCM case. It is unnecessary in case of using generic EVP API. - Fixed checkpatch warning. Note. Patches 5 and 6 still generate checkpatch warnings. However in case of patch 5 it seems like an error in checkpatch logic. Patch 6 triggers CamelCase warning due to odp_crypto using OpenSSL (which uses mixed case for function names). 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 | 30 +- platform/linux-generic/odp_crypto.c | 382 ++++++--------------- 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, 569 insertions(+), 329 deletions(-) -- 2.11.0
