Searched refs:rs_chacha (Results 1 – 3 of 3) sorted by relevance
/freebsd/lib/libc/gen/ |
H A D | arc4random.c | 77 chacha_ctx rs_chacha; /* chacha context for random keystream */ member 101 chacha_keysetup(&rsx->rs_chacha, buf, KEYSZ * 8); in _rs_init() 102 chacha_ivsetup(&rsx->rs_chacha, buf + KEYSZ, NULL); in _rs_init() 157 chacha_encrypt_bytes(&rsx->rs_chacha, (uint8_t *)&rekey_fuzz, in _rs_stir() 181 chacha_encrypt_bytes(&rsx->rs_chacha, rsx->rs_buf, in _rs_rekey()
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | arc4random.c | 85 chacha_ctx rs_chacha; /* chacha context for random keystream */ member 106 chacha_keysetup(&rsx->rs_chacha, buf, KEYSZ * 8); in _rs_init() 107 chacha_ivsetup(&rsx->rs_chacha, buf + KEYSZ); in _rs_init() 130 chacha_encrypt_bytes(&rsx->rs_chacha, (uint8_t *)&rekey_fuzz, in _rs_stir() 154 chacha_encrypt_bytes(&rsx->rs_chacha, rsx->rs_buf, in _rs_rekey()
|
/freebsd/contrib/unbound/compat/ |
H A D | arc4random.c | 70 chacha_ctx rs_chacha; /* chacha context for random keystream */ member 176 chacha_keysetup(&rsx->rs_chacha, buf, KEYSZ * 8, 0); in _rs_init() 177 chacha_ivsetup(&rsx->rs_chacha, buf + KEYSZ); in _rs_init() 208 chacha_encrypt_bytes(&rsx->rs_chacha, (uint8_t *)&rekey_fuzz, in _rs_stir() 242 chacha_encrypt_bytes(&rsx->rs_chacha, rsx->rs_buf, in _rs_rekey()
|