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()
159 unsigned int authsize, in generate_pat() argument
211 rc = generate_b0(iv, assoclen, authsize, nbytes, b0); in generate_pat()
336 unsigned int authsize = crypto_aead_authsize(crypto_aead_reqtfm(req)); in ccm_nx_decrypt() local
344 nbytes -= authsize; in ccm_nx_decrypt()
348 req->src, nbytes + req->assoclen, authsize, in ccm_nx_decrypt()
351 rc = generate_pat(iv, req, nx_ctx, authsize, nbytes, assoclen, in ccm_nx_decrypt()
401 authsize) ? -EBADMSG : 0; in ccm_nx_decrypt()
414 unsigned int authsize = crypto_aead_authsize(crypto_aead_reqtfm(req)); in ccm_nx_encrypt() local
421 rc = generate_pat(iv, req, nx_ctx, authsize, nbytes, assoclen, in ccm_nx_encrypt()
472 req->dst, nbytes + req->assoclen, authsize, in ccm_nx_encrypt()