Lines Matching full:random
3 * RNG: Random Number Generator algorithms under the crypto API
33 * struct rng_alg - random number generator definition
36 * random number. The random number generator transform
37 * must generate the random number out of the context
40 * @seed: Seed or reseed the random number generator. With the
41 * invocation of this function call, the random number
43 * random number generator requires a seed for setting
50 * @seedsize: The seed size required for a random number generator
52 * random number generators does not require a seed
85 * DOC: Random number generator API
87 * The random number generator API is used with the ciphers of type
98 * Allocate a cipher handle for a random number generator. The returned struct
100 * API invocation for that random number generator.
102 * For all random number generators, this call creates a new private copy of
103 * the random number generator that does not share a state with other
104 * instances. The only exception is the "krng" random number generator which
106 * /dev/random driver.
127 * Return the generic name (cra_name) of the initialized random number generator
168 * crypto_rng_generate() - get random number
172 * @dst: output buffer holding the random numbers
175 * This function fills the caller-allocated buffer with random
176 * numbers using the random number generator referenced by the
199 * crypto_rng_get_bytes() - get random number
201 * @rdata: output buffer holding the random numbers
204 * This function fills the caller-allocated buffer with random numbers using the
205 * random number generator referenced by the cipher handle.
221 * The reset function completely re-initializes the random number generator
224 * on the random number generator type (the ANSI X9.31 RNG requires
227 * should have the length of the seed size defined for the random number
239 * The function returns the seed size for the random number generator
240 * referenced by the cipher handle. This value may be zero if the random
245 * Return: seed size for the random number generator