Searched refs:tag_buf (Results 1 – 2 of 2) sorted by relevance
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| A D | gcm.c | 780 unsigned char tag_buf[16]; in mbedtls_gcm_self_test() local 821 buf, 16, tag_buf ); in mbedtls_gcm_self_test() 836 memcmp( tag_buf, tag_test_data[j * 6 + i], 16 ) != 0 ) in mbedtls_gcm_self_test() 865 ct_test_data[j * 6 + i], buf, 16, tag_buf ); in mbedtls_gcm_self_test() 872 memcmp( tag_buf, tag_test_data[j * 6 + i], 16 ) != 0 ) in mbedtls_gcm_self_test() 927 ret = mbedtls_gcm_finish( &ctx, tag_buf, 16 ); in mbedtls_gcm_self_test() 933 memcmp( tag_buf, tag_test_data[j * 6 + i], 16 ) != 0 ) in mbedtls_gcm_self_test() 987 ret = mbedtls_gcm_finish( &ctx, tag_buf, 16 ); in mbedtls_gcm_self_test() 993 memcmp( tag_buf, tag_test_data[j * 6 + i], 16 ) != 0 ) in mbedtls_gcm_self_test()
|
| /optee_os/core/drivers/crypto/stm32/ |
| A D | authenc.c | 290 unsigned char tag_buf[MAX_TAG_SIZE] = { 0 }; in stm32_ae_dec_final() local 297 res = stm32_ae_encdec_final(c, tag_buf, sizeof(tag_buf)); in stm32_ae_dec_final() 301 if (consttime_memcmp(tag_buf, dfinal->tag.data, dfinal->tag.length)) in stm32_ae_dec_final()
|
Completed in 10 milliseconds