Lines Matching refs:memory_cost
191 zend_long memory_cost = PHP_PASSWORD_ARGON2_MEMORY_COST; in PHP_FUNCTION() local
195 …_FMT "$m=" ZEND_LONG_FMT ",t=" ZEND_LONG_FMT ",p=" ZEND_LONG_FMT, &v, &memory_cost, &time_cost, &t… in PHP_FUNCTION()
196 add_assoc_long(&options, "memory_cost", memory_cost); in PHP_FUNCTION()
257 zend_long new_memory_cost = PHP_PASSWORD_ARGON2_MEMORY_COST, memory_cost = 0; in PHP_FUNCTION() local
273 …_FMT "$m=" ZEND_LONG_FMT ",t=" ZEND_LONG_FMT ",p=" ZEND_LONG_FMT, &v, &memory_cost, &time_cost, &t… in PHP_FUNCTION()
275 if (new_time_cost != time_cost || new_memory_cost != memory_cost || new_threads != threads) { in PHP_FUNCTION()
480 size_t memory_cost = PHP_PASSWORD_ARGON2_MEMORY_COST; in PHP_FUNCTION() local
487 memory_cost = zval_get_long(option_buffer); in PHP_FUNCTION()
490 if (memory_cost > ARGON2_MAX_MEMORY || memory_cost < ARGON2_MIN_MEMORY) { in PHP_FUNCTION()
491 … php_error_docref(NULL, E_WARNING, "Memory cost is outside of allowed memory range", memory_cost); in PHP_FUNCTION()
520 memory_cost, in PHP_FUNCTION()
532 memory_cost, in PHP_FUNCTION()