Generate a pseudo-random BIGNUM in [0, ]range) (deprecated; prefer BN_rand_range).
Declared in <openssl/bn.h>
[[deprecated]]
int
BN_pseudo_rand_range(
BIGNUM* rnd,
BIGNUM const* range);
Deprecated. Use of this entity is allowed but discouraged.
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| rnd | Destination for the random value. |
| range | Exclusive upper bound; must be positive. |