From 68c95c056dfe7d8ae579c76190b836f1a7e63834 Mon Sep 17 00:00:00 2001 From: Zgzorx Date: Thu, 16 Feb 2023 12:02:36 +0100 Subject: [PATCH] Using update_swap --- OpenCL/m36000_a3-pure.cl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);