Home
last modified time | relevance | path

Searched refs:computed_mac (Results 1 – 1 of 1) sorted by relevance

/f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_aead/chacha20poly1305/sodium/
H A Daead_chacha20poly1305.c179 unsigned char computed_mac[crypto_aead_chacha20poly1305_ABYTES]; in crypto_aead_chacha20poly1305_decrypt_detached() local
197 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() local
281 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()