diff --git a/OpenCL/m36000_a3-pure.cl b/OpenCL/m36000_a3-pure.cl index 9c205e6de..b729f4ea9 100644 --- a/OpenCL/m36000_a3-pure.cl +++ b/OpenCL/m36000_a3-pure.cl @@ -56,7 +56,7 @@ KERNEL_FQ void m36000_mxx (KERN_ATTR_VECTOR ()) sm3_init_vector (&ctx); - sm3_update_vector (&ctx, w, pw_len); + sm3_update_vector_swap (&ctx, w, pw_len); sm3_final_vector (&ctx); @@ -123,7 +123,7 @@ KERNEL_FQ void m36000_sxx (KERN_ATTR_VECTOR ()) sm3_init_vector (&ctx); - sm3_update_vector (&ctx, w, pw_len); + sm3_update_vector_swap (&ctx, w, pw_len); sm3_final_vector (&ctx);