mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-26 18:08:20 +00:00
Optimized -m 7700 for ROCm
This commit is contained in:
parent
332396a003
commit
e0a565234a
@ -329,7 +329,7 @@ __kernel void m07700_m04 (__global pw_t *pws, __global const kernel_rule_t *rule
|
|||||||
t[14] = pw_salt_len * 8;
|
t[14] = pw_salt_len * 8;
|
||||||
t[15] = 0;
|
t[15] = 0;
|
||||||
|
|
||||||
PUTCHAR (t, pw_salt_len, 0x80);
|
append_0x80_4x4_S (t + 0, t + 4, t + 8, t + 12, pw_salt_len);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* md5
|
* md5
|
||||||
@ -415,7 +415,7 @@ __kernel void m07700_m04 (__global pw_t *pws, __global const kernel_rule_t *rule
|
|||||||
|
|
||||||
const u32 sum20 = walld0rf_magic (w0, out_len, salt_buf0, salt_len, a, b, c, d, t);
|
const u32 sum20 = walld0rf_magic (w0, out_len, salt_buf0, salt_len, a, b, c, d, t);
|
||||||
|
|
||||||
PUTCHAR (t, sum20, 0x80);
|
append_0x80_4x4_S (t + 0, t + 4, t + 8, t + 12, sum20);
|
||||||
|
|
||||||
t[14] = sum20 * 8;
|
t[14] = sum20 * 8;
|
||||||
|
|
||||||
@ -644,7 +644,7 @@ __kernel void m07700_s04 (__global pw_t *pws, __global const kernel_rule_t *rule
|
|||||||
t[14] = pw_salt_len * 8;
|
t[14] = pw_salt_len * 8;
|
||||||
t[15] = 0;
|
t[15] = 0;
|
||||||
|
|
||||||
PUTCHAR (t, pw_salt_len, 0x80);
|
append_0x80_4x4_S (t + 0, t + 4, t + 8, t + 12, pw_salt_len);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* md5
|
* md5
|
||||||
@ -730,7 +730,7 @@ __kernel void m07700_s04 (__global pw_t *pws, __global const kernel_rule_t *rule
|
|||||||
|
|
||||||
const u32 sum20 = walld0rf_magic (w0, out_len, salt_buf0, salt_len, a, b, c, d, t);
|
const u32 sum20 = walld0rf_magic (w0, out_len, salt_buf0, salt_len, a, b, c, d, t);
|
||||||
|
|
||||||
PUTCHAR (t, sum20, 0x80);
|
append_0x80_4x4_S (t + 0, t + 4, t + 8, t + 12, sum20);
|
||||||
|
|
||||||
t[14] = sum20 * 8;
|
t[14] = sum20 * 8;
|
||||||
|
|
||||||
|
@ -370,7 +370,7 @@ __kernel void m07700_m04 (__global pw_t *pws, __global const kernel_rule_t *rule
|
|||||||
t[14] = pw_salt_len * 8;
|
t[14] = pw_salt_len * 8;
|
||||||
t[15] = 0;
|
t[15] = 0;
|
||||||
|
|
||||||
PUTCHAR (t, pw_salt_len, 0x80);
|
append_0x80_4x4_S (t + 0, t + 4, t + 8, t + 12, pw_salt_len);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* md5
|
* md5
|
||||||
@ -456,7 +456,7 @@ __kernel void m07700_m04 (__global pw_t *pws, __global const kernel_rule_t *rule
|
|||||||
|
|
||||||
const u32 sum20 = walld0rf_magic (w0, pw_len, salt_buf0, salt_len, a, b, c, d, t);
|
const u32 sum20 = walld0rf_magic (w0, pw_len, salt_buf0, salt_len, a, b, c, d, t);
|
||||||
|
|
||||||
PUTCHAR (t, sum20, 0x80);
|
append_0x80_4x4_S (t + 0, t + 4, t + 8, t + 12, sum20);
|
||||||
|
|
||||||
t[14] = sum20 * 8;
|
t[14] = sum20 * 8;
|
||||||
|
|
||||||
@ -728,7 +728,7 @@ __kernel void m07700_s04 (__global pw_t *pws, __global const kernel_rule_t *rule
|
|||||||
t[14] = pw_salt_len * 8;
|
t[14] = pw_salt_len * 8;
|
||||||
t[15] = 0;
|
t[15] = 0;
|
||||||
|
|
||||||
PUTCHAR (t, pw_salt_len, 0x80);
|
append_0x80_4x4_S (t + 0, t + 4, t + 8, t + 12, pw_salt_len);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* md5
|
* md5
|
||||||
@ -814,7 +814,7 @@ __kernel void m07700_s04 (__global pw_t *pws, __global const kernel_rule_t *rule
|
|||||||
|
|
||||||
const u32 sum20 = walld0rf_magic (w0, pw_len, salt_buf0, salt_len, a, b, c, d, t);
|
const u32 sum20 = walld0rf_magic (w0, pw_len, salt_buf0, salt_len, a, b, c, d, t);
|
||||||
|
|
||||||
PUTCHAR (t, sum20, 0x80);
|
append_0x80_4x4_S (t + 0, t + 4, t + 8, t + 12, sum20);
|
||||||
|
|
||||||
t[14] = sum20 * 8;
|
t[14] = sum20 * 8;
|
||||||
|
|
||||||
|
@ -296,7 +296,7 @@ void m07700m (u32 w0[4], u32 w1[4], u32 w2[4], u32 w3[4], const u32 pw_len, __gl
|
|||||||
t[14] = pw_salt_len * 8;
|
t[14] = pw_salt_len * 8;
|
||||||
t[15] = 0;
|
t[15] = 0;
|
||||||
|
|
||||||
PUTCHAR (t, pw_salt_len, 0x80);
|
append_0x80_4x4_S (t + 0, t + 4, t + 8, t + 12, pw_salt_len);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* md5
|
* md5
|
||||||
@ -382,7 +382,7 @@ void m07700m (u32 w0[4], u32 w1[4], u32 w2[4], u32 w3[4], const u32 pw_len, __gl
|
|||||||
|
|
||||||
const u32 sum20 = walld0rf_magic (w0, pw_len, salt_buf0, salt_len, a, b, c, d, t);
|
const u32 sum20 = walld0rf_magic (w0, pw_len, salt_buf0, salt_len, a, b, c, d, t);
|
||||||
|
|
||||||
PUTCHAR (t, sum20, 0x80);
|
append_0x80_4x4_S (t + 0, t + 4, t + 8, t + 12, sum20);
|
||||||
|
|
||||||
t[14] = sum20 * 8;
|
t[14] = sum20 * 8;
|
||||||
|
|
||||||
@ -572,7 +572,7 @@ void m07700s (u32 w0[4], u32 w1[4], u32 w2[4], u32 w3[4], const u32 pw_len, __gl
|
|||||||
t[14] = pw_salt_len * 8;
|
t[14] = pw_salt_len * 8;
|
||||||
t[15] = 0;
|
t[15] = 0;
|
||||||
|
|
||||||
PUTCHAR (t, pw_salt_len, 0x80);
|
append_0x80_4x4_S (t + 0, t + 4, t + 8, t + 12, pw_salt_len);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* md5
|
* md5
|
||||||
@ -658,7 +658,7 @@ void m07700s (u32 w0[4], u32 w1[4], u32 w2[4], u32 w3[4], const u32 pw_len, __gl
|
|||||||
|
|
||||||
const u32 sum20 = walld0rf_magic (w0, pw_len, salt_buf0, salt_len, a, b, c, d, t);
|
const u32 sum20 = walld0rf_magic (w0, pw_len, salt_buf0, salt_len, a, b, c, d, t);
|
||||||
|
|
||||||
PUTCHAR (t, sum20, 0x80);
|
append_0x80_4x4_S (t + 0, t + 4, t + 8, t + 12, sum20);
|
||||||
|
|
||||||
t[14] = sum20 * 8;
|
t[14] = sum20 * 8;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user