Lines Matching refs:threads
239 zend_long *time_cost, zend_long *threads) /* {{{ */ in extract_argon2_parameters() argument
254 v, memory_cost, time_cost, threads); in extract_argon2_parameters()
264 zend_long threads = PHP_PASSWORD_ARGON2_THREADS; in php_password_argon2_get_info() local
266 extract_argon2_parameters(hash, &v, &memory_cost, &time_cost, &threads); in php_password_argon2_get_info()
270 add_assoc_long(return_value, "threads", threads); in php_password_argon2_get_info()
279 zend_long new_threads = PHP_PASSWORD_ARGON2_THREADS, threads = 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()
298 (new_threads != threads); in php_password_argon2_needs_rehash()
306 size_t threads = PHP_PASSWORD_ARGON2_THREADS; in php_password_argon2_hash() local
329 threads = zval_get_long(option_buffer); in php_password_argon2_hash()
332 if (threads > ARGON2_MAX_LANES || threads == 0) { in php_password_argon2_hash()
345 threads, in php_password_argon2_hash()
355 threads, in php_password_argon2_hash()