diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2019-06-07 20:46:26 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2019-06-07 20:46:26 +0000 |
commit | f1ae0c70f34c330ea5a2b64c85c856ce33595305 (patch) | |
tree | a88a606f228cab879ec7a3fcb01663bc78d058d7 /lib/libcrypto | |
parent | 1c9e08c3bec2356d2c1be9d2eb3f2ae3c9e63aae (diff) |
Remove the last references to the RAND_*(3) functions.
These references were misleading because these functions are no
longer used internally and applications should not call them either.
Issue brought up by tb@.
Diffstat (limited to 'lib/libcrypto')
-rw-r--r-- | lib/libcrypto/man/BN_generate_prime.3 | 5 | ||||
-rw-r--r-- | lib/libcrypto/man/BN_rand.3 | 8 | ||||
-rw-r--r-- | lib/libcrypto/man/DH_generate_key.3 | 7 | ||||
-rw-r--r-- | lib/libcrypto/man/DH_generate_parameters.3 | 7 | ||||
-rw-r--r-- | lib/libcrypto/man/DSA_do_sign.3 | 7 | ||||
-rw-r--r-- | lib/libcrypto/man/DSA_generate_key.3 | 7 | ||||
-rw-r--r-- | lib/libcrypto/man/DSA_generate_parameters.3 | 7 | ||||
-rw-r--r-- | lib/libcrypto/man/DSA_sign.3 | 7 | ||||
-rw-r--r-- | lib/libcrypto/man/EVP_BytesToKey.3 | 7 | ||||
-rw-r--r-- | lib/libcrypto/man/EVP_OpenInit.3 | 7 | ||||
-rw-r--r-- | lib/libcrypto/man/EVP_SealInit.3 | 7 | ||||
-rw-r--r-- | lib/libcrypto/man/PKCS5_PBKDF2_HMAC.3 | 5 |
12 files changed, 34 insertions, 47 deletions
diff --git a/lib/libcrypto/man/BN_generate_prime.3 b/lib/libcrypto/man/BN_generate_prime.3 index c767a8643bc..ce73a0bbbab 100644 --- a/lib/libcrypto/man/BN_generate_prime.3 +++ b/lib/libcrypto/man/BN_generate_prime.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: BN_generate_prime.3,v 1.15 2018/12/21 19:30:19 schwarze Exp $ +.\" $OpenBSD: BN_generate_prime.3,v 1.16 2019/06/07 20:46:25 schwarze Exp $ .\" full merge up to: OpenSSL b3696a55 Sep 2 09:35:50 2017 -0400 .\" selective merge up to: OpenSSL df75c2bf Dec 9 01:02:36 2018 +0100 .\" @@ -51,7 +51,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: December 21 2018 $ +.Dd $Mdocdate: June 7 2019 $ .Dt BN_GENERATE_PRIME 3 .Os .Sh NAME @@ -384,7 +384,6 @@ The error codes can be obtained by .Xr DH_generate_parameters 3 , .Xr DSA_generate_parameters 3 , .Xr ERR_get_error 3 , -.Xr RAND_bytes 3 , .Xr RSA_generate_key 3 .Sh HISTORY .Fn BN_generate_prime diff --git a/lib/libcrypto/man/BN_rand.3 b/lib/libcrypto/man/BN_rand.3 index b5966bcfa23..f61616844ee 100644 --- a/lib/libcrypto/man/BN_rand.3 +++ b/lib/libcrypto/man/BN_rand.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: BN_rand.3,v 1.14 2018/12/24 10:07:22 schwarze Exp $ +.\" $OpenBSD: BN_rand.3,v 1.15 2019/06/07 20:46:25 schwarze Exp $ .\" full merge up to: OpenSSL 05ea606a May 20 20:52:46 2016 -0400 .\" selective merge up to: OpenSSL df75c2bf Dec 9 01:02:36 2018 +0100 .\" @@ -50,7 +50,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: December 24 2018 $ +.Dd $Mdocdate: June 7 2019 $ .Dt BN_RAND 3 .Os .Sh NAME @@ -121,9 +121,7 @@ The error codes can be obtained by .Xr ERR_get_error 3 . .Sh SEE ALSO .Xr BN_new 3 , -.Xr ERR_get_error 3 , -.Xr RAND_add 3 , -.Xr RAND_bytes 3 +.Xr ERR_get_error 3 .Sh HISTORY .Fn BN_rand first appeared in SSLeay 0.5.1 and has been available since diff --git a/lib/libcrypto/man/DH_generate_key.3 b/lib/libcrypto/man/DH_generate_key.3 index 2c44cf986fa..bf1afb74b30 100644 --- a/lib/libcrypto/man/DH_generate_key.3 +++ b/lib/libcrypto/man/DH_generate_key.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: DH_generate_key.3,v 1.9 2018/03/27 17:35:50 schwarze Exp $ +.\" $OpenBSD: DH_generate_key.3,v 1.10 2019/06/07 20:46:25 schwarze Exp $ .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 .\" .\" This file was written by Ulf Moeller <ulf@openssl.org>. @@ -48,7 +48,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: March 27 2018 $ +.Dd $Mdocdate: June 7 2019 $ .Dt DH_GENERATE_KEY 3 .Os .Sh NAME @@ -113,8 +113,7 @@ The error codes can be obtained by .Xr DH_get0_key 3 , .Xr DH_new 3 , .Xr DH_size 3 , -.Xr ERR_get_error 3 , -.Xr RAND_bytes 3 +.Xr ERR_get_error 3 .Sh HISTORY .Fn DH_generate_key and diff --git a/lib/libcrypto/man/DH_generate_parameters.3 b/lib/libcrypto/man/DH_generate_parameters.3 index 190ff098e08..68329c8b123 100644 --- a/lib/libcrypto/man/DH_generate_parameters.3 +++ b/lib/libcrypto/man/DH_generate_parameters.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: DH_generate_parameters.3,v 1.11 2018/03/27 17:35:50 schwarze Exp $ +.\" $OpenBSD: DH_generate_parameters.3,v 1.12 2019/06/07 20:46:25 schwarze Exp $ .\" OpenSSL 05ea606a May 20 20:52:46 2016 -0400 .\" .\" This file was written by Ulf Moeller <ulf@openssl.org>. @@ -48,7 +48,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: March 27 2018 $ +.Dd $Mdocdate: June 7 2019 $ .Dt DH_GENERATE_PARAMETERS 3 .Os .Sh NAME @@ -148,8 +148,7 @@ The error codes can be obtained by .Sh SEE ALSO .Xr DH_get0_pqg 3 , .Xr DH_new 3 , -.Xr ERR_get_error 3 , -.Xr RAND_bytes 3 +.Xr ERR_get_error 3 .Sh HISTORY .Fn DH_check and diff --git a/lib/libcrypto/man/DSA_do_sign.3 b/lib/libcrypto/man/DSA_do_sign.3 index 454cb444782..054b9118a8c 100644 --- a/lib/libcrypto/man/DSA_do_sign.3 +++ b/lib/libcrypto/man/DSA_do_sign.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: DSA_do_sign.3,v 1.8 2018/03/21 17:57:48 schwarze Exp $ +.\" $OpenBSD: DSA_do_sign.3,v 1.9 2019/06/07 20:46:25 schwarze Exp $ .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 .\" .\" This file was written by Ulf Moeller <ulf@openssl.org>. @@ -48,7 +48,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: March 21 2018 $ +.Dd $Mdocdate: June 7 2019 $ .Dt DSA_DO_SIGN 3 .Os .Sh NAME @@ -111,8 +111,7 @@ The error codes can be obtained by .Xr DSA_new 3 , .Xr DSA_SIG_new 3 , .Xr DSA_sign 3 , -.Xr ERR_get_error 3 , -.Xr RAND_bytes 3 +.Xr ERR_get_error 3 .Sh HISTORY .Fn DSA_do_sign and diff --git a/lib/libcrypto/man/DSA_generate_key.3 b/lib/libcrypto/man/DSA_generate_key.3 index 9e565e05a56..4ff2ab86c93 100644 --- a/lib/libcrypto/man/DSA_generate_key.3 +++ b/lib/libcrypto/man/DSA_generate_key.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: DSA_generate_key.3,v 1.8 2018/03/27 17:35:50 schwarze Exp $ +.\" $OpenBSD: DSA_generate_key.3,v 1.9 2019/06/07 20:46:25 schwarze Exp $ .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 .\" .\" This file was written by Ulf Moeller <ulf@openssl.org>. @@ -48,7 +48,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: March 27 2018 $ +.Dd $Mdocdate: June 7 2019 $ .Dt DSA_GENERATE_KEY 3 .Os .Sh NAME @@ -78,8 +78,7 @@ The error codes can be obtained by .Xr DSA_generate_parameters 3 , .Xr DSA_get0_key 3 , .Xr DSA_new 3 , -.Xr ERR_get_error 3 , -.Xr RAND_bytes 3 +.Xr ERR_get_error 3 .Sh HISTORY .Fn DSA_generate_key first appeared in SSLeay 0.6.0 and has been available since diff --git a/lib/libcrypto/man/DSA_generate_parameters.3 b/lib/libcrypto/man/DSA_generate_parameters.3 index d942f7b3840..22b851135d5 100644 --- a/lib/libcrypto/man/DSA_generate_parameters.3 +++ b/lib/libcrypto/man/DSA_generate_parameters.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: DSA_generate_parameters.3,v 1.10 2018/03/27 17:35:50 schwarze Exp $ +.\" $OpenBSD: DSA_generate_parameters.3,v 1.11 2019/06/07 20:46:25 schwarze Exp $ .\" OpenSSL 9b86974e Aug 7 22:14:47 2015 -0400 .\" .\" This file was written by Ulf Moeller <ulf@openssl.org>, @@ -49,7 +49,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: March 27 2018 $ +.Dd $Mdocdate: June 7 2019 $ .Dt DSA_GENERATE_PARAMETERS 3 .Os .Sh NAME @@ -200,8 +200,7 @@ The error codes can be obtained by .Xr BN_generate_prime 3 , .Xr DSA_get0_pqg 3 , .Xr DSA_new 3 , -.Xr ERR_get_error 3 , -.Xr RAND_bytes 3 +.Xr ERR_get_error 3 .Sh HISTORY .Fn DSA_generate_parameters first appeared in SSLeay 0.8.0 and had its diff --git a/lib/libcrypto/man/DSA_sign.3 b/lib/libcrypto/man/DSA_sign.3 index 460fb595cde..d2e4033320c 100644 --- a/lib/libcrypto/man/DSA_sign.3 +++ b/lib/libcrypto/man/DSA_sign.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: DSA_sign.3,v 1.8 2018/03/27 17:35:50 schwarze Exp $ +.\" $OpenBSD: DSA_sign.3,v 1.9 2019/06/07 20:46:25 schwarze Exp $ .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 .\" .\" This file was written by Ulf Moeller <ulf@openssl.org>. @@ -48,7 +48,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: March 27 2018 $ +.Dd $Mdocdate: June 7 2019 $ .Dt DSA_SIGN 3 .Os .Sh NAME @@ -159,8 +159,7 @@ The error codes can be obtained by .Xr DSA_do_sign 3 , .Xr DSA_get0_key 3 , .Xr DSA_new 3 , -.Xr ERR_get_error 3 , -.Xr RAND_bytes 3 +.Xr ERR_get_error 3 .Sh STANDARDS US Federal Information Processing Standard FIPS 186 (Digital Signature Standard, DSS), ANSI X9.30 diff --git a/lib/libcrypto/man/EVP_BytesToKey.3 b/lib/libcrypto/man/EVP_BytesToKey.3 index 1178c77ad89..821259a515b 100644 --- a/lib/libcrypto/man/EVP_BytesToKey.3 +++ b/lib/libcrypto/man/EVP_BytesToKey.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: EVP_BytesToKey.3,v 1.7 2018/03/27 17:35:50 schwarze Exp $ +.\" $OpenBSD: EVP_BytesToKey.3,v 1.8 2019/06/07 20:46:25 schwarze Exp $ .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 .\" .\" This file was written by Dr. Stephen Henson <steve@openssl.org>. @@ -49,7 +49,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: March 27 2018 $ +.Dd $Mdocdate: June 7 2019 $ .Dt EVP_BYTESTOKEY 3 .Os .Sh NAME @@ -136,8 +136,7 @@ returns the size of the derived key in bytes or 0 on error. .Sh SEE ALSO .Xr evp 3 , .Xr EVP_EncryptInit 3 , -.Xr PKCS5_PBKDF2_HMAC 3 , -.Xr RAND_bytes 3 +.Xr PKCS5_PBKDF2_HMAC 3 .Sh HISTORY .Fn EVP_BytesToKey first appeared in SSLeay 0.5.1 and has been available since diff --git a/lib/libcrypto/man/EVP_OpenInit.3 b/lib/libcrypto/man/EVP_OpenInit.3 index d2a723abb60..766d178cbd1 100644 --- a/lib/libcrypto/man/EVP_OpenInit.3 +++ b/lib/libcrypto/man/EVP_OpenInit.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: EVP_OpenInit.3,v 1.7 2018/03/27 17:35:50 schwarze Exp $ +.\" $OpenBSD: EVP_OpenInit.3,v 1.8 2019/06/07 20:46:25 schwarze Exp $ .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 .\" .\" This file was written by Dr. Stephen Henson <steve@openssl.org>. @@ -48,7 +48,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: March 27 2018 $ +.Dd $Mdocdate: June 7 2019 $ .Dt EVP_OPENINIT 3 .Os .Sh NAME @@ -144,8 +144,7 @@ returns 0 if the decrypt failed or 1 for success. .Sh SEE ALSO .Xr evp 3 , .Xr EVP_EncryptInit 3 , -.Xr EVP_SealInit 3 , -.Xr RAND_bytes 3 +.Xr EVP_SealInit 3 .Sh HISTORY .Fn EVP_OpenInit , .Fn EVP_OpenUpdate , diff --git a/lib/libcrypto/man/EVP_SealInit.3 b/lib/libcrypto/man/EVP_SealInit.3 index 11db2294555..15938fcb33c 100644 --- a/lib/libcrypto/man/EVP_SealInit.3 +++ b/lib/libcrypto/man/EVP_SealInit.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: EVP_SealInit.3,v 1.7 2018/03/27 17:35:50 schwarze Exp $ +.\" $OpenBSD: EVP_SealInit.3,v 1.8 2019/06/07 20:46:25 schwarze Exp $ .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 .\" .\" This file was written by Dr. Stephen Henson <steve@openssl.org>. @@ -49,7 +49,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: March 27 2018 $ +.Dd $Mdocdate: June 7 2019 $ .Dt EVP_SEALINIT 3 .Os .Sh NAME @@ -175,8 +175,7 @@ return 1 for success and 0 for failure. .Sh SEE ALSO .Xr evp 3 , .Xr EVP_EncryptInit 3 , -.Xr EVP_OpenInit 3 , -.Xr RAND_bytes 3 +.Xr EVP_OpenInit 3 .Sh HISTORY .Fn EVP_SealInit , .Fn EVP_SealUpdate , diff --git a/lib/libcrypto/man/PKCS5_PBKDF2_HMAC.3 b/lib/libcrypto/man/PKCS5_PBKDF2_HMAC.3 index 21b913156e4..3a448b92a7d 100644 --- a/lib/libcrypto/man/PKCS5_PBKDF2_HMAC.3 +++ b/lib/libcrypto/man/PKCS5_PBKDF2_HMAC.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: PKCS5_PBKDF2_HMAC.3,v 1.8 2019/06/07 19:40:35 schwarze Exp $ +.\" $OpenBSD: PKCS5_PBKDF2_HMAC.3,v 1.9 2019/06/07 20:46:25 schwarze Exp $ .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 .\" .\" This file was written by Jeffrey Walton <noloader@gmail.com>. @@ -152,8 +152,7 @@ and return 1 on success or 0 on error. .Sh SEE ALSO .Xr EVP_BytesToKey 3 , -.Xr EVP_DigestInit 3 , -.Xr RAND_bytes 3 +.Xr EVP_DigestInit 3 .Sh HISTORY .Fn PKCS5_PBKDF2_HMAC_SHA1 first appeared in OpenSSL 0.9.4 and has been available since |