Searched refs:memory_cost (Results 1 – 6 of 6) sorted by relevance
/PHP-7.2/ext/standard/ |
H A D | password.c | 191 zend_long memory_cost = PHP_PASSWORD_ARGON2_MEMORY_COST; in PHP_FUNCTION() local 195 …_FMT "$m=" ZEND_LONG_FMT ",t=" ZEND_LONG_FMT ",p=" ZEND_LONG_FMT, &v, &memory_cost, &time_cost, &t… in PHP_FUNCTION() 196 add_assoc_long(&options, "memory_cost", memory_cost); in PHP_FUNCTION() 257 zend_long new_memory_cost = PHP_PASSWORD_ARGON2_MEMORY_COST, memory_cost = 0; in PHP_FUNCTION() local 275 if (new_time_cost != time_cost || new_memory_cost != memory_cost || new_threads != threads) { in PHP_FUNCTION() 480 size_t memory_cost = PHP_PASSWORD_ARGON2_MEMORY_COST; in PHP_FUNCTION() local 487 memory_cost = zval_get_long(option_buffer); in PHP_FUNCTION() 490 if (memory_cost > ARGON2_MAX_MEMORY || memory_cost < ARGON2_MIN_MEMORY) { in PHP_FUNCTION() 491 … php_error_docref(NULL, E_WARNING, "Memory cost is outside of allowed memory range", memory_cost); in PHP_FUNCTION() 520 memory_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 | 21 ["memory_cost"]=>
|
H A D | password_needs_rehash_argon2.phpt | 12 var_dump(password_needs_rehash($hash, PASSWORD_ARGON2I, ['memory_cost' => PASSWORD_ARGON2_DEFAULT_M…
|
H A D | password_hash_error_argon2.phpt | 9 var_dump(password_hash('test', PASSWORD_ARGON2I, ['memory_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 13 milliseconds