Lines Matching refs:authsize
70 unsigned int authsize) in ccm_aes_nx_setauthsize() argument
72 switch (authsize) { in ccm_aes_nx_setauthsize()
89 unsigned int authsize) in ccm4309_aes_nx_setauthsize() argument
91 switch (authsize) { in ccm4309_aes_nx_setauthsize()
133 static int generate_b0(u8 *iv, unsigned int assoclen, unsigned int authsize, in generate_b0() argument
136 unsigned int l, lp, m = authsize; in generate_b0()
156 unsigned int authsize, in generate_pat() argument
208 rc = generate_b0(iv, assoclen, authsize, nbytes, b0); in generate_pat()
333 unsigned int authsize = crypto_aead_authsize(crypto_aead_reqtfm(req)); in ccm_nx_decrypt() local
341 nbytes -= authsize; in ccm_nx_decrypt()
345 req->src, nbytes + req->assoclen, authsize, in ccm_nx_decrypt()
348 rc = generate_pat(iv, req, nx_ctx, authsize, nbytes, assoclen, in ccm_nx_decrypt()
398 authsize) ? -EBADMSG : 0; in ccm_nx_decrypt()
411 unsigned int authsize = crypto_aead_authsize(crypto_aead_reqtfm(req)); in ccm_nx_encrypt() local
418 rc = generate_pat(iv, req, nx_ctx, authsize, nbytes, assoclen, in ccm_nx_encrypt()
469 req->dst, nbytes + req->assoclen, authsize, in ccm_nx_encrypt()