Lines Matching refs:spu_exp
2288 struct spu_hash_export_s *spu_exp = (struct spu_hash_export_s *)out; in ahash_export() local
2290 spu_exp->total_todo = rctx->total_todo; in ahash_export()
2291 spu_exp->total_sent = rctx->total_sent; in ahash_export()
2292 spu_exp->is_sw_hmac = rctx->is_sw_hmac; in ahash_export()
2293 memcpy(spu_exp->hash_carry, rctx->hash_carry, sizeof(rctx->hash_carry)); in ahash_export()
2294 spu_exp->hash_carry_len = rctx->hash_carry_len; in ahash_export()
2295 memcpy(spu_exp->incr_hash, rctx->incr_hash, sizeof(rctx->incr_hash)); in ahash_export()
2303 struct spu_hash_export_s *spu_exp = (struct spu_hash_export_s *)in; in ahash_import() local
2305 rctx->total_todo = spu_exp->total_todo; in ahash_import()
2306 rctx->total_sent = spu_exp->total_sent; in ahash_import()
2307 rctx->is_sw_hmac = spu_exp->is_sw_hmac; in ahash_import()
2308 memcpy(rctx->hash_carry, spu_exp->hash_carry, sizeof(rctx->hash_carry)); in ahash_import()
2309 rctx->hash_carry_len = spu_exp->hash_carry_len; in ahash_import()
2310 memcpy(rctx->incr_hash, spu_exp->incr_hash, sizeof(rctx->incr_hash)); in ahash_import()