1=pod 2 3=head1 NAME 4 5BN_rand, BN_pseudo_rand - generate pseudo-random number 6 7=head1 SYNOPSIS 8 9 #include <openssl/bn.h> 10 11 int BN_rand(BIGNUM *rnd, int bits, int top, int bottom); 12 13 int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom); 14 15 int BN_rand_range(BIGNUM *rnd, BIGNUM *range); 16
| 1=pod 2 3=head1 NAME 4 5BN_rand, BN_pseudo_rand - generate pseudo-random number 6 7=head1 SYNOPSIS 8 9 #include <openssl/bn.h> 10 11 int BN_rand(BIGNUM *rnd, int bits, int top, int bottom); 12 13 int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom); 14 15 int BN_rand_range(BIGNUM *rnd, BIGNUM *range); 16
|
17 int BN_pseudo_rand_range(BIGNUM *rnd, int bits, int top, int bottom);
| 17 int BN_pseudo_rand_range(BIGNUM *rnd, BIGNUM *range);
|
18 19=head1 DESCRIPTION 20 21BN_rand() generates a cryptographically strong pseudo-random number of 22B<bits> bits in length and stores it in B<rnd>. If B<top> is -1, the 23most significant bit of the random number can be zero. If B<top> is 0, 24it is set to 1, and if B<top> is 1, the two most significant bits of 25the number will be set to 1, so that the product of two such random
--- 33 unchanged lines hidden --- | 18 19=head1 DESCRIPTION 20 21BN_rand() generates a cryptographically strong pseudo-random number of 22B<bits> bits in length and stores it in B<rnd>. If B<top> is -1, the 23most significant bit of the random number can be zero. If B<top> is 0, 24it is set to 1, and if B<top> is 1, the two most significant bits of 25the number will be set to 1, so that the product of two such random
--- 33 unchanged lines hidden --- |