Searched refs:tag_buf (Results 1 – 2 of 2) sorted by relevance
315 unsigned char tag_buf[CRYPTO_MAX_TAG_SIZE]; in aes_gcm_decrypt() local359 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()
580 unsigned char tag_buf[CRYPTO_MAX_TAG_SIZE]; in stm32_decrypt_aes_gcm() local603 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()