Searched refs:computed_mac (Results 1 – 1 of 1) sorted by relevance
179 unsigned char computed_mac[crypto_aead_chacha20poly1305_ABYTES]; in crypto_aead_chacha20poly1305_decrypt_detached() local197 crypto_onetimeauth_poly1305_final(&state, computed_mac); in crypto_aead_chacha20poly1305_decrypt_detached()200 COMPILER_ASSERT(sizeof computed_mac == 16U); in crypto_aead_chacha20poly1305_decrypt_detached()201 ret = crypto_verify_16(computed_mac, mac); in crypto_aead_chacha20poly1305_decrypt_detached()202 sodium_memzero(computed_mac, sizeof computed_mac); in crypto_aead_chacha20poly1305_decrypt_detached()259 unsigned char computed_mac[crypto_aead_chacha20poly1305_ietf_ABYTES]; in crypto_aead_chacha20poly1305_ietf_decrypt_detached() local281 crypto_onetimeauth_poly1305_final(&state, computed_mac); in crypto_aead_chacha20poly1305_ietf_decrypt_detached()284 COMPILER_ASSERT(sizeof computed_mac == 16U); in crypto_aead_chacha20poly1305_ietf_decrypt_detached()285 ret = crypto_verify_16(computed_mac, mac); in crypto_aead_chacha20poly1305_ietf_decrypt_detached()286 sodium_memzero(computed_mac, sizeof computed_mac); in crypto_aead_chacha20poly1305_ietf_decrypt_detached()