OpenSSL 1.1.x has changed HMAC API in an incompatible way. Let's adapt to it by providing version-dependent wrapper around HMAC calculation. Signed-off-by: Dmitry Eremin-Solenikov dmitry.ereminsoleni...@linaro.org Reviewed-and-tested-by: Brian Brooks brian.bro...@arm.com
----------------github------------------------ /** Email created from pull request 56 (lumag:hmac-1.1.x-master) ** https://github.com/Linaro/odp/pull/56 ** Patch: https://github.com/Linaro/odp/pull/56.patch ** Base sha: 09a7800c4c4a093fb962e362952f9cf562d2fc98 ** Merge commit sha: 8e626d0ef78bad290c04f5e0258149b5bec62319 **/ ----------------/github------------------------ ----------------checkpatch.pl------------------------ CHECK: Avoid CamelCase: <HMAC_Init_ex> #48: FILE: platform/linux-generic/odp_crypto.c:142: + HMAC_Init_ex(ctx, CHECK: Avoid CamelCase: <HMAC_Update> #57: FILE: platform/linux-generic/odp_crypto.c:153: + HMAC_Update(ctx, mapaddr, maclen); CHECK: Avoid CamelCase: <HMAC_Final> #63: FILE: platform/linux-generic/odp_crypto.c:158: + HMAC_Final(ctx, hash, NULL); total: 0 errors, 0 warnings, 3 checks, 68 lines checked to_send-p-000.patch has style problems, please review. If any of these errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. ----------------/checkpatch.pl------------------------