Lines Matching refs:total_todo
350 remaining = rctx->total_todo - chunk_start; in handle_ablkcipher_req()
546 if (rctx->total_received == rctx->total_todo) { in handle_ablkcipher_resp()
743 rctx->total_todo, rctx->total_sent); in handle_ahash_req()
773 nbytes_to_hash = rctx->total_todo - rctx->total_sent; in handle_ahash_req()
834 if ((rctx->total_sent == rctx->total_todo) && rctx->is_final) in handle_ahash_req()
1062 if (rctx->is_final && (rctx->total_sent == rctx->total_todo)) in handle_ahash_resp()
1336 chunksize = rctx->total_todo; in handle_aead_req()
1721 if (rctx->total_sent < rctx->total_todo) { in spu_rx_callback()
1779 rctx->total_todo = req->nbytes; in ablkcipher_enqueue()
2027 if ((rctx->is_final == 1) && (rctx->total_todo == 0) && in ahash_enqueue()
2070 rctx->total_todo = 0; in __ahash_init()
2183 rctx->total_todo += req->nbytes; in __ahash_update()
2276 rctx->total_todo += req->nbytes; in __ahash_finup()
2390 spu_exp->total_todo = rctx->total_todo; in ahash_export()
2405 rctx->total_todo = spu_exp->total_todo; in ahash_import()
2535 rctx->total_todo += blocksize; in ahash_hmac_init()
2595 rctx->total_todo += blocksize; in ahash_hmac_digest()
2742 rctx->total_todo = req->cryptlen; in aead_enqueue()