This is a cummulative patchset incorporating: - AAD/ auth_digest_len implementation - crypto engine working across packet segments - SHA-1/SHA-512 implementation - small fixes
GitHub bot did not send this serie for quite some time, so I'm sending it manually. On GitHub exactly the same patch serie is visible as PR #34. Dmitry Eremin-Solenikov (23): validation: crypto: explicitly pass auth_digest_len to crypto subsystem validation: crypto: explicitly pass AAD to crypto subsystem test: odp_crypto: update performance test to set auth_digest_length example: ipsec: set auth_digest_len linux-generic: crypto: use auth_digest_len when calculating HMACs linux-generic: crypto: add SHA* capabilities for full length digests linux-generic: crypto: update AES-GCM support to reflect aad and auth_digest_len linux-generic: crypto: remote extra memcpy in AES-GCM linux-generic: crypto: make AES-GCM thread safe linux-generic: crypto: explicitly disable padding for AES-GCM linux-generic: crypto: rewrite AES-CBC support using EVP functions linux-generic: crypto: rewrite 3DES-CBC support using EVP functions linux-generic: crypto: merge AES-CBC and 3DES-CBC support linux-generic: crypto: make HMAC work across segmented packets linux-generic: crypto: make en/decryption work across packet segments linux-generic: crypto: NULL session->next pointer on session allocation test: odp_crypto: bail out if odp_crypto_session_create failed crypto: linux-generic: add capabilities for CIPHER_NULL and AUTH_NULL validation: crypto: add tests for NULL cipher validation: crypto: add HMAC-SHA-1 test cases validation: crypto: add HMAC-SHA-512 test cases linux-generic: crypto: add SHA-1 authentication support linux-generic: crypto: add HMAC-SHA-512 authentication support example/ipsec/odp_ipsec_cache.c | 1 + .../linux-generic/include/odp_crypto_internal.h | 17 +- platform/linux-generic/odp_crypto.c | 628 +++++++++++---------- test/common_plat/performance/odp_crypto.c | 57 +- test/common_plat/validation/api/crypto/crypto.h | 8 +- .../validation/api/crypto/odp_crypto_test_inp.c | 417 ++++++++++++-- .../validation/api/crypto/test_vectors.h | 181 ++++-- .../validation/api/crypto/test_vectors_len.h | 18 +- 8 files changed, 870 insertions(+), 457 deletions(-) -- 2.11.0