Lines Matching refs:authsize
105 unsigned int authsize) in crypto_ccm_setauthsize() argument
107 switch (authsize) { in crypto_ccm_setauthsize()
361 unsigned int authsize = crypto_aead_authsize(aead); in crypto_ccm_decrypt_done() local
362 unsigned int cryptlen = req->cryptlen - authsize; in crypto_ccm_decrypt_done()
366 if (!err && memcmp(pctx->auth_tag, pctx->odata, authsize)) in crypto_ccm_decrypt_done()
379 unsigned int authsize = crypto_aead_authsize(aead); in crypto_ccm_decrypt() local
386 if (cryptlen < authsize) in crypto_ccm_decrypt()
388 cryptlen -= authsize; in crypto_ccm_decrypt()
396 scatterwalk_map_and_copy(authtag, req->src, cryptlen, authsize, 0); in crypto_ccm_decrypt()
425 if (memcmp(authtag, odata, authsize)) in crypto_ccm_decrypt()
668 unsigned int authsize) in crypto_rfc4309_setauthsize() argument
672 switch (authsize) { in crypto_rfc4309_setauthsize()
681 return crypto_aead_setauthsize(ctx->child, authsize); in crypto_rfc4309_setauthsize()