Lines Matching refs:total_todo
334 remaining = rctx->total_todo - chunk_start; in handle_skcipher_req()
500 if (rctx->total_received == rctx->total_todo) { in handle_skcipher_resp()
697 rctx->total_todo, rctx->total_sent); in handle_ahash_req()
727 nbytes_to_hash = rctx->total_todo - rctx->total_sent; in handle_ahash_req()
788 if ((rctx->total_sent == rctx->total_todo) && rctx->is_final) in handle_ahash_req()
1016 if (rctx->is_final && (rctx->total_sent == rctx->total_todo)) in handle_ahash_resp()
1290 chunksize = rctx->total_todo; in handle_aead_req()
1671 if (rctx->total_sent < rctx->total_todo) { in spu_rx_callback()
1729 rctx->total_todo = req->cryptlen; in skcipher_enqueue()
1931 if ((rctx->is_final == 1) && (rctx->total_todo == 0) && in ahash_enqueue()
1974 rctx->total_todo = 0; in __ahash_init()
2086 rctx->total_todo += req->nbytes; in __ahash_update()
2179 rctx->total_todo += req->nbytes; in __ahash_finup()
2293 spu_exp->total_todo = rctx->total_todo; in ahash_export()
2308 rctx->total_todo = spu_exp->total_todo; in ahash_import()
2438 rctx->total_todo += blocksize; in ahash_hmac_init()
2498 rctx->total_todo += blocksize; in ahash_hmac_digest()
2658 rctx->total_todo = req->cryptlen; in aead_enqueue()