Lines Matching defs:authsize
1354 u32 authsize;
1357 authsize = crypto_aead_authsize(tfm);
1358 ctx->textlen = req->cryptlen - (enc ? 0 : authsize);
1505 u32 offset, authsize, itag[4], *otag = ctx->tag;
1515 authsize = crypto_aead_authsize(tfm);
1517 scatterwalk_map_and_copy(otag, req->dst, offset, authsize, 1);
1520 scatterwalk_map_and_copy(itag, req->src, offset, authsize, 0);
1521 err = crypto_memneq(itag, otag, authsize) ? -EBADMSG : 0;
1560 unsigned int authsize)
1562 return crypto_gcm_check_authsize(authsize);
1882 u32 offs, authsize;
1890 authsize = crypto_aead_authsize(tfm);
1892 scatterwalk_map_and_copy(odigest, req->dst, offs, authsize, 1);
1894 scatterwalk_map_and_copy(idigest, req->src, offs, authsize, 0);
1895 if (crypto_memneq(idigest, odigest, authsize))
1998 u32 authsize = crypto_aead_authsize(tfm);
2002 if (!enc && req->cryptlen < authsize)
2004 rctx->textlen = req->cryptlen - (enc ? 0 : authsize);