mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-23 15:18:16 +00:00
replaced macros with enums and static const char types
based on a55052cc66
This commit is contained in:
parent
61d119b068
commit
63c17cf2c1
@ -1278,17 +1278,21 @@ typedef enum opts_type
|
||||
* digests
|
||||
*/
|
||||
|
||||
#define DGST_SIZE_4_2 (2 * sizeof (uint)) // 8
|
||||
#define DGST_SIZE_4_4 (4 * sizeof (uint)) // 16
|
||||
#define DGST_SIZE_4_5 (5 * sizeof (uint)) // 20
|
||||
#define DGST_SIZE_4_6 (6 * sizeof (uint)) // 24
|
||||
#define DGST_SIZE_4_8 (8 * sizeof (uint)) // 32
|
||||
#define DGST_SIZE_4_16 (16 * sizeof (uint)) // 64 !!!
|
||||
#define DGST_SIZE_4_32 (32 * sizeof (uint)) // 128 !!!
|
||||
#define DGST_SIZE_4_64 (64 * sizeof (uint)) // 256
|
||||
#define DGST_SIZE_8_8 (8 * sizeof (u64)) // 64 !!!
|
||||
#define DGST_SIZE_8_16 (16 * sizeof (u64)) // 128 !!!
|
||||
#define DGST_SIZE_8_25 (25 * sizeof (u64)) // 200
|
||||
typedef enum dgst_size
|
||||
{
|
||||
DGST_SIZE_4_2 = (2 * sizeof (uint)), // 8
|
||||
DGST_SIZE_4_4 = (4 * sizeof (uint)), // 16
|
||||
DGST_SIZE_4_5 = (5 * sizeof (uint)), // 20
|
||||
DGST_SIZE_4_6 = (6 * sizeof (uint)), // 24
|
||||
DGST_SIZE_4_8 = (8 * sizeof (uint)), // 32
|
||||
DGST_SIZE_4_16 = (16 * sizeof (uint)), // 64 !!!
|
||||
DGST_SIZE_4_32 = (32 * sizeof (uint)), // 128 !!!
|
||||
DGST_SIZE_4_64 = (64 * sizeof (uint)), // 256
|
||||
DGST_SIZE_8_8 = (8 * sizeof (u64)), // 64 !!!
|
||||
DGST_SIZE_8_16 = (16 * sizeof (u64)), // 128 !!!
|
||||
DGST_SIZE_8_25 = (25 * sizeof (u64)) // 200
|
||||
|
||||
} dgst_size_t;
|
||||
|
||||
/**
|
||||
* parser
|
||||
|
Loading…
Reference in New Issue
Block a user