Lines Matching refs:nbytes
176 unsigned int nbytes, in generate_pat() argument
226 rc = generate_b0(iv, req->assoclen, authsize, nbytes, b0); in generate_pat()
350 unsigned int nbytes = req->cryptlen; in ccm_nx_decrypt() local
359 nbytes -= authsize; in ccm_nx_decrypt()
363 req->src, nbytes, authsize, in ccm_nx_decrypt()
366 rc = generate_pat(desc->info, req, nx_ctx, authsize, nbytes, in ccm_nx_decrypt()
376 to_process = nbytes - processed; in ccm_nx_decrypt()
378 if ((to_process + processed) < nbytes) in ccm_nx_decrypt()
413 } while (processed < nbytes); in ccm_nx_decrypt()
427 unsigned int nbytes = req->cryptlen; in ccm_nx_encrypt() local
435 rc = generate_pat(desc->info, req, nx_ctx, authsize, nbytes, in ccm_nx_encrypt()
444 to_process = nbytes - processed; in ccm_nx_encrypt()
446 if ((to_process + processed) < nbytes) in ccm_nx_encrypt()
482 } while (processed < nbytes); in ccm_nx_encrypt()
486 req->dst, nbytes, authsize, in ccm_nx_encrypt()