D | adiantum.cpp | 133 const uint8_t nonce[kXChaChaNonceSize], const uint8_t *src, in XChaCha() argument 161 dst[i + j] = src[i + j] ^ keystream.bytes[j]; in XChaCha() 179 const uint8_t *src, uint8_t *dst, int nbytes) { in XChaCha12() argument 180 XChaCha(key, nonce, src, dst, nbytes, 12); in XChaCha12() 283 const uint8_t *src, uint8_t *dst, in DoEncrypt() argument 309 AdiantumHash(&subkeys[kAes256KeySize], iv, src, bulk_len, hash); in DoEncrypt() 310 le128_add(rbuf, &src[bulk_len], hash); in DoEncrypt() 317 XChaCha12(key, rbuf, src, dst, bulk_len); in DoEncrypt()
|