Implement key management for the EVP_PKEY MAC to EVP_MAC provider bridge
authorMatt Caswell <matt@openssl.org>
Fri, 7 Aug 2020 15:40:25 +0000 (16:40 +0100)
committerPauli <paul.dale@oracle.com>
Sat, 29 Aug 2020 07:39:37 +0000 (17:39 +1000)
commite538294f8f9b522279e523ebf6804ed4cb721b80
tree4338aa6523f15f187c33d6ce994f7ae6cb08e1e5
parentbddfea0271d0596961a43283b36ff49923329a92
Implement key management for the EVP_PKEY MAC to EVP_MAC provider bridge

Some MAC implementations were available before the current EVP_MAC API. They
were used via EVP_DigestSign*. There exists a bridge between the old API and
the EVP_MAC API however this bridge itself uses a legacy EVP_PKEY_METHOD.
This commit implements the key management for provider side bridge without
having to useany legacy code.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12637)
providers/implementations/include/prov/implementations.h
providers/implementations/include/prov/macsignature.h [new file with mode: 0644]
providers/implementations/keymgmt/build.info
providers/implementations/keymgmt/mac_legacy_kmgmt.c [new file with mode: 0644]