Lines Matching refs:time_cost
315 zend_long *time_cost, zend_long *threads) /* {{{ */ in extract_argon2_parameters() argument
330 v, memory_cost, time_cost, threads); in extract_argon2_parameters()
339 zend_long time_cost = PHP_PASSWORD_ARGON2_TIME_COST; in php_password_argon2_get_info() local
342 extract_argon2_parameters(hash, &v, &memory_cost, &time_cost, &threads); in php_password_argon2_get_info()
345 add_assoc_long(return_value, "time_cost", time_cost); in php_password_argon2_get_info()
354 zend_long new_time_cost = PHP_PASSWORD_ARGON2_TIME_COST, time_cost = 0; in php_password_argon2_needs_rehash() local
370 extract_argon2_parameters(hash, &v, &memory_cost, &time_cost, &threads); in php_password_argon2_needs_rehash()
372 return (new_time_cost != time_cost) || in php_password_argon2_needs_rehash()
380 size_t time_cost = PHP_PASSWORD_ARGON2_TIME_COST; in php_password_argon2_hash() local
396 time_cost = zval_get_long(option_buffer); in php_password_argon2_hash()
399 if (time_cost > ARGON2_MAX_TIME || time_cost < ARGON2_MIN_TIME) { in php_password_argon2_hash()
419 time_cost, in php_password_argon2_hash()
429 time_cost, in php_password_argon2_hash()