diff options
Diffstat (limited to 'ext/standard/php_password.h')
-rw-r--r-- | ext/standard/php_password.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/standard/php_password.h b/ext/standard/php_password.h index 4c6e113391..7c3c8821d9 100644 --- a/ext/standard/php_password.h +++ b/ext/standard/php_password.h @@ -13,6 +13,7 @@ | license@php.net so we can mail you a copy immediately. | +----------------------------------------------------------------------+ | Authors: Anthony Ferrara <ircmaxell@php.net> | + | Charles R. Portwood II <charlesportwoodii@erianna.com> | +----------------------------------------------------------------------+ */ @@ -28,17 +29,17 @@ PHP_FUNCTION(password_get_info); PHP_MINIT_FUNCTION(password); -#define PHP_PASSWORD_DEFAULT PHP_PASSWORD_ARGON2I +#define PHP_PASSWORD_ARGON2 PHP_PASSWORD_ARGON2I +#define PHP_PASSWORD_DEFAULT PHP_PASSWORD_ARGON2 #define PHP_PASSWORD_BCRYPT_COST 10 #define PHP_PASSWORD_ARGON2_MEMORY_COST 1<<16 #define PHP_PASSWORD_ARGON2_TIME_COST 3 -#define PHP_PASSWORD_ARGON2_LANES 1 +#define PHP_PASSWORD_ARGON2_THREADS 1 typedef enum { PHP_PASSWORD_UNKNOWN, PHP_PASSWORD_BCRYPT, - PHP_PASSWORD_ARGON2, PHP_PASSWORD_ARGON2I, PHP_PASSWORD_ARGON2D } php_password_algo; |