Lines Matching refs:authsize
117 unsigned int authsize) in crypto_ccm_setauthsize() argument
119 switch (authsize) { in crypto_ccm_setauthsize()
337 unsigned int authsize = crypto_aead_authsize(aead); in crypto_ccm_decrypt_done() local
338 unsigned int cryptlen = req->cryptlen - authsize; in crypto_ccm_decrypt_done()
347 if (!err && crypto_memneq(pctx->auth_tag, pctx->odata, authsize)) in crypto_ccm_decrypt_done()
360 unsigned int authsize = crypto_aead_authsize(aead); in crypto_ccm_decrypt() local
367 cryptlen -= authsize; in crypto_ccm_decrypt()
374 authsize, 0); in crypto_ccm_decrypt()
395 if (crypto_memneq(authtag, odata, authsize)) in crypto_ccm_decrypt()
626 unsigned int authsize) in crypto_rfc4309_setauthsize() argument
630 switch (authsize) { in crypto_rfc4309_setauthsize()
639 return crypto_aead_setauthsize(ctx->child, authsize); in crypto_rfc4309_setauthsize()