Lines Matching refs:authsize
109 unsigned int authsize) in crypto_ccm_setauthsize() argument
111 switch (authsize) { in crypto_ccm_setauthsize()
328 unsigned int authsize = crypto_aead_authsize(aead); in crypto_ccm_decrypt_done() local
329 unsigned int cryptlen = req->cryptlen - authsize; in crypto_ccm_decrypt_done()
338 if (!err && crypto_memneq(pctx->auth_tag, pctx->odata, authsize)) in crypto_ccm_decrypt_done()
351 unsigned int authsize = crypto_aead_authsize(aead); in crypto_ccm_decrypt() local
358 cryptlen -= authsize; in crypto_ccm_decrypt()
365 authsize, 0); in crypto_ccm_decrypt()
386 if (crypto_memneq(authtag, odata, authsize)) in crypto_ccm_decrypt()
587 unsigned int authsize) in crypto_rfc4309_setauthsize() argument
591 switch (authsize) { in crypto_rfc4309_setauthsize()
600 return crypto_aead_setauthsize(ctx->child, authsize); in crypto_rfc4309_setauthsize()