Lines Matching refs:authsize
50 unsigned int authsize) in crypto_authenc_esn_setauthsize() argument
52 if (authsize > 0 && authsize < 4) in crypto_authenc_esn_setauthsize()
95 unsigned int authsize = crypto_aead_authsize(authenc_esn); in crypto_authenc_esn_genicv_tail() local
106 scatterwalk_map_and_copy(hash, dst, assoclen + cryptlen, authsize, 1); in crypto_authenc_esn_genicv_tail()
129 unsigned int authsize = crypto_aead_authsize(authenc_esn); in crypto_authenc_esn_genicv() local
135 if (!authsize) in crypto_authenc_esn_genicv()
223 unsigned int authsize = crypto_aead_authsize(authenc_esn); in crypto_authenc_esn_decrypt_tail() local
231 unsigned int cryptlen = req->cryptlen - authsize; in crypto_authenc_esn_decrypt_tail()
237 if (!authsize) in crypto_authenc_esn_decrypt_tail()
245 if (crypto_memneq(ihash, ohash, authsize)) in crypto_authenc_esn_decrypt_tail()
276 unsigned int authsize = crypto_aead_authsize(authenc_esn); in crypto_authenc_esn_decrypt() local
287 cryptlen -= authsize; in crypto_authenc_esn_decrypt()
296 authsize, 0); in crypto_authenc_esn_decrypt()
298 if (!authsize) in crypto_authenc_esn_decrypt()