]> git.ipfire.org Git - thirdparty/openssl.git/blame - doc/man3/RAND_cleanup.pod
Make BIGNUM rand functions available within the FIPS module
[thirdparty/openssl.git] / doc / man3 / RAND_cleanup.pod
CommitLineData
60b52453
UM
1=pod
2
3=head1 NAME
4
5RAND_cleanup - erase the PRNG state
6
7=head1 SYNOPSIS
8
9 #include <openssl/rand.h>
10
fcd2d5a6
RL
11Deprecated since OpenSSL 1.1.0, can be hidden entirely by defining
12B<OPENSSL_API_COMPAT> with a suitable version value, see
13L<openssl_user_macros(7)>:
14
1d5099de 15 void RAND_cleanup(void)
60b52453 16
02eca5c6
RS
17=head1 DESCRIPTION
18
04256277
RS
19Prior to OpenSSL 1.1.0, RAND_cleanup() released all resources used by
20the PRNG. As of version 1.1.0, it does nothing and should not be called,
a970b14f 21since no explicit initialisation or de-initialisation is necessary. See
04256277 22L<OPENSSL_init_crypto(3)>.
60b52453 23
1f13ad31 24=head1 RETURN VALUES
60b52453
UM
25
26RAND_cleanup() returns no value.
27
b5c4bbbe
JL
28=head1 SEE ALSO
29
30L<RAND(7)>
31
f3cd81d6
MC
32=head1 HISTORY
33
b3696a55
RS
34RAND_cleanup() was deprecated in OpenSSL 1.1.0; do not use it.
35See L<OPENSSL_init_crypto(3)>
f3cd81d6 36
e2f92610
RS
37=head1 COPYRIGHT
38
b5c4bbbe 39Copyright 2000-2019 The OpenSSL Project Authors. All Rights Reserved.
e2f92610 40
4746f25a 41Licensed under the Apache License 2.0 (the "License"). You may not use
e2f92610
RS
42this file except in compliance with the License. You can obtain a copy
43in the file LICENSE in the source distribution or at
44L<https://www.openssl.org/source/license.html>.
45
46=cut