xref: /freebsd/crypto/openssl/doc/man3/RAND_cleanup.pod (revision b077aed33b7b6aefca7b17ddb250cf521f938613)
1e71b7053SJung-uk Kim=pod
2e71b7053SJung-uk Kim
3e71b7053SJung-uk Kim=head1 NAME
4e71b7053SJung-uk Kim
5e71b7053SJung-uk KimRAND_cleanup - erase the PRNG state
6e71b7053SJung-uk Kim
7e71b7053SJung-uk Kim=head1 SYNOPSIS
8e71b7053SJung-uk Kim
9e71b7053SJung-uk Kim #include <openssl/rand.h>
10e71b7053SJung-uk Kim
11*b077aed3SPierre ProncheryThe following function has been deprecated since OpenSSL 1.1.0, and can be
12*b077aed3SPierre Proncheryhidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value,
13*b077aed3SPierre Proncherysee L<openssl_user_macros(7)>:
14*b077aed3SPierre Pronchery
15*b077aed3SPierre Pronchery void RAND_cleanup(void);
16e71b7053SJung-uk Kim
17e71b7053SJung-uk Kim=head1 DESCRIPTION
18e71b7053SJung-uk Kim
19e71b7053SJung-uk KimPrior to OpenSSL 1.1.0, RAND_cleanup() released all resources used by
20e71b7053SJung-uk Kimthe PRNG.  As of version 1.1.0, it does nothing and should not be called,
21e71b7053SJung-uk Kimsince no explicit initialisation or de-initialisation is necessary. See
22e71b7053SJung-uk KimL<OPENSSL_init_crypto(3)>.
23e71b7053SJung-uk Kim
24e71b7053SJung-uk Kim=head1 RETURN VALUES
25e71b7053SJung-uk Kim
26e71b7053SJung-uk KimRAND_cleanup() returns no value.
27e71b7053SJung-uk Kim
28610a21fdSJung-uk Kim=head1 SEE ALSO
29610a21fdSJung-uk Kim
30610a21fdSJung-uk KimL<RAND(7)>
31610a21fdSJung-uk Kim
32e71b7053SJung-uk Kim=head1 HISTORY
33e71b7053SJung-uk Kim
34e71b7053SJung-uk KimRAND_cleanup() was deprecated in OpenSSL 1.1.0; do not use it.
35e71b7053SJung-uk KimSee L<OPENSSL_init_crypto(3)>
36e71b7053SJung-uk Kim
37e71b7053SJung-uk Kim=head1 COPYRIGHT
38e71b7053SJung-uk Kim
39*b077aed3SPierre ProncheryCopyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.
40e71b7053SJung-uk Kim
41*b077aed3SPierre ProncheryLicensed under the Apache License 2.0 (the "License").  You may not use
42e71b7053SJung-uk Kimthis file except in compliance with the License.  You can obtain a copy
43e71b7053SJung-uk Kimin the file LICENSE in the source distribution or at
44e71b7053SJung-uk KimL<https://www.openssl.org/source/license.html>.
45e71b7053SJung-uk Kim
46e71b7053SJung-uk Kim=cut
47