Lines Matching refs:nbytes
70 req->nbytes = rctx->nbytes_orig; in qce_ahash_done()
95 rctx->src_nents = qce_countsg(req->src, req->nbytes, in qce_ahash_async_req_handle()
242 unsigned int nbytes; in qce_ahash_update() local
246 rctx->count += req->nbytes; in qce_ahash_update()
249 total = req->nbytes + rctx->buflen; in qce_ahash_update()
253 0, req->nbytes, 0); in qce_ahash_update()
254 rctx->buflen += req->nbytes; in qce_ahash_update()
260 rctx->nbytes_orig = req->nbytes; in qce_ahash_update()
272 unsigned int src_offset = req->nbytes - hash_later; in qce_ahash_update()
278 nbytes = total - hash_later; in qce_ahash_update()
283 while (len < nbytes && sg) { in qce_ahash_update()
284 if (len + sg_dma_len(sg) > nbytes) in qce_ahash_update()
303 req->nbytes = nbytes; in qce_ahash_update()
321 rctx->nbytes_orig = req->nbytes; in qce_ahash_final()
327 req->nbytes = rctx->buflen; in qce_ahash_final()
344 rctx->nbytes_orig = req->nbytes; in qce_ahash_digest()