Fix -m 21600 default hash length

This commit is contained in:
Jens Steube
2019-11-27 09:03:17 +01:00
parent a63aa679d3
commit 86d3f9e9c7
3 changed files with 8 additions and 23 deletions
+2 -2
View File
@@ -327,8 +327,8 @@ KERNEL_FQ void m21600_comp (KERN_ATTR_TMPS (web2py_sha512_tmp_t))
const u64 lid = get_local_id (0);
const u64 a = tmps[gid].out[0];
const u64 b = tmps[gid].out[1];
const u64 a = hc_swap64_S (tmps[gid].out[0]);
const u64 b = hc_swap64_S (tmps[gid].out[1]);
const u32 r0 = l32_from_64_S (a);
const u32 r1 = h32_from_64_S (a);