Home
last modified time | relevance | path

Searched refs:prng_context (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/crypto/
Dansi_cprng.c39 struct prng_context { struct
81 static int _get_more_prng_bytes(struct prng_context *ctx, int cont_test) in _get_more_prng_bytes()
181 static int get_prng_bytes(char *buf, size_t nbytes, struct prng_context *ctx, in get_prng_bytes()
271 static void free_prng_context(struct prng_context *ctx) in free_prng_context()
276 static int reset_prng_context(struct prng_context *ctx, in reset_prng_context()
322 struct prng_context *ctx = crypto_tfm_ctx(tfm); in cprng_init()
353 struct prng_context *prng = crypto_rng_ctx(tfm); in cprng_get_random()
367 struct prng_context *prng = crypto_rng_ctx(tfm); in cprng_reset()
389 struct prng_context *prng = crypto_rng_ctx(tfm); in fips_cprng_get_random()
401 struct prng_context *prng = crypto_rng_ctx(tfm); in fips_cprng_reset()
[all …]