Home
last modified time | relevance | path

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

/optee_os/lib/libmbedtls/mbedtls/library/
H A Dgcm.c1021 unsigned char tag_buf[16]; in mbedtls_gcm_self_test() local
1082 buf, 16, tag_buf); in mbedtls_gcm_self_test()
1097 memcmp(tag_buf, tag_test_data[j * 6 + i], 16) != 0) { in mbedtls_gcm_self_test()
1128 ct_test_data[j * 6 + i], buf, 16, tag_buf); in mbedtls_gcm_self_test()
1136 memcmp(tag_buf, tag_test_data[j * 6 + i], 16) != 0) { in mbedtls_gcm_self_test()
1211 ret = mbedtls_gcm_finish(&ctx, NULL, 0, &olen, tag_buf, 16); in mbedtls_gcm_self_test()
1218 memcmp(tag_buf, tag_test_data[j * 6 + i], 16) != 0) { in mbedtls_gcm_self_test()
1291 ret = mbedtls_gcm_finish(&ctx, NULL, 0, &olen, tag_buf, 16); in mbedtls_gcm_self_test()
1298 memcmp(tag_buf, tag_test_data[j * 6 + i], 16) != 0) { in mbedtls_gcm_self_test()
/optee_os/core/drivers/crypto/stm32/
H A Dauthenc.c286 unsigned char tag_buf[MAX_TAG_SIZE] = { 0 }; in stm32_ae_dec_final() local
293 res = stm32_ae_encdec_final(c, tag_buf, sizeof(tag_buf)); in stm32_ae_dec_final()
297 if (consttime_memcmp(tag_buf, dfinal->tag.data, dfinal->tag.length)) in stm32_ae_dec_final()