aboutsummaryrefslogtreecommitdiff
path: root/src/auth.h
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2016-04-03 12:15:44 -0400
committerFranklin Wei <git@fwei.tk>2016-04-03 12:15:44 -0400
commit724f4ee59b0af7b64a3317af3c9ee5d3f45e9fc4 (patch)
tree9e1f93726995bfd2d8e2e355f7ca3d0869be037f /src/auth.h
parent73c9244faee21a65e2143cc52dcbcf5cfe0648c6 (diff)
downloadnetcosm-724f4ee59b0af7b64a3317af3c9ee5d3f45e9fc4.zip
netcosm-724f4ee59b0af7b64a3317af3c9ee5d3f45e9fc4.tar.gz
netcosm-724f4ee59b0af7b64a3317af3c9ee5d3f45e9fc4.tar.bz2
netcosm-724f4ee59b0af7b64a3317af3c9ee5d3f45e9fc4.tar.xz
various fixes
Diffstat (limited to 'src/auth.h')
-rw-r--r--src/auth.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/auth.h b/src/auth.h
index c5c9dc1..306d8d6 100644
--- a/src/auth.h
+++ b/src/auth.h
@@ -20,13 +20,13 @@
#include "globals.h"
-#define SALT_LEN 12
+#define SALT_LEN 16
#define AUTH_HASHLEN SHA512_DIGEST_LENGTH
#define AUTH_HASHFUNC SHA512
-//#define HASH_ITERS 500000
#define HASH_ITERS 1
+//#define HASH_ITERS 1
-/* makes admin account */
+/* makes admin account based on terminal input */
void first_run_setup(void);
struct userdata_t;