diff options
| author | Franklin Wei <git@fwei.tk> | 2016-01-18 18:05:48 -0500 |
|---|---|---|
| committer | Franklin Wei <git@fwei.tk> | 2016-01-18 18:05:58 -0500 |
| commit | 3b364f97f6122618cce35fa24633faaf9ab4e685 (patch) | |
| tree | 4fdaee890be078262d2039b2576f8aff70cc326c /src/auth.h | |
| parent | dfa1581f631a233b33ebc64ad2117498600c1b8d (diff) | |
| download | netcosm-3b364f97f6122618cce35fa24633faaf9ab4e685.zip netcosm-3b364f97f6122618cce35fa24633faaf9ab4e685.tar.gz netcosm-3b364f97f6122618cce35fa24633faaf9ab4e685.tar.bz2 netcosm-3b364f97f6122618cce35fa24633faaf9ab4e685.tar.xz | |
drop libgcrypt because of all its memory leaks; openssl is used instead
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; |