diff options
Diffstat (limited to 'src/auth.h')
| -rw-r--r-- | src/auth.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -21,10 +21,10 @@ #include "globals.h" #define SALT_LEN 12 -#define ALGO GCRY_MD_SHA512 -#define AUTH_HASHLEN (512/8) -#define HASH_ITERS 500000 -//#define HASH_ITERS 1 +#define AUTH_HASHLEN SHA512_DIGEST_LENGTH +#define AUTH_HASHFUNC SHA512 +//#define HASH_ITERS 500000 +#define HASH_ITERS 1 struct authinfo_t { bool success; |