Searched refs:rbuf (Results 1 – 1 of 1) sorted by relevance
/test/vts-testcase/kernel/encryption/ |
D | adiantum.cpp | 285 uint8_t rbuf[kXChaChaNonceSize] = {1}; in DoCrypt() local 300 XChaCha12(key, rbuf, subkeys, subkeys, sizeof(subkeys)); in DoCrypt() 315 le128_add(rbuf, &src[bulk_len], hash); in DoCrypt() 318 if (encrypt) AES_encrypt(rbuf, rbuf, &aes_key); in DoCrypt() 321 rbuf[kAesBlockSize] = 1; in DoCrypt() 322 XChaCha12(key, rbuf, src, dst, bulk_len); in DoCrypt() 325 if (!encrypt) AES_decrypt(rbuf, rbuf, &aes_key); in DoCrypt() 329 le128_sub(&dst[bulk_len], rbuf, hash); in DoCrypt()
|