carta
crypto_rng_generate(9)

crypto_rng_generate9

Get random number

Arguments

tfm

cipher handle

src

Input buffer holding additional data, may be NULL

slen

Length of additional data

dst

output buffer holding the random numbers

dlen

length of the output buffer

Overview

This function fills the caller-allocated buffer with random numbers using the random number generator referenced by the cipher handle.

Return

0 function was successful; < 0 if an error occurred

Authors

Stephan Mueller <[email protected]>

Author.

Marek Vasut <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.