1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-05-05 08:29:17 +00:00

Workaround -m 9100 to run on AMDGPU-Pro

This commit is contained in:
jsteube 2017-02-28 11:34:20 +01:00
parent a5b8a91d58
commit 72edd17481

View File

@ -12,7 +12,8 @@
#define COMPARE_S "inc_comp_single.cl" #define COMPARE_S "inc_comp_single.cl"
#define COMPARE_M "inc_comp_multi.cl" #define COMPARE_M "inc_comp_multi.cl"
__constant u8a lotus64_table[64] = // breaks if used with u8a on AMDGPU-Pro
__constant u8 lotus64_table[64] =
{ {
'0', '1', '2', '3', '4', '5', '6', '7', '0', '1', '2', '3', '4', '5', '6', '7',
'8', '9', 'A', 'B', 'C', 'D', 'E', 'F', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F',
@ -24,6 +25,7 @@ __constant u8a lotus64_table[64] =
'u', 'v', 'w', 'x', 'y', 'z', '+', '/', 'u', 'v', 'w', 'x', 'y', 'z', '+', '/',
}; };
// break if used with u8 on NVidia driver 378.x
__constant u8a lotus_magic_table[256] = __constant u8a lotus_magic_table[256] =
{ {
0xbd, 0x56, 0xea, 0xf2, 0xa2, 0xf1, 0xac, 0x2a, 0xbd, 0x56, 0xea, 0xf2, 0xa2, 0xf1, 0xac, 0x2a,