Home
last modified time | relevance | path

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

/rk3399_ARM-atf/drivers/auth/mbedtls/
H A Dmbedtls_crypto.c315 unsigned char tag_buf[CRYPTO_MAX_TAG_SIZE]; in aes_gcm_decrypt() local
359 rc = mbedtls_gcm_finish(&ctx, tag_buf, sizeof(tag_buf)); in aes_gcm_decrypt()
361 rc = mbedtls_gcm_finish(&ctx, NULL, 0, &output_length, tag_buf, sizeof(tag_buf)); in aes_gcm_decrypt()
371 diff |= ((const unsigned char *)tag)[i] ^ tag_buf[i]; in aes_gcm_decrypt()
/rk3399_ARM-atf/plat/st/common/
H A Dstm32mp_crypto_lib.c580 unsigned char tag_buf[CRYPTO_MAX_TAG_SIZE]; in stm32_decrypt_aes_gcm() local
603 ret = stm32_saes_final(&ctx, tag_buf, sizeof(tag_buf)); in stm32_decrypt_aes_gcm()
610 diff |= ((const unsigned char *)tag)[i] ^ tag_buf[i]; in stm32_decrypt_aes_gcm()