Lines Matching refs:time_cost
240 zend_long *time_cost, zend_long *threads) /* {{{ */ in extract_argon2_parameters() argument
255 v, memory_cost, time_cost, threads); in extract_argon2_parameters()
264 zend_long time_cost = PHP_PASSWORD_ARGON2_TIME_COST; in php_password_argon2_get_info() local
267 extract_argon2_parameters(hash, &v, &memory_cost, &time_cost, &threads); in php_password_argon2_get_info()
270 add_assoc_long(return_value, "time_cost", time_cost); in php_password_argon2_get_info()
279 zend_long new_time_cost = PHP_PASSWORD_ARGON2_TIME_COST, time_cost = 0; in php_password_argon2_needs_rehash() local
295 extract_argon2_parameters(hash, &v, &memory_cost, &time_cost, &threads); in php_password_argon2_needs_rehash()
297 return (new_time_cost != time_cost) || in php_password_argon2_needs_rehash()
305 size_t time_cost = PHP_PASSWORD_ARGON2_TIME_COST; in php_password_argon2_hash() local
321 time_cost = zval_get_long(option_buffer); in php_password_argon2_hash()
324 if (time_cost > ARGON2_MAX_TIME || time_cost < ARGON2_MIN_TIME) { in php_password_argon2_hash()
344 time_cost, in php_password_argon2_hash()
354 time_cost, in php_password_argon2_hash()