Lines Matching refs:authsize
177 unsigned int authsize) in crypto_gcm_setauthsize() argument
179 switch (authsize) { in crypto_gcm_setauthsize()
514 unsigned int authsize = crypto_aead_authsize(aead); in crypto_gcm_verify() local
515 unsigned int cryptlen = req->cryptlen - authsize; in crypto_gcm_verify()
519 req->assoclen + cryptlen, authsize, 0); in crypto_gcm_verify()
520 return crypto_memneq(iauth_tag, auth_tag, authsize) ? -EBADMSG : 0; in crypto_gcm_verify()
549 unsigned int authsize = crypto_aead_authsize(aead); in crypto_gcm_decrypt() local
553 cryptlen -= authsize; in crypto_gcm_decrypt()
807 unsigned int authsize) in crypto_rfc4106_setauthsize() argument
811 switch (authsize) { in crypto_rfc4106_setauthsize()
820 return crypto_aead_setauthsize(ctx->child, authsize); in crypto_rfc4106_setauthsize()
1039 unsigned int authsize) in crypto_rfc4543_setauthsize() argument
1043 if (authsize != 16) in crypto_rfc4543_setauthsize()
1046 return crypto_aead_setauthsize(ctx->child, authsize); in crypto_rfc4543_setauthsize()
1055 unsigned int authsize = crypto_aead_authsize(aead); in crypto_rfc4543_crypt() local
1073 enc ? 0 : authsize, iv); in crypto_rfc4543_crypt()
1084 unsigned int authsize = crypto_aead_authsize(aead); in crypto_rfc4543_copy_src_to_dst() local
1086 (enc ? 0 : authsize); in crypto_rfc4543_copy_src_to_dst()