The first patch is a cleanup suggested by Petri.
All the crypto enums are moved from linux-generic back to ODP API, and renamed
(odp_<enum>_t)
Following patches add support for the new HMAC function, then a validation test
and finally support in odp-ipsec
v2:
Correct test vectors to match the ones from RFC4868
Nicolas Morey-Chaisemartin (4):
crypto: move enums from platform types to odp and rename to fit the
API format
api: crypto: add HMAC-SHA-256-128 support
validation: crypto: add test for HMAC-SHA-256-128
example: ipsec: add support for HMAC-SHA-256-128
example/ipsec/odp_ipsec.c | 2 +-
example/ipsec/odp_ipsec_cache.c | 2 +-
example/ipsec/odp_ipsec_cache.h | 4 +-
example/ipsec/odp_ipsec_misc.h | 12 +-
example/ipsec/odp_ipsec_sa_db.c | 4 +
example/ipsec/odp_ipsec_stream.c | 3 +-
include/odp/api/crypto.h | 142 ++++++++++-----------
.../linux-generic/include/odp/plat/crypto_types.h | 42 ------
.../linux-generic/include/odp_crypto_internal.h | 16 ++-
platform/linux-generic/odp_crypto.c | 116 +++++++++++++++--
test/validation/crypto/crypto.h | 1 +
test/validation/crypto/odp_crypto_test_inp.c | 47 ++++++-
test/validation/crypto/test_vectors.h | 44 +++++++
test/validation/crypto/test_vectors_len.h | 6 +
14 files changed, 288 insertions(+), 153 deletions(-)
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp