Lines Matching refs:nbytes
132 unsigned int nbytes = req->assoclen; in nx_gca() local
136 if (nbytes <= AES_BLOCK_SIZE) { in nx_gca()
138 scatterwalk_copychunks(out, &walk, nbytes, SCATTERWALK_FROM_SG); in nx_gca()
156 to_process = min_t(u64, nbytes - processed, in nx_gca()
164 if ((to_process + processed) < nbytes) in nx_gca()
186 } while (processed < nbytes); in nx_gca()
199 unsigned int nbytes = req->assoclen; in gmac() local
222 to_process = min_t(u64, nbytes - processed, in gmac()
230 if ((to_process + processed) < nbytes) in gmac()
239 csbcpb->cpb.aes_gcm.bit_length_aad = 8 * nbytes; in gmac()
257 } while (processed < nbytes); in gmac()
336 unsigned int nbytes = req->cryptlen; in gcm_aes_nx_crypt() local
347 if (nbytes == 0) { in gcm_aes_nx_crypt()
372 nbytes -= crypto_aead_authsize(crypto_aead_reqtfm(req)); in gcm_aes_nx_crypt()
376 to_process = nbytes - processed; in gcm_aes_nx_crypt()
378 csbcpb->cpb.aes_gcm.bit_length_data = nbytes * 8; in gcm_aes_nx_crypt()
387 if ((to_process + processed) < nbytes) in gcm_aes_nx_crypt()
411 } while (processed < nbytes); in gcm_aes_nx_crypt()
417 req->dst, nbytes, in gcm_aes_nx_crypt()
424 scatterwalk_map_and_copy(itag, req->src, nbytes, in gcm_aes_nx_crypt()