Lines Matching refs:authsize
105 unsigned int authsize) in crypto_ccm_setauthsize() argument
107 switch (authsize) { in crypto_ccm_setauthsize()
362 unsigned int authsize = crypto_aead_authsize(aead); in crypto_ccm_decrypt_done() local
363 unsigned int cryptlen = req->cryptlen - authsize; in crypto_ccm_decrypt_done()
367 if (!err && crypto_memneq(pctx->auth_tag, pctx->odata, authsize)) in crypto_ccm_decrypt_done()
380 unsigned int authsize = crypto_aead_authsize(aead); in crypto_ccm_decrypt() local
387 if (cryptlen < authsize) in crypto_ccm_decrypt()
389 cryptlen -= authsize; in crypto_ccm_decrypt()
397 scatterwalk_map_and_copy(authtag, req->src, cryptlen, authsize, 0); in crypto_ccm_decrypt()
426 if (crypto_memneq(authtag, odata, authsize)) in crypto_ccm_decrypt()
662 unsigned int authsize) in crypto_rfc4309_setauthsize() argument
666 switch (authsize) { in crypto_rfc4309_setauthsize()
675 return crypto_aead_setauthsize(ctx->child, authsize); in crypto_rfc4309_setauthsize()