Lines Matching refs:nbytes
69 req->nbytes = rctx->nbytes_orig; in qce_ahash_done()
94 rctx->src_nents = sg_nents_for_len(req->src, req->nbytes); in qce_ahash_async_req_handle()
243 unsigned int nbytes; in qce_ahash_update() local
247 rctx->count += req->nbytes; in qce_ahash_update()
250 total = req->nbytes + rctx->buflen; in qce_ahash_update()
254 0, req->nbytes, 0); in qce_ahash_update()
255 rctx->buflen += req->nbytes; in qce_ahash_update()
261 rctx->nbytes_orig = req->nbytes; in qce_ahash_update()
273 unsigned int src_offset = req->nbytes - hash_later; in qce_ahash_update()
279 nbytes = total - hash_later; in qce_ahash_update()
284 while (len < nbytes && sg) { in qce_ahash_update()
285 if (len + sg_dma_len(sg) > nbytes) in qce_ahash_update()
304 req->nbytes = nbytes; in qce_ahash_update()
322 rctx->nbytes_orig = req->nbytes; in qce_ahash_final()
328 req->nbytes = rctx->buflen; in qce_ahash_final()
345 rctx->nbytes_orig = req->nbytes; in qce_ahash_digest()