Searched refs:tag2 (Results 1 – 2 of 2) sorted by relevance
/optee_os-3.20.0/core/drivers/crypto/stm32/ |
A D | authenc.c | 57 uint8_t tag2[MAX_TAG_SIZE] = { 0 }; in stm32_ae_gcm_generate_iv() local 100 res = stm32_cryp_final(&ctx, tag2, sizeof(tag2)); in stm32_ae_gcm_generate_iv() 104 xor_vec((uint8_t *)j0, tag1, tag2, sizeof(tag1)); in stm32_ae_gcm_generate_iv() 131 res = stm32_cryp_update(&ctx, true, (uint8_t *)j0, tag2, in stm32_ae_gcm_generate_iv() 132 sizeof(tag2)); in stm32_ae_gcm_generate_iv() 140 xor_vec(c->tag_mask, tag1, tag2, sizeof(c->tag_mask)); in stm32_ae_gcm_generate_iv()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/ccm/ |
A D | ccm_test.c | 109 unsigned char buf[64], buf2[64], tag[16], tag2[16], tag3[16], zero[64]; in ccm_test() 204 if ((err = ccm_done(&ccm, tag2, &taglen)) != CRYPT_OK) { in ccm_test() 232 … if (compare_testvector(tag2, taglen, tests[x].tag, tests[x].taglen, "CCM decrypt tag", x)) { in ccm_test()
|
Completed in 3 milliseconds