Home
last modified time | relevance | path

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

/freebsd/sys/libkern/
H A Darc4random.c51 #define CHACHA20_KEYBYTES 32 macro
54 CTASSERT(CHACHA20_KEYBYTES*8 >= CHACHA_MINKEYLEN);
87 uint8_t key[CHACHA20_KEYBYTES]; in chacha20_randomstir()
128 read_random_key(key, CHACHA20_KEYBYTES, &seed_version); in chacha20_randomstir()
139 read_random(key, CHACHA20_KEYBYTES); in chacha20_randomstir()
144 chacha_keysetup(&chacha20->ctx, key, CHACHA20_KEYBYTES*8); in chacha20_randomstir()