Add quick one-shot EVP_Q_mac() and deprecation compensation decls for MAC functions
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Mon, 29 Mar 2021 17:42:33 +0000 (19:42 +0200)
committerDr. David von Oheimb <David.von.Oheimb@siemens.com>
Sat, 8 May 2021 12:35:03 +0000 (14:35 +0200)
commit0a8a6afdfb71e42962921980b51942cea8632697
tree745f3e64cca2a9993fc2548f0a80a20dca231bcb
parentbea31afef013aaf5638e96e9bed1b633c510d50d
Add quick one-shot EVP_Q_mac() and deprecation compensation decls for MAC functions

This helps compensating for deprecated functions such as HMAC()
and reduces clutter in the crypto lib, apps, and tests.
Also fixes memory leaks in generate_cookie_callback() of apps/lib/s_cb.c.
and replaces 'B<...>' by 'I<...>' where appropriate in HMAC.pod

Partially fixes #14628.

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14664)
15 files changed:
CHANGES.md
apps/lib/s_cb.c
crypto/crmf/crmf_pbm.c
crypto/evp/mac_lib.c
crypto/hmac/hmac.c
doc/man3/EVP_MAC.pod
doc/man3/HMAC.pod
include/openssl/evp.h
include/openssl/hmac.h
providers/fips-sources.checksums
providers/fips.checksum
providers/implementations/kdfs/hkdf.c
ssl/tls13_enc.c
test/hmactest.c
util/libcrypto.num