Searched refs:time_cost (Results 1 – 6 of 6) sorted by relevance
/PHP-7.2/ext/standard/ |
H A D | password.c | 192 zend_long time_cost = PHP_PASSWORD_ARGON2_TIME_COST; in PHP_FUNCTION() local 195 …m=" ZEND_LONG_FMT ",t=" ZEND_LONG_FMT ",p=" ZEND_LONG_FMT, &v, &memory_cost, &time_cost, &threads); in PHP_FUNCTION() 197 add_assoc_long(&options, "time_cost", time_cost); in PHP_FUNCTION() 258 zend_long new_time_cost = PHP_PASSWORD_ARGON2_TIME_COST, time_cost = 0; in PHP_FUNCTION() local 275 if (new_time_cost != time_cost || new_memory_cost != memory_cost || new_threads != threads) { in PHP_FUNCTION() 479 size_t time_cost = PHP_PASSWORD_ARGON2_TIME_COST; in PHP_FUNCTION() local 496 time_cost = zval_get_long(option_buffer); in PHP_FUNCTION() 499 if (time_cost > ARGON2_MAX_TIME || time_cost < ARGON2_MIN_TIME) { in PHP_FUNCTION() 500 php_error_docref(NULL, E_WARNING, "Time cost is outside of allowed time range", time_cost); in PHP_FUNCTION() 519 time_cost, in PHP_FUNCTION() [all …]
|
/PHP-7.2/ext/standard/tests/password/ |
H A D | bug75221.phpt | 12 ['memory_cost' => 16384, 'time_cost' => 2, 'threads' => 4]
|
H A D | password_get_info_argon2.phpt | 23 ["time_cost"]=>
|
H A D | password_needs_rehash_argon2.phpt | 13 var_dump(password_needs_rehash($hash, PASSWORD_ARGON2I, ['time_cost' => PASSWORD_ARGON2_DEFAULT_TIM…
|
H A D | password_hash_error_argon2.phpt | 10 var_dump(password_hash('test', PASSWORD_ARGON2I, ['time_cost' => 0]));
|
/PHP-7.2/ |
H A D | UPGRADING | 226 When using PASSWORD_ARGON2I, the following cost factors may be set: 'memory_cost', 'time_cost',
|
Completed in 16 milliseconds