Lines Matching refs:crng_state
445 struct crng_state { struct
451 static struct crng_state primary_crng = { argument
468 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);
761 static struct crng_state **crng_node_pool __read_mostly;
774 static bool crng_init_try_arch(struct crng_state *crng) in crng_init_try_arch()
792 static bool __init crng_init_try_arch_early(struct crng_state *crng) in crng_init_try_arch_early()
810 static void __maybe_unused crng_initialize_secondary(struct crng_state *crng) in crng_initialize_secondary()
818 static void __init crng_initialize_primary(struct crng_state *crng) in crng_initialize_primary()
835 struct crng_state *crng; in do_numa_crng_init()
836 struct crng_state **pool; in do_numa_crng_init()
840 crng = kmalloc_node(sizeof(struct crng_state), in do_numa_crng_init()
938 static void crng_reseed(struct crng_state *crng, struct entropy_store *r) in crng_reseed()
988 static void _extract_crng(struct crng_state *crng, in _extract_crng()
1008 struct crng_state *crng = NULL; in extract_crng()
1023 static void _crng_backtrack_protect(struct crng_state *crng, in _crng_backtrack_protect()
1045 struct crng_state *crng = NULL; in crng_backtrack_protect()