Lines Matching refs:authsize
106 unsigned int authsize) in crypto_ccm_setauthsize() argument
108 switch (authsize) { in crypto_ccm_setauthsize()
325 unsigned int authsize = crypto_aead_authsize(aead); in crypto_ccm_decrypt_done() local
326 unsigned int cryptlen = req->cryptlen - authsize; in crypto_ccm_decrypt_done()
335 if (!err && crypto_memneq(pctx->auth_tag, pctx->odata, authsize)) in crypto_ccm_decrypt_done()
348 unsigned int authsize = crypto_aead_authsize(aead); in crypto_ccm_decrypt() local
355 cryptlen -= authsize; in crypto_ccm_decrypt()
362 authsize, 0); in crypto_ccm_decrypt()
383 if (crypto_memneq(authtag, odata, authsize)) in crypto_ccm_decrypt()
582 unsigned int authsize) in crypto_rfc4309_setauthsize() argument
586 switch (authsize) { in crypto_rfc4309_setauthsize()
595 return crypto_aead_setauthsize(ctx->child, authsize); in crypto_rfc4309_setauthsize()