mirror of
https://github.com/hashcat/hashcat.git
synced 2025-05-12 03:48:47 +00:00
Fix datatypes in -m 2501 and -m 16801
This commit is contained in:
parent
74abff44d9
commit
34850df1c0
@ -19,6 +19,12 @@
|
|||||||
#define COMPARE_S "inc_comp_single.cl"
|
#define COMPARE_S "inc_comp_single.cl"
|
||||||
#define COMPARE_M "inc_comp_multi.cl"
|
#define COMPARE_M "inc_comp_multi.cl"
|
||||||
|
|
||||||
|
typedef struct wpa_pmk_tmp
|
||||||
|
{
|
||||||
|
u32 out[8];
|
||||||
|
|
||||||
|
} wpa_pmk_tmp_t;
|
||||||
|
|
||||||
typedef struct wpa_eapol
|
typedef struct wpa_eapol
|
||||||
{
|
{
|
||||||
u32 pke[32];
|
u32 pke[32];
|
||||||
@ -42,16 +48,6 @@ typedef struct wpa_eapol
|
|||||||
|
|
||||||
} wpa_eapol_t;
|
} 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)
|
DECLSPEC u8 hex_convert (const u8 c)
|
||||||
{
|
{
|
||||||
return (c & 15) + (c >> 6) * 9;
|
return (c & 15) + (c >> 6) * 9;
|
||||||
|
@ -16,15 +16,11 @@
|
|||||||
#define COMPARE_S "inc_comp_single.cl"
|
#define COMPARE_S "inc_comp_single.cl"
|
||||||
#define COMPARE_M "inc_comp_multi.cl"
|
#define COMPARE_M "inc_comp_multi.cl"
|
||||||
|
|
||||||
typedef struct wpa_pbkdf2_tmp
|
typedef struct wpa_pmk_tmp
|
||||||
{
|
{
|
||||||
u32 ipad[5];
|
u32 out[8];
|
||||||
u32 opad[5];
|
|
||||||
|
|
||||||
u32 dgst[10];
|
} wpa_pmk_tmp_t;
|
||||||
u32 out[10];
|
|
||||||
|
|
||||||
} wpa_pbkdf2_tmp_t;
|
|
||||||
|
|
||||||
typedef struct wpa_pmkid
|
typedef struct wpa_pmkid
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user