1 #ifndef _OPENCL_DES_HST_DEV_SHARED_H
2 #define _OPENCL_DES_HST_DEV_SHARED_H
3 
4 #define OVERRIDE_AUTO_CONFIG	0
5 #define HARDCODE_SALT 		0
6 #define FULL_UNROLL		0
7 #define PARALLEL_BUILD		0
8 
9 #define WORD     		int
10 #define DES_bs_vector		WORD
11 
12 typedef struct{
13 	union {
14 		unsigned char c[8][8][sizeof(DES_bs_vector)];
15 		DES_bs_vector v[8][8];
16 	} xkeys;
17 } opencl_DES_bs_transfer;
18 
19 typedef struct {
20 	unsigned int num_uncracked_hashes;
21 	unsigned int offset_table_size;
22 	unsigned int hash_table_size;
23 	unsigned int bitmap_size_bits;
24 	unsigned int cmp_steps;
25 	unsigned int cmp_bits;
26 } DES_hash_check_params;
27 
28 #endif /* _OPENCL_DES_HST_DEV_SHARED_H */
29