Searched refs:KEYSZ (Results 1 – 1 of 1) sorted by relevance
47 #define KEYSZ 32 macro73 if (n < KEYSZ + IVSZ) in _rs_init()81 chacha_keysetup(&rsx->rs_chacha, buf, KEYSZ * 8, 0); in _rs_init()82 chacha_ivsetup(&rsx->rs_chacha, buf + KEYSZ); in _rs_init()88 u_char rnd[KEYSZ + IVSZ]; in _rs_stir()131 m = minimum(datlen, KEYSZ + IVSZ); in _rs_rekey()136 _rs_init(rsx->rs_buf, KEYSZ + IVSZ); in _rs_rekey()137 memset(rsx->rs_buf, 0, KEYSZ + IVSZ); in _rs_rekey()138 rs->rs_have = sizeof(rsx->rs_buf) - KEYSZ - IVSZ; in _rs_rekey()