Lines Matching refs:nbytes
119 unsigned int nbytes = assoclen; in nx_gca() local
123 if (nbytes <= AES_BLOCK_SIZE) { in nx_gca()
125 scatterwalk_copychunks(out, &walk, nbytes, SCATTERWALK_FROM_SG); in nx_gca()
143 to_process = min_t(u64, nbytes - processed, in nx_gca()
151 if ((to_process + processed) < nbytes) in nx_gca()
173 } while (processed < nbytes); in nx_gca()
188 unsigned int nbytes = assoclen; in gmac() local
211 to_process = min_t(u64, nbytes - processed, in gmac()
219 if ((to_process + processed) < nbytes) in gmac()
228 csbcpb->cpb.aes_gcm.bit_length_aad = 8 * nbytes; in gmac()
246 } while (processed < nbytes); in gmac()
328 unsigned int nbytes = req->cryptlen; in gcm_aes_nx_crypt() local
339 if (nbytes == 0) { in gcm_aes_nx_crypt()
365 nbytes -= crypto_aead_authsize(crypto_aead_reqtfm(req)); in gcm_aes_nx_crypt()
369 to_process = nbytes - processed; in gcm_aes_nx_crypt()
371 csbcpb->cpb.aes_gcm.bit_length_data = nbytes * 8; in gcm_aes_nx_crypt()
380 if ((to_process + processed) < nbytes) in gcm_aes_nx_crypt()
404 } while (processed < nbytes); in gcm_aes_nx_crypt()
411 req->dst, req->assoclen + nbytes, in gcm_aes_nx_crypt()
419 itag, req->src, req->assoclen + nbytes, in gcm_aes_nx_crypt()