Home
last modified time | relevance | path

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

/external/dropbear/libtomcrypt/src/encauth/eax/
Deax_done.c30 unsigned char *headermac, *ctmac; in eax_done() local
39 ctmac = XMALLOC(MAXBLOCKSIZE); in eax_done()
41 if (headermac == NULL || ctmac == NULL) { in eax_done()
45 if (ctmac != NULL) { in eax_done()
46 XFREE(ctmac); in eax_done()
53 if ((err = omac_done(&eax->ctomac, ctmac, &len)) != CRYPT_OK) { in eax_done()
72 tag[x] = eax->N[x] ^ headermac[x] ^ ctmac[x]; in eax_done()
79 zeromem(ctmac, MAXBLOCKSIZE); in eax_done()
84 XFREE(ctmac); in eax_done()