Lines Matching refs:total_todo
333 remaining = rctx->total_todo - chunk_start; in handle_skcipher_req()
497 if (rctx->total_received == rctx->total_todo) { in handle_skcipher_resp()
692 rctx->total_todo, rctx->total_sent); in handle_ahash_req()
722 nbytes_to_hash = rctx->total_todo - rctx->total_sent; in handle_ahash_req()
783 if ((rctx->total_sent == rctx->total_todo) && rctx->is_final) in handle_ahash_req()
1009 if (rctx->is_final && (rctx->total_sent == rctx->total_todo)) in handle_ahash_resp()
1282 chunksize = rctx->total_todo; in handle_aead_req()
1663 if (rctx->total_sent < rctx->total_todo) { in spu_rx_callback()
1721 rctx->total_todo = req->cryptlen; in skcipher_enqueue()
1923 if ((rctx->is_final == 1) && (rctx->total_todo == 0) && in ahash_enqueue()
1966 rctx->total_todo = 0; in __ahash_init()
2078 rctx->total_todo += req->nbytes; in __ahash_update()
2171 rctx->total_todo += req->nbytes; in __ahash_finup()
2285 spu_exp->total_todo = rctx->total_todo; in ahash_export()
2300 rctx->total_todo = spu_exp->total_todo; in ahash_import()
2434 rctx->total_todo += blocksize; in ahash_hmac_init()
2494 rctx->total_todo += blocksize; in ahash_hmac_digest()
2617 rctx->total_todo = req->cryptlen; in aead_enqueue()