1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-23 00:28:11 +00:00

Fix datatypes in -m 2501 and -m 16801

This commit is contained in:
Jens Steube 2019-03-08 13:05:23 +01:00
parent 74abff44d9
commit 34850df1c0
2 changed files with 9 additions and 17 deletions

View File

@ -19,6 +19,12 @@
#define COMPARE_S "inc_comp_single.cl"
#define COMPARE_M "inc_comp_multi.cl"
typedef struct wpa_pmk_tmp
{
u32 out[8];
} wpa_pmk_tmp_t;
typedef struct wpa_eapol
{
u32 pke[32];
@ -42,16 +48,6 @@ typedef struct wpa_eapol
} wpa_eapol_t;
typedef struct wpa_pbkdf2_tmp
{
u32 ipad[5];
u32 opad[5];
u32 dgst[10];
u32 out[10];
} wpa_pbkdf2_tmp_t;
DECLSPEC u8 hex_convert (const u8 c)
{
return (c & 15) + (c >> 6) * 9;

View File

@ -16,15 +16,11 @@
#define COMPARE_S "inc_comp_single.cl"
#define COMPARE_M "inc_comp_multi.cl"
typedef struct wpa_pbkdf2_tmp
typedef struct wpa_pmk_tmp
{
u32 ipad[5];
u32 opad[5];
u32 out[8];
u32 dgst[10];
u32 out[10];
} wpa_pbkdf2_tmp_t;
} wpa_pmk_tmp_t;
typedef struct wpa_pmkid
{