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 And then same things for AES128
v3: * correct patch name * add AES128 CBC support v2: * Correct test vectors to match the ones from RFC4868 Jerome Reybert (1): crypto: add AES128-CBC encrypt/decrypt methods Nicolas Morey-Chaisemartin (5): api: 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 validation: crypto: add test for AES128 CBC 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 | 144 +++++++-------- .../linux-generic/include/odp/plat/crypto_types.h | 42 ----- .../linux-generic/include/odp_crypto_internal.h | 20 +- platform/linux-generic/odp_crypto.c | 205 +++++++++++++++++++-- test/validation/crypto/crypto.h | 5 + test/validation/crypto/odp_crypto_test_inp.c | 182 +++++++++++++++++- test/validation/crypto/test_vectors.h | 111 +++++++++++ test/validation/crypto/test_vectors_len.h | 10 + 14 files changed, 592 insertions(+), 154 deletions(-) _______________________________________________ lng-odp mailing list lng-odp@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lng-odp