Lines Matching refs:prng_context
38 struct prng_context { struct
80 static int _get_more_prng_bytes(struct prng_context *ctx, int cont_test) in _get_more_prng_bytes()
180 static int get_prng_bytes(char *buf, size_t nbytes, struct prng_context *ctx, in get_prng_bytes()
270 static void free_prng_context(struct prng_context *ctx) in free_prng_context()
275 static int reset_prng_context(struct prng_context *ctx, in reset_prng_context()
321 struct prng_context *ctx = crypto_tfm_ctx(tfm); in cprng_init()
352 struct prng_context *prng = crypto_rng_ctx(tfm); in cprng_get_random()
366 struct prng_context *prng = crypto_rng_ctx(tfm); in cprng_reset()
388 struct prng_context *prng = crypto_rng_ctx(tfm); in fips_cprng_get_random()
400 struct prng_context *prng = crypto_rng_ctx(tfm); in fips_cprng_reset()
431 .cra_ctxsize = sizeof(struct prng_context),
445 .cra_ctxsize = sizeof(struct prng_context),