reduce pwhash opslimit further (its slow af on my arm device)

This commit is contained in:
cathugger 2019-02-14 00:01:42 +00:00
parent 8a375604f1
commit 72b739cb03
No known key found for this signature in database
GPG key ID: 9BADDA2DAF6F01A8

View file

@ -17,7 +17,7 @@
#define DETERMINISTIC_LOOP_COUNT 1<<24 #define DETERMINISTIC_LOOP_COUNT 1<<24
// Argon2 hashed passphrase stretching settings // Argon2 hashed passphrase stretching settings
#define PWHASH_OPSLIMIT 128 #define PWHASH_OPSLIMIT 64
#define PWHASH_MEMLIMIT 64 * 1024 * 1024 #define PWHASH_MEMLIMIT 64 * 1024 * 1024
#define PWHASH_ALG crypto_pwhash_ALG_ARGON2ID13 #define PWHASH_ALG crypto_pwhash_ALG_ARGON2ID13