Lines Matching defs:authsize
147 unsigned int authsize)
149 return crypto_gcm_check_authsize(authsize);
469 unsigned int authsize = crypto_aead_authsize(aead);
470 unsigned int cryptlen = req->cryptlen - authsize;
474 req->assoclen + cryptlen, authsize, 0);
475 return crypto_memneq(iauth_tag, auth_tag, authsize) ? -EBADMSG : 0;
504 unsigned int authsize = crypto_aead_authsize(aead);
508 cryptlen -= authsize;
706 unsigned int authsize)
711 err = crypto_rfc4106_check_authsize(authsize);
715 return crypto_aead_setauthsize(ctx->child, authsize);
914 unsigned int authsize)
918 if (authsize != 16)
921 return crypto_aead_setauthsize(ctx->child, authsize);
930 unsigned int authsize = crypto_aead_authsize(aead);
948 enc ? 0 : authsize, iv);
959 unsigned int authsize = crypto_aead_authsize(aead);
961 (enc ? 0 : authsize);