1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-23 07:08:19 +00:00

Improve PIM fix for use on macOS

This commit is contained in:
Jens Steube 2021-07-20 15:10:49 +02:00
parent a026171fb3
commit 41156bb0a5
15 changed files with 45 additions and 15 deletions

View File

@ -366,7 +366,9 @@ KERNEL_FQ void m13711_loop (KERN_ATTR_TMPS_ESALT (vc_tmp_t, vc_t))
unpackv (tmps, pim_key, gid, i + 3, out[3]); unpackv (tmps, pim_key, gid, i + 3, out[3]);
unpackv (tmps, pim_key, gid, i + 4, out[4]); unpackv (tmps, pim_key, gid, i + 4, out[4]);
unpack (tmps, pim_check, gid, make_u32x (pim)); const u32x pimx = make_u32x (pim);
unpack (tmps, pim_check, gid, pimx);
} }
} }

View File

@ -417,7 +417,9 @@ KERNEL_FQ void m13712_loop (KERN_ATTR_TMPS_ESALT (vc_tmp_t, vc_t))
unpackv (tmps, pim_key, gid, i + 3, out[3]); unpackv (tmps, pim_key, gid, i + 3, out[3]);
unpackv (tmps, pim_key, gid, i + 4, out[4]); unpackv (tmps, pim_key, gid, i + 4, out[4]);
unpack (tmps, pim_check, gid, make_u32x (pim)); const u32x pimx = make_u32x (pim);
unpack (tmps, pim_check, gid, pimx);
} }
} }

View File

@ -482,7 +482,9 @@ KERNEL_FQ void m13713_loop (KERN_ATTR_TMPS_ESALT (vc_tmp_t, vc_t))
unpackv (tmps, pim_key, gid, i + 3, out[3]); unpackv (tmps, pim_key, gid, i + 3, out[3]);
unpackv (tmps, pim_key, gid, i + 4, out[4]); unpackv (tmps, pim_key, gid, i + 4, out[4]);
unpack (tmps, pim_check, gid, make_u32x (pim)); const u32x pimx = make_u32x (pim);
unpack (tmps, pim_check, gid, pimx);
} }
} }

View File

@ -458,7 +458,9 @@ KERNEL_FQ void m13721_loop (KERN_ATTR_TMPS_ESALT (vc64_tmp_t, vc_t))
unpack64v (tmps, pim_key, gid, i + 6, out[6]); unpack64v (tmps, pim_key, gid, i + 6, out[6]);
unpack64v (tmps, pim_key, gid, i + 7, out[7]); unpack64v (tmps, pim_key, gid, i + 7, out[7]);
unpack (tmps, pim_check, gid, make_u32x (pim)); const u32x pimx = make_u32x (pim);
unpack (tmps, pim_check, gid, pimx);
} }
} }

View File

@ -509,7 +509,9 @@ KERNEL_FQ void m13722_loop (KERN_ATTR_TMPS_ESALT (vc64_tmp_t, vc_t))
unpack64v (tmps, pim_key, gid, i + 6, out[6]); unpack64v (tmps, pim_key, gid, i + 6, out[6]);
unpack64v (tmps, pim_key, gid, i + 7, out[7]); unpack64v (tmps, pim_key, gid, i + 7, out[7]);
unpack (tmps, pim_check, gid, make_u32x (pim)); const u32x pimx = make_u32x (pim);
unpack (tmps, pim_check, gid, pimx);
} }
} }

View File

@ -574,7 +574,9 @@ KERNEL_FQ void m13723_loop (KERN_ATTR_TMPS_ESALT (vc64_tmp_t, vc_t))
unpack64v (tmps, pim_key, gid, i + 6, out[6]); unpack64v (tmps, pim_key, gid, i + 6, out[6]);
unpack64v (tmps, pim_key, gid, i + 7, out[7]); unpack64v (tmps, pim_key, gid, i + 7, out[7]);
unpack (tmps, pim_check, gid, make_u32x (pim)); const u32x pimx = make_u32x (pim);
unpack (tmps, pim_check, gid, pimx);
} }
} }

View File

@ -622,7 +622,9 @@ KERNEL_FQ void m13731_loop (KERN_ATTR_TMPS_ESALT (vc_tmp_t, vc_t))
unpackv (tmps, pim_key, gid, i + 14, out[14]); unpackv (tmps, pim_key, gid, i + 14, out[14]);
unpackv (tmps, pim_key, gid, i + 15, out[15]); unpackv (tmps, pim_key, gid, i + 15, out[15]);
unpack (tmps, pim_check, gid, make_u32x (pim)); const u32x pimx = make_u32x (pim);
unpack (tmps, pim_check, gid, pimx);
} }
} }

View File

