mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-23 15:18:16 +00:00
Merge pull request #2350 from philsmd/patch-1
fixes #2341: electrum 4/5 mod_512 () infinite loop fix
This commit is contained in:
commit
584d6f093c
@ -512,6 +512,9 @@ DECLSPEC void mod_512 (u32 *n)
|
||||
|
||||
// substract (a -= r):
|
||||
|
||||
if ((r[ 0] | r[ 1] | r[ 2] | r[ 3] | r[ 4] | r[ 5] | r[ 6] | r[ 7] |
|
||||
r[ 8] | r[ 9] | r[10] | r[11] | r[12] | r[13] | r[14] | r[15]) == 0) break;
|
||||
|
||||
r[ 0] = a[ 0] - r[ 0];
|
||||
r[ 1] = a[ 1] - r[ 1];
|
||||
r[ 2] = a[ 2] - r[ 2];
|
||||
|
Loading…
Reference in New Issue
Block a user