Home
last modified time | relevance | path

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

/bionic/libc/upstream-openbsd/lib/libc/crypt/
Darc4random.c62 chacha_ctx rs_chacha; /* chacha context for random keystream */ member
83 chacha_keysetup(&rsx->rs_chacha, buf, KEYSZ * 8); in _rs_init()
84 chacha_ivsetup(&rsx->rs_chacha, buf + KEYSZ); in _rs_init()
107 chacha_encrypt_bytes(&rsx->rs_chacha, (uint8_t *)&rekey_fuzz, in _rs_stir()
131 chacha_encrypt_bytes(&rsx->rs_chacha, rsx->rs_buf, in _rs_rekey()