Searched refs:tagbuf (Results 1 – 1 of 1) sorted by relevance
29 unsigned char *tagbuf; in ocb_done_decrypt() local42 tagbuf = XMALLOC(MAXBLOCKSIZE); in ocb_done_decrypt()43 if (tagbuf == NULL) { in ocb_done_decrypt()48 if ((err = s_ocb_done(ocb, ct, ctlen, pt, tagbuf, &tagbuflen, 1)) != CRYPT_OK) { in ocb_done_decrypt()52 if (taglen <= tagbuflen && XMEM_NEQ(tagbuf, tag, taglen) == 0) { in ocb_done_decrypt()59 zeromem(tagbuf, MAXBLOCKSIZE); in ocb_done_decrypt()62 XFREE(tagbuf); in ocb_done_decrypt()