From c6fec81b88131d08c1022504ccf6effa95497afb Mon Sep 17 00:00:00 2001 From: Pauli Date: Thu, 16 Jan 2020 13:50:03 +1000 Subject: Deprecate the low level DES functions. Use of the low level DES functions has been informally discouraged for a long time. We now formally deprecate them. Applications should instead use the EVP APIs, e.g. EVP_EncryptInit_ex, EVP_EncryptUpdate, EVP_EncryptFinal_ex, and the equivalently named decrypt functions. Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/10858) --- doc/man3/DES_random_key.pod | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'doc/man3/DES_random_key.pod') diff --git a/doc/man3/DES_random_key.pod b/doc/man3/DES_random_key.pod index ab9543ae4f..775611a8ed 100644 --- a/doc/man3/DES_random_key.pod +++ b/doc/man3/DES_random_key.pod @@ -16,6 +16,10 @@ DES_fcrypt, DES_crypt - DES encryption #include +Deprecated since OpenSSL 3.0, can be hidden entirely by defining +B with a suitable version value, see +L: + void DES_random_key(DES_cblock *ret); int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule); @@ -94,6 +98,10 @@ DES_fcrypt, DES_crypt - DES encryption =head1 DESCRIPTION +All of the functions described on this page are deprecated. Applications should +instead use L, L and +L or the equivalently named decrypt functions. + This library contains a fast implementation of the DES encryption algorithm. @@ -302,6 +310,8 @@ L =head1 HISTORY +All of these functions were deprecated in OpenSSL 3.0. + The requirement that the B parameter to DES_crypt() and DES_fcrypt() be two ASCII characters was first enforced in OpenSSL 1.1.0. Previous versions tried to use the letter uppercase B @@ -310,7 +320,7 @@ on some platforms. =head1 COPYRIGHT -Copyright 2000-2019 The OpenSSL Project Authors. All Rights Reserved. +Copyright 2000-2020 The OpenSSL Project Authors. All Rights Reserved. Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy -- cgit v1.2.3