Generate a nonce of outlen bytes from RAND context ctx.
Declared in <openssl/evp.h>
int
EVP_RAND_nonce(
EVP_RAND_CTX* ctx,
unsigned char* out,
size_t outlen);
1 on success, or 0 on error.
| Name | Description |
|---|---|
| ctx | Instantiated RAND context. |
| out | Buffer receiving the nonce. |
| outlen | Number of nonce bytes to produce. |