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 [email protected]
----------------github------------------------ /** Email created from pull request 51 (lumag:hmac-1.1.x) ** https://github.com/Linaro/odp/pull/51 ** Patch: https://github.com/Linaro/odp/pull/51.patch ** Base sha: 4f97e500a097928e308a415c32a88465adc5f5cc ** Merge commit sha: 31e0b980e18e6b8761600e5ab0f4aadbf88bdbac **/ ----------------/github------------------------ ----------------checkpatch.pl------------------------ CHECK: Avoid CamelCase: <HMAC_Init_ex> #47: FILE: platform/linux-generic/odp_crypto.c:142: + HMAC_Init_ex(ctx, CHECK: Avoid CamelCase: <HMAC_Update> #56: FILE: platform/linux-generic/odp_crypto.c:153: + HMAC_Update(ctx, mapaddr, maclen); CHECK: Avoid CamelCase: <HMAC_Final> #62: 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------------------------
