Lines Matching refs:total_todo
335 remaining = rctx->total_todo - chunk_start; in handle_skcipher_req()
499 if (rctx->total_received == rctx->total_todo) { in handle_skcipher_resp()
696 rctx->total_todo, rctx->total_sent); in handle_ahash_req()
726 nbytes_to_hash = rctx->total_todo - rctx->total_sent; in handle_ahash_req()
787 if ((rctx->total_sent == rctx->total_todo) && rctx->is_final) in handle_ahash_req()
1013 if (rctx->is_final && (rctx->total_sent == rctx->total_todo)) in handle_ahash_resp()
1288 chunksize = rctx->total_todo; in handle_aead_req()
1669 if (rctx->total_sent < rctx->total_todo) { in spu_rx_callback()
1727 rctx->total_todo = req->cryptlen; in skcipher_enqueue()
1929 if ((rctx->is_final == 1) && (rctx->total_todo == 0) && in ahash_enqueue()
1972 rctx->total_todo = 0; in __ahash_init()
2084 rctx->total_todo += req->nbytes; in __ahash_update()
2177 rctx->total_todo += req->nbytes; in __ahash_finup()
2291 spu_exp->total_todo = rctx->total_todo; in ahash_export()
2306 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()
2656 rctx->total_todo = req->cryptlen; in aead_enqueue()