mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-26 09:58:16 +00:00
fix CT_MAX_LEN_BASE64 define
This commit is contained in:
parent
7371cbebe7
commit
6ce1c78f6d
@ -113,7 +113,7 @@ int module_hash_decode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE
|
|||||||
|
|
||||||
pbkdf2_sha256_aes_gcm_t *metamask = (pbkdf2_sha256_aes_gcm_t *) esalt_buf;
|
pbkdf2_sha256_aes_gcm_t *metamask = (pbkdf2_sha256_aes_gcm_t *) esalt_buf;
|
||||||
|
|
||||||
#define CT_MAX_LEN_BASE64 ((768 * 8) / 6) + 3
|
#define CT_MAX_LEN_BASE64 (((768+16) * 8) / 6) + 3
|
||||||
|
|
||||||
token_t token;
|
token_t token;
|
||||||
|
|
||||||
@ -249,7 +249,7 @@ int module_hash_encode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE
|
|||||||
|
|
||||||
#define SALT_LEN_BASE64 ((32 * 8) / 6) + 3
|
#define SALT_LEN_BASE64 ((32 * 8) / 6) + 3
|
||||||
#define IV_LEN_BASE64 ((16 * 8) / 6) + 3
|
#define IV_LEN_BASE64 ((16 * 8) / 6) + 3
|
||||||
#define CT_MAX_LEN_BASE64 ((768 * 8) / 6) + 3
|
#define CT_MAX_LEN_BASE64 (((768+16) * 8) / 6) + 3
|
||||||
|
|
||||||
u8 salt_buf[SALT_LEN_BASE64] = { 0 };
|
u8 salt_buf[SALT_LEN_BASE64] = { 0 };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user