Lines Matching refs:authsize
109 unsigned int authsize) in crypto_ccm_setauthsize() argument
111 switch (authsize) { in crypto_ccm_setauthsize()
329 unsigned int authsize = crypto_aead_authsize(aead); in crypto_ccm_decrypt_done() local
330 unsigned int cryptlen = req->cryptlen - authsize; in crypto_ccm_decrypt_done()
339 if (!err && crypto_memneq(pctx->auth_tag, pctx->odata, authsize)) in crypto_ccm_decrypt_done()
352 unsigned int authsize = crypto_aead_authsize(aead); in crypto_ccm_decrypt() local
359 cryptlen -= authsize; in crypto_ccm_decrypt()
366 authsize, 0); in crypto_ccm_decrypt()
387 if (crypto_memneq(authtag, odata, authsize)) in crypto_ccm_decrypt()
588 unsigned int authsize) in crypto_rfc4309_setauthsize() argument
592 switch (authsize) { in crypto_rfc4309_setauthsize()
601 return crypto_aead_setauthsize(ctx->child, authsize); in crypto_rfc4309_setauthsize()