Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/eax/
A Deax_done.c22 unsigned char *headermac, *ctmac; in eax_done() local
31 ctmac = XMALLOC(MAXBLOCKSIZE); in eax_done()
33 if (headermac == NULL || ctmac == NULL) { in eax_done()
37 if (ctmac != NULL) { in eax_done()
38 XFREE(ctmac); in eax_done()
45 if ((err = omac_done(&eax->ctomac, ctmac, &len)) != CRYPT_OK) { in eax_done()
64 tag[x] = eax->N[x] ^ headermac[x] ^ ctmac[x]; in eax_done()
71 zeromem(ctmac, MAXBLOCKSIZE); in eax_done()
76 XFREE(ctmac); in eax_done()

Completed in 2 milliseconds