Home
last modified time | relevance | path

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

/drivers/char/
Drandom.c236 struct crng { struct
242 static DEFINE_PER_CPU(struct crng, crngs) = { argument
341 struct crng *crng; in crng_make_state() local
375 crng = raw_cpu_ptr(&crngs); in crng_make_state()
383 if (unlikely(crng->generation != READ_ONCE(base_crng.generation))) { in crng_make_state()
386 crng->key, sizeof(crng->key)); in crng_make_state()
387 crng->generation = base_crng.generation; in crng_make_state()
398 crng_fast_key_erasure(crng->key, chacha_state, random_data, random_data_len); in crng_make_state()