Deprecate the low level CMAC functions
authorPauli <paul.dale@oracle.com>
Tue, 14 Jan 2020 00:59:11 +0000 (10:59 +1000)
committerPauli <paul.dale@oracle.com>
Wed, 29 Jan 2020 09:49:22 +0000 (19:49 +1000)
commita6d572e60120e0ffb42aece17a085f0fed1b8f6f
tree28d21a69624c86df7b1293115e26639c232c4384
parent70a7685a3282d0501ab10b1556296ab7973a852e
Deprecate the low level CMAC functions

Use of the low level CMAC 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)
CHANGES
apps/speed.c
crypto/cmac/cm_ameth.c
crypto/cmac/cmac.c
include/openssl/cmac.h
providers/implementations/macs/cmac_prov.c
util/libcrypto.num