Deprecate the low level HMAC functions
authorPauli <paul.dale@oracle.com>
Tue, 14 Jan 2020 02:11:50 +0000 (12:11 +1000)
committerPauli <paul.dale@oracle.com>
Wed, 29 Jan 2020 09:49:23 +0000 (19:49 +1000)
commitdbde4726889a19af0a718fe9c5542f39c81acbd3
tree371afa179289e0ba48e5a5c99520b139fd0f325f
parentfd4d283e7527cb711a4ff42d5ddcbc40828077f5
Deprecate the low level HMAC functions

Use of the low level HMAC functions has been informally discouraged for a
long time.  We now formally deprecate them.

Applications should instead use EVP_MAC_CTX_new(3), EVP_MAC_CTX_free(3),
EVP_MAC_init(3), EVP_MAC_update(3) and EVP_MAC_final(3).

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10836)
15 files changed:
CHANGES
apps/lib/s_cb.c
apps/speed.c
crypto/hmac/hm_ameth.c
crypto/hmac/hmac.c
crypto/pkcs12/p12_mutl.c
crypto/rand/drbg_hmac.c
doc/man3/HMAC.pod
include/openssl/hmac.h
providers/implementations/kdfs/hkdf.c
providers/implementations/kdfs/pbkdf2.c
providers/implementations/macs/hmac_prov.c
test/build.info
test/hmactest.c
util/libcrypto.num