summaryrefslogtreecommitdiff
path: root/lib/libcrypto/doc/RAND_add.pod
blob: 3ffd4910c4243473c82195f3ba3bcf2d4ff0ee35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
=pod

=head1 NAME

RAND_add, RAND_seed, RAND_status - add entropy to the PRNG (DEPRECATED)

=head1 SYNOPSIS

 #include <openssl/rand.h>

 void RAND_seed(const void *buf, int num);

 void RAND_add(const void *buf, int num, double entropy);

 int  RAND_status(void);

=head1 DESCRIPTION

These functions used to allow for the state of the random number generator
to be controlled by external sources.

They are kept for ABI compatibility but are no longer functional, and
should not be used in new programs.

=head1 SEE ALSO

L<rand(3)|rand(3)>,
L<RAND_load_file(3)|RAND_load_file(3)>, L<RAND_cleanup(3)|RAND_cleanup(3)>

=cut