Reseed a DRBG/RAND context with optional entropy and additional input.
Synopsis
Declared in <openssl/evp.h>
int
EVP_RAND_reseed(
EVP_RAND_CTX* ctx,
int prediction_resistance,
unsigned char const* ent,
size_t ent_len,
unsigned char const* addin,
size_t addin_len);
Return Value
1 on success, or 0 on error.
Parameters
Name |
Description |
ctx |
RAND context to reseed. |
prediction_resistance |
Nonzero to request prediction resistance when supported. |
ent |
Optional entropy bytes, or NULL to let the implementation gather entropy. |
ent_len |
Length of |
addin |
Optional additional input bytes, or NULL. |
addin_len |
Length of |
Created with MrDocs