Add -a 1 support for slow candidates mode

This commit is contained in:
jsteube
2018-09-01 23:12:56 +02:00
parent 5f797147fb
commit d6ed195db9
5 changed files with 544 additions and 31 deletions
+19 -1
View File
@@ -8,7 +8,7 @@
typedef struct extra_info_straight
{
FILE *fd;
FILE *fp;
u64 rule_pos_prev;
u64 rule_pos;
@@ -21,6 +21,24 @@ typedef struct extra_info_straight
} extra_info_straight_t;
typedef struct extra_info_combi
{
FILE *base_fp;
FILE *combs_fp;
u64 comb_pos_prev;
u64 comb_pos;
char *scratch_buf;
u8 base_buf[256];
u32 base_len;
u8 out_buf[256];
u32 out_len;
} extra_info_combi_t;
typedef struct extra_info_mask
{
u64 pos;