aboutsummaryrefslogtreecommitdiff
path: root/src/auth.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/auth.h')
-rw-r--r--src/auth.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/auth.h b/src/auth.h
index b77a711..0d5293a 100644
--- a/src/auth.h
+++ b/src/auth.h
@@ -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;