• Home
  • Raw
  • Download

Lines Matching refs:authsize

192 	unsigned int authsize;  in authenc_esn_verify_ahash_update_done()  local
226 authsize = crypto_aead_authsize(authenc_esn); in authenc_esn_verify_ahash_update_done()
227 cryptlen -= authsize; in authenc_esn_verify_ahash_update_done()
228 ihash = ahreq->result + authsize; in authenc_esn_verify_ahash_update_done()
230 authsize, 0); in authenc_esn_verify_ahash_update_done()
232 err = crypto_memneq(ihash, ahreq->result, authsize) ? -EBADMSG : 0; in authenc_esn_verify_ahash_update_done()
253 unsigned int authsize; in authenc_esn_verify_ahash_update_done2() local
275 authsize = crypto_aead_authsize(authenc_esn); in authenc_esn_verify_ahash_update_done2()
276 cryptlen -= authsize; in authenc_esn_verify_ahash_update_done2()
277 ihash = ahreq->result + authsize; in authenc_esn_verify_ahash_update_done2()
279 authsize, 0); in authenc_esn_verify_ahash_update_done2()
281 err = crypto_memneq(ihash, ahreq->result, authsize) ? -EBADMSG : 0; in authenc_esn_verify_ahash_update_done2()
303 unsigned int authsize; in authenc_esn_verify_ahash_done() local
315 authsize = crypto_aead_authsize(authenc_esn); in authenc_esn_verify_ahash_done()
316 cryptlen -= authsize; in authenc_esn_verify_ahash_done()
317 ihash = ahreq->result + authsize; in authenc_esn_verify_ahash_done()
319 authsize, 0); in authenc_esn_verify_ahash_done()
321 err = crypto_memneq(ihash, ahreq->result, authsize) ? -EBADMSG : 0; in authenc_esn_verify_ahash_done()
540 unsigned int authsize; in crypto_authenc_esn_verify() local
549 authsize = crypto_aead_authsize(authenc_esn); in crypto_authenc_esn_verify()
550 ihash = ohash + authsize; in crypto_authenc_esn_verify()
552 authsize, 0); in crypto_authenc_esn_verify()
553 return crypto_memneq(ihash, ohash, authsize) ? -EBADMSG : 0; in crypto_authenc_esn_verify()
619 unsigned int authsize = crypto_aead_authsize(authenc_esn); in crypto_authenc_esn_decrypt() local
623 if (cryptlen < authsize) in crypto_authenc_esn_decrypt()
625 cryptlen -= authsize; in crypto_authenc_esn_decrypt()