Lines Matching refs:spu_exp
2388 struct spu_hash_export_s *spu_exp = (struct spu_hash_export_s *)out; in ahash_export() local
2390 spu_exp->total_todo = rctx->total_todo; in ahash_export()
2391 spu_exp->total_sent = rctx->total_sent; in ahash_export()
2392 spu_exp->is_sw_hmac = rctx->is_sw_hmac; in ahash_export()
2393 memcpy(spu_exp->hash_carry, rctx->hash_carry, sizeof(rctx->hash_carry)); in ahash_export()
2394 spu_exp->hash_carry_len = rctx->hash_carry_len; in ahash_export()
2395 memcpy(spu_exp->incr_hash, rctx->incr_hash, sizeof(rctx->incr_hash)); in ahash_export()
2403 struct spu_hash_export_s *spu_exp = (struct spu_hash_export_s *)in; in ahash_import() local
2405 rctx->total_todo = spu_exp->total_todo; in ahash_import()
2406 rctx->total_sent = spu_exp->total_sent; in ahash_import()
2407 rctx->is_sw_hmac = spu_exp->is_sw_hmac; in ahash_import()
2408 memcpy(rctx->hash_carry, spu_exp->hash_carry, sizeof(rctx->hash_carry)); in ahash_import()
2409 rctx->hash_carry_len = spu_exp->hash_carry_len; in ahash_import()
2410 memcpy(rctx->incr_hash, spu_exp->incr_hash, sizeof(rctx->incr_hash)); in ahash_import()