Home
last modified time | relevance | path

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

/external/dropbear/libtomcrypt/src/encauth/ocb/
Docb_done_decrypt.c37 unsigned char *tagbuf; in ocb_done_decrypt() local
50 tagbuf = XMALLOC(MAXBLOCKSIZE); in ocb_done_decrypt()
51 if (tagbuf == NULL) { in ocb_done_decrypt()
56 if ((err = s_ocb_done(ocb, ct, ctlen, pt, tagbuf, &tagbuflen, 1)) != CRYPT_OK) { in ocb_done_decrypt()
60 if (taglen <= tagbuflen && XMEMCMP(tagbuf, tag, taglen) == 0) { in ocb_done_decrypt()
67 zeromem(tagbuf, MAXBLOCKSIZE); in ocb_done_decrypt()
70 XFREE(tagbuf); in ocb_done_decrypt()