Searched refs:KEYSZ (Results 1 – 1 of 1) sorted by relevance
47 #define KEYSZ 32 macro75 if (n < KEYSZ + IVSZ) in _rs_init()83 chacha_keysetup(&rsx->rs_chacha, buf, KEYSZ * 8); in _rs_init()84 chacha_ivsetup(&rsx->rs_chacha, buf + KEYSZ); in _rs_init()90 u_char rnd[KEYSZ + IVSZ]; in _rs_stir()137 m = minimum(datlen, KEYSZ + IVSZ); in _rs_rekey()142 _rs_init(rsx->rs_buf, KEYSZ + IVSZ); in _rs_rekey()143 memset(rsx->rs_buf, 0, KEYSZ + IVSZ); in _rs_rekey()144 rs->rs_have = sizeof(rsx->rs_buf) - KEYSZ - IVSZ; in _rs_rekey()