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()
128 unsigned int authsize = crypto_aead_authsize(authenc_esn); in crypto_authenc_esn_genicv() local
134 if (!authsize) in crypto_authenc_esn_genicv()
221 unsigned int authsize = crypto_aead_authsize(authenc_esn); in crypto_authenc_esn_decrypt_tail() local
229 unsigned int cryptlen = req->cryptlen - authsize; in crypto_authenc_esn_decrypt_tail()
235 if (!authsize) in crypto_authenc_esn_decrypt_tail()
243 if (crypto_memneq(ihash, ohash, authsize)) in crypto_authenc_esn_decrypt_tail()
273 unsigned int authsize = crypto_aead_authsize(authenc_esn); in crypto_authenc_esn_decrypt() local
284 cryptlen -= authsize; in crypto_authenc_esn_decrypt()
293 authsize, 0); in crypto_authenc_esn_decrypt()
295 if (!authsize) in crypto_authenc_esn_decrypt()