Adapt diverse code to provider based MACs.
authorRichard Levitte <levitte@openssl.org>
Tue, 4 Jun 2019 16:00:04 +0000 (18:00 +0200)
committerRichard Levitte <levitte@openssl.org>
Thu, 15 Aug 2019 20:12:25 +0000 (22:12 +0200)
commit776796e81895fc66994a90bb62da4c7f50d34368
tree9f55862e592aa77676f81730432f21fb070fb989
parentd747fb2ec5ee964e8367e7baec8d499d4832def6
Adapt diverse code to provider based MACs.

CRMF, SSKDF, TLS1_PRF and SIV are affected by this.

This also forces the need to check MAC names, which leads to storing
the names in the created methods, which affects all EVP APIs, not just
EVP_MAC.  We will want that kind of information anyway (for example
for 'openssl list')...  Consequently, EVP_MAC_name() is re-implemented.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8877)
crypto/crmf/crmf_pbm.c
crypto/include/internal/modes_int.h
crypto/kdf/sskdf.c
crypto/kdf/tls1_prf.c
crypto/modes/siv128.c