Lines Matching refs:time_cost
239 zend_long *time_cost, zend_long *threads) /* {{{ */ in extract_argon2_parameters() argument
254 v, memory_cost, time_cost, threads); in extract_argon2_parameters()
263 zend_long time_cost = PHP_PASSWORD_ARGON2_TIME_COST; in php_password_argon2_get_info() local
266 extract_argon2_parameters(hash, &v, &memory_cost, &time_cost, &threads); in php_password_argon2_get_info()
269 add_assoc_long(return_value, "time_cost", time_cost); in php_password_argon2_get_info()
278 zend_long new_time_cost = PHP_PASSWORD_ARGON2_TIME_COST, time_cost = 0; in php_password_argon2_needs_rehash() local
294 extract_argon2_parameters(hash, &v, &memory_cost, &time_cost, &threads); in php_password_argon2_needs_rehash()
296 return (new_time_cost != time_cost) || in php_password_argon2_needs_rehash()
304 size_t time_cost = PHP_PASSWORD_ARGON2_TIME_COST; in php_password_argon2_hash() local
320 time_cost = zval_get_long(option_buffer); in php_password_argon2_hash()
323 if (time_cost > ARGON2_MAX_TIME || time_cost < ARGON2_MIN_TIME) { in php_password_argon2_hash()
343 time_cost, in php_password_argon2_hash()
353 time_cost, in php_password_argon2_hash()