Add generic_salt_encode so we have both function types

This commit is contained in:
jsteube
2019-02-14 10:52:24 +01:00
parent 6f4b72bcd3
commit 0096f1a56b
13 changed files with 89 additions and 98 deletions

View File

@@ -90,6 +90,7 @@ const char *strhashcategory (const u32 hash_category);
const char *stroptitype (const u32 opti_type);
bool generic_salt_decode (MAYBE_UNUSED const hashconfig_t *hashconfig, const u8 *in_buf, const int in_len, u8 *out_buf, int *out_len);
int generic_salt_encode (MAYBE_UNUSED const hashconfig_t *hashconfig, const u8 *in_buf, const int in_len, u8 *out_buf);
int input_tokenizer (const u8 *input_buf, const int input_len, token_t *token);