Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/cipher_extra/
De_aesctrhmac.c204 uint8_t hmac_result[SHA256_DIGEST_LENGTH]; in aead_aes_ctr_hmac_sha256_seal_scatter() local
205 hmac_calculate(hmac_result, &aes_ctx->inner_init_state, in aead_aes_ctr_hmac_sha256_seal_scatter()
207 OPENSSL_memcpy(out_tag, hmac_result, ctx->tag_len); in aead_aes_ctr_hmac_sha256_seal_scatter()
229 uint8_t hmac_result[SHA256_DIGEST_LENGTH]; in aead_aes_ctr_hmac_sha256_open_gather() local
230 hmac_calculate(hmac_result, &aes_ctx->inner_init_state, in aead_aes_ctr_hmac_sha256_open_gather()
233 if (CRYPTO_memcmp(hmac_result, in_tag, ctx->tag_len) != 0) { in aead_aes_ctr_hmac_sha256_open_gather()