Lines Matching refs:authsize
380 unsigned int authsize) in crypto_aegis128_setauthsize() argument
382 if (authsize > AEGIS128_MAX_AUTH_SIZE) in crypto_aegis128_setauthsize()
384 if (authsize < AEGIS128_MIN_AUTH_SIZE) in crypto_aegis128_setauthsize()
393 unsigned int authsize = crypto_aead_authsize(tfm); in crypto_aegis128_encrypt_generic() local
407 authsize, 1); in crypto_aegis128_encrypt_generic()
416 unsigned int authsize = crypto_aead_authsize(tfm); in crypto_aegis128_decrypt_generic() local
417 unsigned int cryptlen = req->cryptlen - authsize; in crypto_aegis128_decrypt_generic()
423 authsize, 0); in crypto_aegis128_decrypt_generic()
432 if (unlikely(crypto_memneq(tag.bytes, zeros, authsize))) { in crypto_aegis128_decrypt_generic()
454 unsigned int authsize = crypto_aead_authsize(tfm); in crypto_aegis128_encrypt_simd() local
471 authsize, 1); in crypto_aegis128_encrypt_simd()
479 unsigned int authsize = crypto_aead_authsize(tfm); in crypto_aegis128_decrypt_simd() local
480 unsigned int cryptlen = req->cryptlen - authsize; in crypto_aegis128_decrypt_simd()
489 authsize, 0); in crypto_aegis128_decrypt_simd()
498 cryptlen, authsize))) { in crypto_aegis128_decrypt_simd()