Searched refs:derived_nonce (Results 1 – 1 of 1) sorted by relevance
/external/boringssl/src/crypto/cipher_extra/ |
D | e_chacha20poly1305.c | 287 alignas(4) uint8_t derived_nonce[12]; in aead_xchacha20_poly1305_seal_scatter() local 289 OPENSSL_memset(derived_nonce, 0, 4); in aead_xchacha20_poly1305_seal_scatter() 290 OPENSSL_memcpy(&derived_nonce[4], &nonce[16], 8); in aead_xchacha20_poly1305_seal_scatter() 294 derived_nonce, sizeof(derived_nonce), in, in_len, extra_in, extra_in_len, in aead_xchacha20_poly1305_seal_scatter() 368 alignas(4) uint8_t derived_nonce[12]; in aead_xchacha20_poly1305_open_gather() local 370 OPENSSL_memset(derived_nonce, 0, 4); in aead_xchacha20_poly1305_open_gather() 371 OPENSSL_memcpy(&derived_nonce[4], &nonce[16], 8); in aead_xchacha20_poly1305_open_gather() 374 derived_key, out, derived_nonce, sizeof(derived_nonce), in, in_len, in aead_xchacha20_poly1305_open_gather()
|