mirror of
https://github.com/hashcat/hashcat.git
synced 2025-02-16 17:42:04 +00:00
Fix mangle_dupeword_times() in OpenCL/inc_rp.cl
This commit is contained in:
parent
a74cbe3461
commit
f5527bb937
@ -298,15 +298,13 @@ DECLSPEC int mangle_dupeword_times (MAYBE_UNUSED const u8 p0, MAYBE_UNUSED const
|
|||||||
|
|
||||||
if (out_len >= RP_PASSWORD_SIZE) return (len);
|
if (out_len >= RP_PASSWORD_SIZE) return (len);
|
||||||
|
|
||||||
u8 *out = buf + len;
|
|
||||||
|
|
||||||
int out_pos = len;
|
int out_pos = len;
|
||||||
|
|
||||||
for (int t = 0; t < p0; t++)
|
for (int t = 0; t < p0; t++)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < len; i++)
|
for (int i = 0; i < len; i++)
|
||||||
{
|
{
|
||||||
out[out_pos] = buf[i];
|
buf[out_pos] = buf[i];
|
||||||
|
|
||||||
out_pos++;
|
out_pos++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user