Lines Matching refs:threads
244 zend_long *time_cost, zend_long *threads) /* {{{ */ in extract_argon2_parameters() argument
259 v, memory_cost, time_cost, threads); in extract_argon2_parameters()
269 zend_long threads = PHP_PASSWORD_ARGON2_THREADS; in php_password_argon2_get_info() local
271 extract_argon2_parameters(hash, &v, &memory_cost, &time_cost, &threads); in php_password_argon2_get_info()
275 add_assoc_long(return_value, "threads", threads); in php_password_argon2_get_info()
284 zend_long new_threads = PHP_PASSWORD_ARGON2_THREADS, threads = 0; in php_password_argon2_needs_rehash() local
299 extract_argon2_parameters(hash, &v, &memory_cost, &time_cost, &threads); in php_password_argon2_needs_rehash()
303 (new_threads != threads); in php_password_argon2_needs_rehash()
311 size_t threads = PHP_PASSWORD_ARGON2_THREADS; in php_password_argon2_hash() local
334 threads = zval_get_long(option_buffer); in php_password_argon2_hash()
337 if (threads > ARGON2_MAX_LANES || threads == 0) { in php_password_argon2_hash()
350 threads, in php_password_argon2_hash()
360 threads, in php_password_argon2_hash()