precompute bcrypt hashes
#13
as said, for the basic testing and checking the (hexadecimal) digest, you could just add a printf ():
Code:
diff --git a/OpenCL/m03200-pure.cl b/OpenCL/m03200-pure.cl index d4eaac06..bd0afdc2 100644 --- a/OpenCL/m03200-pure.cl +++ b/OpenCL/m03200-pure.cl @@ -846,6 +846,17 @@ KERNEL_FQ void FIXED_THREAD_COUNT(FIXED_LOCAL_SIZE) m03200_comp (KERN_ATTR_TMPS const u32 r2 = L0; const u32 r3 = R0; + L0 = BCRYPTM_4; + R0 = BCRYPTM_5; + + for (u32 i = 0; i < 64; i++) + { + BF_ENCRYPT (L0, R0); + } + + const u32 r4 = L0; + const u32 r5 = R0; + /* e = L0; f = R0; @@ -853,6 +864,8 @@ KERNEL_FQ void FIXED_THREAD_COUNT(FIXED_LOCAL_SIZE) m03200_comp (KERN_ATTR_TMPS f &= ~0xff; // its just 23 not 24 ! */ + printf ("%08x%08x%08x%08x%08x%06x\n", r0, r1, r2, r3, r4, r5 >> 8); + #define il_pos 0 #ifdef KERNEL_STATIC
Reply


Messages In This Thread
precompute bcrypt hashes - by f1l1b0x - 01-22-2020, 02:11 PM
RE: precompute bcrypt hashes - by blacktraffic - 01-22-2020, 04:07 PM
RE: precompute bcrypt hashes - by f1l1b0x - 01-22-2020, 09:47 PM
RE: precompute bcrypt hashes - by Chick3nman - 01-23-2020, 02:21 AM
RE: precompute bcrypt hashes - by f1l1b0x - 01-23-2020, 02:39 AM
RE: precompute bcrypt hashes - by f1l1b0x - 01-30-2020, 03:19 AM
RE: precompute bcrypt hashes - by f1l1b0x - 01-31-2020, 11:27 PM
RE: precompute bcrypt hashes - by philsmd - 01-31-2020, 11:46 PM
RE: precompute bcrypt hashes - by f1l1b0x - 02-01-2020, 12:02 AM
RE: precompute bcrypt hashes - by philsmd - 02-01-2020, 08:19 AM
RE: precompute bcrypt hashes - by f1l1b0x - 02-01-2020, 12:17 PM
RE: precompute bcrypt hashes - by f1l1b0x - 02-02-2020, 03:22 PM
RE: precompute bcrypt hashes - by philsmd - 02-02-2020, 03:49 PM
RE: precompute bcrypt hashes - by f1l1b0x - 02-02-2020, 08:22 PM