WPA cracking: Improved nonce-error-corrections mode to use a both positive and negative corrections

This commit is contained in:
Jens Steube
2017-06-12 09:59:15 +02:00
parent 3b3e3ae8df
commit e87fb31d3f
2 changed files with 7 additions and 0 deletions
+2
View File
@@ -893,6 +893,7 @@ __kernel void m02500_comp (__global pw_t *pws, __global const kernel_rule_t *rul
t = swap32_S (t);
t -= nonce_error_corrections / 2;
t += nonce_error_correction;
t = swap32_S (t);
@@ -1134,6 +1135,7 @@ __kernel void m02500_comp (__global pw_t *pws, __global const kernel_rule_t *rul
{
u32 t = to;
t -= nonce_error_corrections / 2;
t += nonce_error_correction;
if (wpa->nonce_compare < 0)