]> git.ipfire.org Git - thirdparty/openssl.git/commit - crypto/evp/p_lib.c
Adapt other EVP code to use EVP_MAC instead of direct implementation calls
authorRichard Levitte <levitte@openssl.org>
Wed, 24 Oct 2018 19:40:00 +0000 (21:40 +0200)
committerRichard Levitte <levitte@openssl.org>
Tue, 30 Oct 2018 04:34:50 +0000 (05:34 +0100)
commitb8d77c9bd675b4128aeeafb4a738938460477a2e
tree853e3dda7e62a04095bbd43ad596322ef03d6665
parente74a435f58441c6f1f6b4558c762e17d0ab67b7f
Adapt other EVP code to use EVP_MAC instead of direct implementation calls

The EVP_PKEY methods for CMAC and HMAC needed a rework, although it
wasn't much change apart from name changes.

This also meant that EVP_PKEY_new_CMAC_key() needed an adjustment.
(the possibility to rewrite this function to work with any MAC is yet
to be explored)

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/7484)
crypto/cmac/cm_ameth.c
crypto/evp/p_lib.c