diff options
author | Charles R. Portwood II <charlesportwoodii@erianna.com> | 2016-07-08 15:31:30 -0500 |
---|---|---|
committer | Charles R. Portwood II <charlesportwoodii@erianna.com> | 2016-07-08 15:31:30 -0500 |
commit | 3c7fb71a90dcd37ba64dd0623aea13c9d940fe06 (patch) | |
tree | 73ffcf64810696879236308e99286ad8edc23be9 /ext/standard/php_password.h | |
parent | de85c2e526755fc4cbf48536133821261e69fcc9 (diff) | |
download | php-git-3c7fb71a90dcd37ba64dd0623aea13c9d940fe06.tar.gz |
Introducing Argon2 memory, time, and lanes constants
PASSWORD_ARGON2_MEMORY_COST
PASSWORD_ARGON2_TIME_COST
PASSWORD_ARGON2_LANES
Diffstat (limited to 'ext/standard/php_password.h')
-rw-r--r-- | ext/standard/php_password.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/php_password.h b/ext/standard/php_password.h index 872afb3bef..4c6e113391 100644 --- a/ext/standard/php_password.h +++ b/ext/standard/php_password.h @@ -31,9 +31,9 @@ PHP_MINIT_FUNCTION(password); #define PHP_PASSWORD_DEFAULT PHP_PASSWORD_ARGON2I #define PHP_PASSWORD_BCRYPT_COST 10 -#define PHP_ARGON2_M_COST 1<<16 -#define PHP_ARGON2_T_COST 3 -#define PHP_ARGON2_LANES 1 +#define PHP_PASSWORD_ARGON2_MEMORY_COST 1<<16 +#define PHP_PASSWORD_ARGON2_TIME_COST 3 +#define PHP_PASSWORD_ARGON2_LANES 1 typedef enum { PHP_PASSWORD_UNKNOWN, |