Lines Matching defs:authsize
2034 const unsigned int authsize = vec->clen - vec->plen;
2067 err = crypto_aead_setauthsize(tfm, authsize);
2279 const unsigned int authsize = vec->clen - vec->plen;
2290 flip_random_bit(rng, (u8 *)vec->ctext + vec->plen, authsize);
2312 const unsigned int authsize = vec->clen - vec->plen;
2313 const bool inauthentic = (authsize >= MIN_COLLISION_FREE_AUTHSIZE) &&
2383 unsigned int authsize;
2397 authsize = maxauthsize;
2399 authsize = prandom_u32_below(rng, maxauthsize + 1);
2400 if (prefer_inauthentic && authsize < MIN_COLLISION_FREE_AUTHSIZE)
2401 authsize = MIN_COLLISION_FREE_AUTHSIZE;
2402 if (WARN_ON(authsize > maxdatasize))
2403 authsize = maxdatasize;
2404 maxdatasize -= authsize;
2405 vec->setauthsize_error = crypto_aead_setauthsize(tfm, authsize);
2414 vec->clen = vec->plen + authsize;
2425 "\"random: alen=%u plen=%u authsize=%u klen=%u novrfy=%d\"",
2426 vec->alen, vec->plen, authsize, vec->klen, vec->novrfy);