Home
last modified time | relevance | path

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

/drivers/char/
Drandom.c293 u32 chacha_state[CHACHA_STATE_WORDS], in crng_fast_key_erasure()
300 chacha_init_consts(chacha_state); in crng_fast_key_erasure()
301 memcpy(&chacha_state[4], key, CHACHA_KEY_SIZE); in crng_fast_key_erasure()
302 memset(&chacha_state[12], 0, sizeof(u32) * 4); in crng_fast_key_erasure()
303 chacha20_block(chacha_state, first_block); in crng_fast_key_erasure()
337 static void crng_make_state(u32 chacha_state[CHACHA_STATE_WORDS], in crng_make_state()
359 crng_fast_key_erasure(base_crng.key, chacha_state, in crng_make_state()
385 crng_fast_key_erasure(base_crng.key, chacha_state, in crng_make_state()
398 crng_fast_key_erasure(crng->key, chacha_state, random_data, random_data_len); in crng_make_state()
404 u32 chacha_state[CHACHA_STATE_WORDS]; in _get_random_bytes() local
[all …]