Searched refs:arc4_buf (Results 1 – 1 of 1) sorted by relevance
50 uint8_t arc4_buf[ARC4_KSBUFSZ]; /* keystream blocks */ member70 chacha_encrypt_bytes(&arc4->arc4_chacha, arc4->arc4_buf, arc4->arc4_buf, in arc4_rekey()71 sizeof (arc4->arc4_buf)); in arc4_rekey()79 arc4->arc4_buf[i] ^= data[i]; in arc4_rekey()83 arc4_init(arc4->arc4_buf, ARC4_KEYSZ + ARC4_IVSZ); in arc4_rekey()84 explicit_bzero(arc4->arc4_buf, ARC4_KEYSZ + ARC4_IVSZ); in arc4_rekey()85 arc4->arc4_have = sizeof (arc4->arc4_buf) - ARC4_KEYSZ - ARC4_IVSZ; in arc4_rekey()107 memset(arc4->arc4_buf, 0, sizeof (arc4->arc4_buf)); in arc4_stir()144 keystream = arc4->arc4_buf + sizeof (arc4->arc4_buf) - in arc4_fill()