uint eapol[64];
int eapol_size;
int keyver;
+ u8 orig_mac1[6];
+ u8 orig_mac2[6];
+ u8 orig_nonce1[32];
+ u8 orig_nonce2[32];
} wpa_t;
u32 version;
u32 algorithm;
+ /* key-file handling */
+ u32 keyfile_len;
+ u32 keyfile[8];
+
u32 final_random_seed[8];
u32 transf_random_seed[8];
u32 enc_iv[4];
/* specific to version 1 */
u32 contents_len;
- u32 contents[12500];
+ u32 contents[75000];
/* specific to version 2 */
u32 expected_bytes[8];
} psafe3_t;
+typedef struct
+{
+ u32 salt_buf[128];
+ u32 salt_len;
+
+} pstoken_t;
+
typedef struct
{
char plain_buf[256];
typedef struct
{
u32 version_bin;
- char cwd[1024];
+ char cwd[256];
u32 pid;
u32 dictpos;
uint exec_pos;
double exec_ms[EXEC_CACHE];
+ // this is "current" speed
+
uint speed_pos;
u64 speed_cnt[SPEED_CACHE];
- float speed_ms[SPEED_CACHE];
-
- hc_timer_t speed_rec[SPEED_CACHE];
+ double speed_ms[SPEED_CACHE];
hc_timer_t timer_speed;
hc_timer_t timer_running; // timer on current dict
hc_timer_t timer_paused; // timer on current dict
- float ms_paused; // timer on current dict
+ double ms_paused; // timer on current dict
/**
* hash_info and username