Lines Matching refs:authsize
153 unsigned int authsize) in crypto_gcm_setauthsize() argument
155 return crypto_gcm_check_authsize(authsize); in crypto_gcm_setauthsize()
477 unsigned int authsize = crypto_aead_authsize(aead); in crypto_gcm_verify() local
478 unsigned int cryptlen = req->cryptlen - authsize; in crypto_gcm_verify()
482 req->assoclen + cryptlen, authsize, 0); in crypto_gcm_verify()
483 return crypto_memneq(iauth_tag, auth_tag, authsize) ? -EBADMSG : 0; in crypto_gcm_verify()
512 unsigned int authsize = crypto_aead_authsize(aead); in crypto_gcm_decrypt() local
516 cryptlen -= authsize; in crypto_gcm_decrypt()
749 unsigned int authsize) in crypto_rfc4106_setauthsize() argument
754 err = crypto_rfc4106_check_authsize(authsize); in crypto_rfc4106_setauthsize()
758 return crypto_aead_setauthsize(ctx->child, authsize); in crypto_rfc4106_setauthsize()
978 unsigned int authsize) in crypto_rfc4543_setauthsize() argument
982 if (authsize != 16) in crypto_rfc4543_setauthsize()
985 return crypto_aead_setauthsize(ctx->child, authsize); in crypto_rfc4543_setauthsize()
994 unsigned int authsize = crypto_aead_authsize(aead); in crypto_rfc4543_crypt() local
1012 enc ? 0 : authsize, iv); in crypto_rfc4543_crypt()
1023 unsigned int authsize = crypto_aead_authsize(aead); in crypto_rfc4543_copy_src_to_dst() local
1025 (enc ? 0 : authsize); in crypto_rfc4543_copy_src_to_dst()