From 1879cbefd2ee1dbbfc050cc57c1009751f68ac1e Mon Sep 17 00:00:00 2001 From: Jens Steube Date: Sun, 25 Apr 2021 21:25:28 +0200 Subject: [PATCH] Fixed vector datatype support in -m 21100 only -P mode and only -a 3 mode were affected --- OpenCL/m21100_a3-pure.cl | 4 ++-- docs/changes.txt | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/OpenCL/m21100_a3-pure.cl b/OpenCL/m21100_a3-pure.cl index 4f5d7cd67..480d7eb4e 100644 --- a/OpenCL/m21100_a3-pure.cl +++ b/OpenCL/m21100_a3-pure.cl @@ -71,7 +71,7 @@ KERNEL_FQ void m21100_mxx (KERN_ATTR_VECTOR ()) const u32 salt_len = salt_bufs[SALT_POS].salt_len; - u32 s[64] = { 0 }; + u32x s[64] = { 0 }; for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { @@ -211,7 +211,7 @@ KERNEL_FQ void m21100_sxx (KERN_ATTR_VECTOR ()) const u32 salt_len = salt_bufs[SALT_POS].salt_len; - u32 s[64] = { 0 }; + u32x s[64] = { 0 }; for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { diff --git a/docs/changes.txt b/docs/changes.txt index dc422bce7..c0b409d44 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -53,6 +53,7 @@ - Fixed too early execution of some module functions which could make use of non-final values opts_type and opti_type - Fixed tuning database search if a device was not assigned an alias it couldn't be found in general - Fixed unexpected non-unique salts in multi-hash cracking in Bitcoin/Litecoin wallet.dat module which lead to false negatives +- Fixed vector datatype support in -m 21100 only -P mode and only -a 3 mode were affected ## ## Improvements