Lines Matching refs:total_todo
334 remaining = rctx->total_todo - chunk_start; in handle_skcipher_req()
498 if (rctx->total_received == rctx->total_todo) { in handle_skcipher_resp()
695 rctx->total_todo, rctx->total_sent); in handle_ahash_req()
725 nbytes_to_hash = rctx->total_todo - rctx->total_sent; in handle_ahash_req()
786 if ((rctx->total_sent == rctx->total_todo) && rctx->is_final) in handle_ahash_req()
1012 if (rctx->is_final && (rctx->total_sent == rctx->total_todo)) in handle_ahash_resp()
1287 chunksize = rctx->total_todo; in handle_aead_req()
1668 if (rctx->total_sent < rctx->total_todo) { in spu_rx_callback()
1726 rctx->total_todo = req->cryptlen; in skcipher_enqueue()
1928 if ((rctx->is_final == 1) && (rctx->total_todo == 0) && in ahash_enqueue()
1971 rctx->total_todo = 0; in __ahash_init()
2083 rctx->total_todo += req->nbytes; in __ahash_update()
2176 rctx->total_todo += req->nbytes; in __ahash_finup()
2290 spu_exp->total_todo = rctx->total_todo; in ahash_export()
2305 rctx->total_todo = spu_exp->total_todo; in ahash_import()
2436 rctx->total_todo += blocksize; in ahash_hmac_init()
2496 rctx->total_todo += blocksize; in ahash_hmac_digest()
2619 rctx->total_todo = req->cryptlen; in aead_enqueue()