Lines Matching refs:authsize
177 unsigned int authsize;
199 authsize = crypto_aead_authsize(authenc);
200 cryptlen -= authsize;
201 ihash = ahreq->result + authsize;
203 authsize, 0);
205 err = memcmp(ihash, ahreq->result, authsize) ? -EBADMSG : 0;
226 unsigned int authsize;
238 authsize = crypto_aead_authsize(authenc);
239 cryptlen -= authsize;
240 ihash = ahreq->result + authsize;
242 authsize, 0);
244 err = memcmp(ihash, ahreq->result, authsize) ? -EBADMSG : 0;
466 unsigned int authsize;
475 authsize = crypto_aead_authsize(authenc);
476 ihash = ohash + authsize;
478 authsize, 0);
479 return memcmp(ihash, ohash, authsize) ? -EBADMSG : 0;
528 unsigned int authsize = crypto_aead_authsize(authenc);
532 if (cryptlen < authsize)
534 cryptlen -= authsize;