Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/char/
Drandom.c468 static void _extract_crng(struct crng_state *crng, __u8 out[CHACHA_BLOCK_SIZE]);
469 static void _crng_backtrack_protect(struct crng_state *crng,
512 static void crng_reseed(struct crng_state *crng, struct entropy_store *r);
774 static bool crng_init_try_arch(struct crng_state *crng) in crng_init_try_arch() argument
786 crng->state[i] ^= rv; in crng_init_try_arch()
792 static bool __init crng_init_try_arch_early(struct crng_state *crng) in crng_init_try_arch_early() argument
804 crng->state[i] ^= rv; in crng_init_try_arch_early()
810 static void __maybe_unused crng_initialize_secondary(struct crng_state *crng) in crng_initialize_secondary() argument
812 chacha_init_consts(crng->state); in crng_initialize_secondary()
813 _get_random_bytes(&crng->state[4], sizeof(__u32) * 12); in crng_initialize_secondary()
[all …]