"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "doc/man3/RAND_set_rand_method.pod" between
openssl-1.1.1f.tar.gz and openssl-1.1.1g.tar.gz

About: OpenSSL is a toolkit implementing the Transport Layer Security (TLS) protocols (including SSLv3) as well as a full-strength general purpose cryptographic library. Long Term Support (LTS) version (includes support for TLSv1.3).

RAND_set_rand_method.pod  (openssl-1.1.1f):RAND_set_rand_method.pod  (openssl-1.1.1g)
skipping to change at line 36 skipping to change at line 36
be used instead of the method returned by RAND_OpenSSL(). be used instead of the method returned by RAND_OpenSSL().
RAND_set_rand_method() makes B<meth> the method for PRNG use. If an RAND_set_rand_method() makes B<meth> the method for PRNG use. If an
ENGINE was providing the method, it will be released first. ENGINE was providing the method, it will be released first.
RAND_get_rand_method() returns a pointer to the current B<RAND_METHOD>. RAND_get_rand_method() returns a pointer to the current B<RAND_METHOD>.
=head1 THE RAND_METHOD STRUCTURE =head1 THE RAND_METHOD STRUCTURE
typedef struct rand_meth_st { typedef struct rand_meth_st {
void (*seed)(const void *buf, int num); int (*seed)(const void *buf, int num);
int (*bytes)(unsigned char *buf, int num); int (*bytes)(unsigned char *buf, int num);
void (*cleanup)(void); void (*cleanup)(void);
void (*add)(const void *buf, int num, int randomness); int (*add)(const void *buf, int num, double entropy);
int (*pseudorand)(unsigned char *buf, int num); int (*pseudorand)(unsigned char *buf, int num);
int (*status)(void); int (*status)(void);
} RAND_METHOD; } RAND_METHOD;
The fields point to functions that are used by, in order, The fields point to functions that are used by, in order,
RAND_seed(), RAND_bytes(), internal RAND cleanup, RAND_add(), RAND_pseudo_rand() RAND_seed(), RAND_bytes(), internal RAND cleanup, RAND_add(), RAND_pseudo_rand()
and RAND_status(). and RAND_status().
Each pointer may be NULL if the function is not implemented. Each pointer may be NULL if the function is not implemented.
=head1 RETURN VALUES =head1 RETURN VALUES
skipping to change at line 63 skipping to change at line 63
methods. methods.
=head1 SEE ALSO =head1 SEE ALSO
L<RAND_bytes(3)>, L<RAND_bytes(3)>,
L<ENGINE_by_id(3)>, L<ENGINE_by_id(3)>,
L<RAND(7)> L<RAND(7)>
=head1 COPYRIGHT =head1 COPYRIGHT
Copyright 2000-2019 The OpenSSL Project Authors. All Rights Reserved. Copyright 2000-2020 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the OpenSSL license (the "License"). You may not use Licensed under the OpenSSL license (the "License"). You may not use
this file except in compliance with the License. You can obtain a copy this file except in compliance with the License. You can obtain a copy
in the file LICENSE in the source distribution or at in the file LICENSE in the source distribution or at
L<https://www.openssl.org/source/license.html>. L<https://www.openssl.org/source/license.html>.
=cut =cut
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)