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