Deleted Added
full compact
RAND_bytes.pod (1.1.1.5) RAND_bytes.pod (1.1.1.6)
1=pod
2
3=head1 NAME
4
5RAND_bytes, RAND_priv_bytes, RAND_bytes_ex, RAND_priv_bytes_ex,
6RAND_pseudo_bytes - generate random data
7
8=head1 SYNOPSIS

--- 23 unchanged lines hidden (view full) ---

32be used for generating values that should remain private. If using the
33default RAND_METHOD, this function uses a separate "private" PRNG
34instance so that a compromise of the "public" PRNG instance will not
35affect the secrecy of these private values, as described in L<RAND(7)>
36and L<EVP_RAND(7)>.
37
38RAND_bytes_ex() and RAND_priv_bytes_ex() are the same as RAND_bytes() and
39RAND_priv_bytes() except that they both take additional I<strength> and
1=pod
2
3=head1 NAME
4
5RAND_bytes, RAND_priv_bytes, RAND_bytes_ex, RAND_priv_bytes_ex,
6RAND_pseudo_bytes - generate random data
7
8=head1 SYNOPSIS

--- 23 unchanged lines hidden (view full) ---

32be used for generating values that should remain private. If using the
33default RAND_METHOD, this function uses a separate "private" PRNG
34instance so that a compromise of the "public" PRNG instance will not
35affect the secrecy of these private values, as described in L<RAND(7)>
36and L<EVP_RAND(7)>.
37
38RAND_bytes_ex() and RAND_priv_bytes_ex() are the same as RAND_bytes() and
39RAND_priv_bytes() except that they both take additional I<strength> and
40I<ctx> parameters. The bytes genreated will have a security strength of at
40I<ctx> parameters. The bytes generated will have a security strength of at
41least I<strength> bits.
42The DRBG used for the operation is the public or private DRBG associated with
43the specified I<ctx>. The parameter can be NULL, in which case
44the default library context is used (see L<OSSL_LIB_CTX(3)>.
45If the default RAND_METHOD has been changed then for compatibility reasons the
46RAND_METHOD will be used in preference and the DRBG of the library context
47ignored.
48

--- 47 unchanged lines hidden (view full) ---

96=item *
97
98The RAND_bytes_ex() and RAND_priv_bytes_ex() functions were added in OpenSSL 3.0
99
100=back
101
102=head1 COPYRIGHT
103
41least I<strength> bits.
42The DRBG used for the operation is the public or private DRBG associated with
43the specified I<ctx>. The parameter can be NULL, in which case
44the default library context is used (see L<OSSL_LIB_CTX(3)>.
45If the default RAND_METHOD has been changed then for compatibility reasons the
46RAND_METHOD will be used in preference and the DRBG of the library context
47ignored.
48

--- 47 unchanged lines hidden (view full) ---

96=item *
97
98The RAND_bytes_ex() and RAND_priv_bytes_ex() functions were added in OpenSSL 3.0
99
100=back
101
102=head1 COPYRIGHT
103
104Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.
104Copyright 2000-2023 The OpenSSL Project Authors. All Rights Reserved.
105
106Licensed under the Apache License 2.0 (the "License"). You may not use
107this file except in compliance with the License. You can obtain a copy
108in the file LICENSE in the source distribution or at
109L<https://www.openssl.org/source/license.html>.
110
111=cut
105
106Licensed under the Apache License 2.0 (the "License"). You may not use
107this file except in compliance with the License. You can obtain a copy
108in the file LICENSE in the source distribution or at
109L<https://www.openssl.org/source/license.html>.
110
111=cut