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

/freebsd-12-stable/sys/libkern/
H A Darc4random.c47 #define CHACHA20_KEYBYTES 32 macro
50 CTASSERT(CHACHA20_KEYBYTES*8 >= CHACHA_MINKEYLEN);
80 u_int8_t key[CHACHA20_KEYBYTES], *data;
90 (void)read_random(key, CHACHA20_KEYBYTES);
95 size = MIN(preload_fetch_size(keyfile), CHACHA20_KEYBYTES);
107 chacha_keysetup(&chacha20->ctx, key, CHACHA20_KEYBYTES*8);

Completed in 51 milliseconds