summaryrefslogtreecommitdiff
path: root/ext/standard/php_password.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/php_password.h')
-rw-r--r--ext/standard/php_password.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/php_password.h b/ext/standard/php_password.h
index 0c2f83c650..f9b55be8f6 100644
--- a/ext/standard/php_password.h
+++ b/ext/standard/php_password.h
@@ -31,9 +31,9 @@ PHP_MINIT_FUNCTION(password);
#define PHP_PASSWORD_BCRYPT_COST 10
#if HAVE_ARGON2LIB
-#define PHP_PASSWORD_ARGON2_MEMORY_COST 1<<10
-#define PHP_PASSWORD_ARGON2_TIME_COST 2
-#define PHP_PASSWORD_ARGON2_THREADS 2
+#define PHP_PASSWORD_ARGON2_MEMORY_COST (64 << 10)
+#define PHP_PASSWORD_ARGON2_TIME_COST 4
+#define PHP_PASSWORD_ARGON2_THREADS 1
#endif
typedef enum {