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.c60 chacha_ctx rs_chacha; /* chacha context for random keystream */ member
81 chacha_keysetup(&rsx->rs_chacha, buf, KEYSZ * 8, 0); in _rs_init()
82 chacha_ivsetup(&rsx->rs_chacha, buf + KEYSZ); in _rs_init()
125 chacha_encrypt_bytes(&rsx->rs_chacha, rsx->rs_buf, in _rs_rekey()