summaryrefslogtreecommitdiff
path: root/CHANGES
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-01-14 10:59:11 +1000
committerPauli <paul.dale@oracle.com>2020-01-29 19:49:22 +1000
commita6d572e60120e0ffb42aece17a085f0fed1b8f6f (patch)
tree28d21a69624c86df7b1293115e26639c232c4384 /CHANGES
parent70a7685a3282d0501ab10b1556296ab7973a852e (diff)
downloadopenssl-new-a6d572e60120e0ffb42aece17a085f0fed1b8f6f.tar.gz
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)
Diffstat (limited to 'CHANGES')
-rw-r--r--CHANGES10
1 files changed, 10 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index d64163d4e0..fe99dec0e2 100644
--- a/CHANGES
+++ b/CHANGES
@@ -21,6 +21,15 @@
as well as words of caution.
[Richard Levitte]
+ *) All of the low level CMAC functions have been deprecated including:
+ CMAC_CTX_new, CMAC_CTX_cleanup, CMAC_CTX_free, CMAC_CTX_get0_cipher_ctx,
+ CMAC_CTX_copy, CMAC_Init, CMAC_Update, CMAC_Final and CMAC_resume.
+ Use of these low level functions has been informally discouraged for a long
+ time. Instead applications should use L<EVP_MAC_CTX_new(3)>,
+ L<EVP_MAC_CTX_free(3)>, L<EVP_MAC_init(3)>, L<EVP_MAC_update(3)>
+ and L<EVP_MAC_final(3)>.
+ [Paul Dale]
+
*) All of the low level MD2, MD4, MD5, MDC2, RIPEMD160, SHA1, SHA224, SHA256,
SHA384, SHA512 and Whirlpool digest functions have been deprecated.
These include:
@@ -35,6 +44,7 @@
SHA512, SHA512_Init, SHA512_Update, SHA512_Final, SHA512_Transform,
WHIRLPOOL, WHIRLPOOL_Init, WHIRLPOOL_Update, WHIRLPOOL_BitUpdate
and WHIRLPOOL_Final.
+
Use of these low level functions has been informally discouraged for a long
time. Instead applications should instead use the EVP_DigestInit_ex,
EVP_DigestUpdate(3) and EVP_DigestFinal_ex(3) functions.