Deprecate EVP_KEY_new_CMAC_key and EVP_PKEY_new_CMAC_key_ex
authorRich Salz <rsalz@akamai.com>
Tue, 8 Dec 2020 15:13:54 +0000 (10:13 -0500)
committerRichard Levitte <levitte@openssl.org>
Thu, 21 Jan 2021 11:08:46 +0000 (12:08 +0100)
commita3d267f18492a1e874534d5af6072bc8b7a290e5
treec52694a08afe3ee51be563a2ebb6118acf63d44f
parent3aa7212e0a4fd1533c8a28b8587dd8b022f3a66f
Deprecate EVP_KEY_new_CMAC_key and EVP_PKEY_new_CMAC_key_ex

EVP_KEY_new_CMAC_key_ex was in the pre-release 3.0 only, so is safe
to remove.
Restore 1.1.1 version of EVP_PKEY_new_CMAC_key documentation.
Also make testing of EVP_PKEY_new_CMAC_key properly #ifdef'd.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13829)
crypto/evp/p_lib.c
doc/man3/EVP_PKEY_new.pod
include/openssl/evp.h
test/evp_extra_test.c
test/evp_test.c
util/libcrypto.num