Lines Matching refs:prng_context
46 struct prng_context { struct
88 static int _get_more_prng_bytes(struct prng_context *ctx, int cont_test) in _get_more_prng_bytes()
188 static int get_prng_bytes(char *buf, size_t nbytes, struct prng_context *ctx, in get_prng_bytes()
278 static void free_prng_context(struct prng_context *ctx) in free_prng_context()
283 static int reset_prng_context(struct prng_context *ctx, in reset_prng_context()
329 struct prng_context *ctx = crypto_tfm_ctx(tfm); in cprng_init()
359 struct prng_context *prng = crypto_rng_ctx(tfm); in cprng_get_random()
372 struct prng_context *prng = crypto_rng_ctx(tfm); in cprng_reset()
393 struct prng_context *prng = crypto_rng_ctx(tfm); in fips_cprng_get_random()
404 struct prng_context *prng = crypto_rng_ctx(tfm); in fips_cprng_reset()
432 .cra_ctxsize = sizeof(struct prng_context),
450 .cra_ctxsize = sizeof(struct prng_context),