@ -673,7 +673,9 @@ KERNEL_FQ void m13732_loop (KERN_ATTR_TMPS_ESALT (vc_tmp_t, vc_t))
unpackv (tmps, pim_key, gid, i + 14, out[14]); unpackv (tmps, pim_key, gid, i + 14, out[14]);
unpackv (tmps, pim_key, gid, i + 15, out[15]); unpackv (tmps, pim_key, gid, i + 15, out[15]);
unpack (tmps, pim_check, gid, make_u32x (pim)); const u32x pimx = make_u32x (pim);
unpack (tmps, pim_check, gid, pimx);
} }
} }

View File

@ -738,7 +738,9 @@ KERNEL_FQ void m13733_loop (KERN_ATTR_TMPS_ESALT (vc_tmp_t, vc_t))
unpackv (tmps, pim_key, gid, i + 14, out[14]); unpackv (tmps, pim_key, gid, i + 14, out[14]);
unpackv (tmps, pim_key, gid, i + 15, out[15]); unpackv (tmps, pim_key, gid, i + 15, out[15]);
unpack (tmps, pim_check, gid, make_u32x (pim)); const u32x pimx = make_u32x (pim);
unpack (tmps, pim_check, gid, pimx);
} }
} }

View File

@ -435,7 +435,9 @@ KERNEL_FQ void m13751_loop (KERN_ATTR_TMPS_ESALT (vc_tmp_t, vc_t))
unpackv (tmps, pim_key, gid, i + 6, out[6]); unpackv (tmps, pim_key, gid, i + 6, out[6]);
unpackv (tmps, pim_key, gid, i + 7, out[7]); unpackv (tmps, pim_key, gid, i + 7, out[7]);
unpack (tmps, pim_check, gid, make_u32x (pim)); const u32x pimx = make_u32x (pim);
unpack (tmps, pim_check, gid, pimx);
} }
} }

View File

@ -457,7 +457,9 @@ KERNEL_FQ void m13752_loop (KERN_ATTR_TMPS_ESALT (vc_tmp_t, vc_t))
unpackv (tmps, pim_key, gid, i + 6, out[6]); unpackv (tmps, pim_key, gid, i + 6, out[6]);
unpackv (tmps, pim_key, gid, i + 7, out[7]); unpackv (tmps, pim_key, gid, i + 7, out[7]);
unpack (tmps, pim_check, gid, make_u32x (pim)); const u32x pimx = make_u32x (pim);
unpack (tmps, pim_check, gid, pimx);
} }
} }

View File

@ -522,7 +522,9 @@ KERNEL_FQ void m13753_loop (KERN_ATTR_TMPS_ESALT (vc_tmp_t, vc_t))
unpackv (tmps, pim_key, gid, i + 6, out[6]); unpackv (tmps, pim_key, gid, i + 6, out[6]);
unpackv (tmps, pim_key, gid, i + 7, out[7]); unpackv (tmps, pim_key, gid, i + 7, out[7]);
unpack (tmps, pim_check, gid, make_u32x (pim)); const u32x pimx = make_u32x (pim);
unpack (tmps, pim_check, gid, pimx);
} }
} }

View File

@ -537,7 +537,9 @@ KERNEL_FQ void m13771_loop (KERN_ATTR_TMPS_ESALT (vc64_sbog_tmp_t, vc_t))
unpack64v (tmps, pim_key, gid, i + 6, out[6]); unpack64v (tmps, pim_key, gid, i + 6, out[6]);
unpack64v (tmps, pim_key, gid, i + 7, out[7]); unpack64v (tmps, pim_key, gid, i + 7, out[7]);
unpack (tmps, pim_check, gid, make_u32x (pim)); const u32x pimx = make_u32x (pim);
unpack (tmps, pim_check, gid, pimx);
} }
} }

View File

@ -588,7 +588,9 @@ KERNEL_FQ void m13772_loop (KERN_ATTR_TMPS_ESALT (vc64_sbog_tmp_t, vc_t))
unpack64v (tmps, pim_key, gid, i + 6, out[6]); unpack64v (tmps, pim_key, gid, i + 6, out[6]);
unpack64v (tmps, pim_key, gid, i + 7, out[7]); unpack64v (tmps, pim_key, gid, i + 7, out[7]);
unpack (tmps, pim_check, gid, make_u32x (pim)); const u32x pimx = make_u32x (pim);
unpack (tmps, pim_check, gid, pimx);
} }
} }

View File

@ -653,7 +653,9 @@ KERNEL_FQ void m13773_loop (KERN_ATTR_TMPS_ESALT (vc64_sbog_tmp_t, vc_t))
unpack64v (tmps, pim_key, gid, i + 6, out[6]); unpack64v (tmps, pim_key, gid, i + 6, out[6]);
unpack64v (tmps, pim_key, gid, i + 7, out[7]); unpack64v (tmps, pim_key, gid, i + 7, out[7]);
unpack (tmps, pim_check, gid, make_u32x (pim)); const u32x pimx = make_u32x (pim);
unpack (tmps, pim_check, gid, pimx);
} }
} }