Lines Matching refs:authsize
111 unsigned int authsize) in crypto_ccm_setauthsize() argument
113 switch (authsize) { in crypto_ccm_setauthsize()
389 unsigned int authsize = crypto_aead_authsize(aead); in crypto_ccm_decrypt_done() local
390 unsigned int cryptlen = req->cryptlen - authsize; in crypto_ccm_decrypt_done()
399 if (!err && crypto_memneq(pctx->auth_tag, pctx->odata, authsize)) in crypto_ccm_decrypt_done()
412 unsigned int authsize = crypto_aead_authsize(aead); in crypto_ccm_decrypt() local
419 cryptlen -= authsize; in crypto_ccm_decrypt()
426 authsize, 0); in crypto_ccm_decrypt()
447 if (crypto_memneq(authtag, odata, authsize)) in crypto_ccm_decrypt()
692 unsigned int authsize) in crypto_rfc4309_setauthsize() argument
696 switch (authsize) { in crypto_rfc4309_setauthsize()
705 return crypto_aead_setauthsize(ctx->child, authsize); in crypto_rfc4309_setauthsize()