Searched refs:cost (Results 1 – 14 of 14) sorted by relevance
/php-src/ext/standard/tests/password/ |
H A D | password_needs_rehash.phpt | 17 // Valid with cost the same 18 …$10$MTIzNDU2Nzg5MDEyMzQ1Nej0NmcAWSLR.oP7XOR9HD/vjUuOj100y', PASSWORD_BCRYPT, array('cost' => 10))); 20 // Valid with cost the same, additional params 23 // Invalid, different (lower) cost 24 …y$10$MTIzNDU2Nzg5MDEyMzQ1Nej0NmcAWSLR.oP7XOR9HD/vjUuOj100y', PASSWORD_BCRYPT, array('cost' => 0))); 26 // Invalid, different (higher) cost 27 …$10$MTIzNDU2Nzg5MDEyMzQ1Nej0NmcAWSLR.oP7XOR9HD/vjUuOj100y', PASSWORD_BCRYPT, array('cost' => 11))); 29 // Valid with cost the default 30 $cost = str_pad(PASSWORD_BCRYPT_DEFAULT_COST, 2, '0', STR_PAD_LEFT); 31 var_dump(password_needs_rehash('$2y$'.$cost.'$MTIzNDU2Nzg5MDEyMzQ1Nej0NmcAWSLR.oP7XOR9HD/vjUuOj100y… [all …]
|
H A D | password_bcrypt_errors.phpt | 7 password_hash("foo", PASSWORD_BCRYPT, array("cost" => 3)); 13 var_dump(password_hash("foo", PASSWORD_BCRYPT, array("cost" => 32))); 25 Invalid bcrypt cost parameter specified: 3 26 Invalid bcrypt cost parameter specified: 32
|
H A D | password_hash_error_argon2.phpt | 48 Memory cost is outside of allowed memory range 49 Time cost is outside of allowed time range 51 Memory cost is outside of allowed memory range 52 Time cost is outside of allowed time range
|
H A D | password_get_info.phpt | 25 ["cost"]=> 36 ["cost"]=>
|
H A D | password_removed_salt_option.phpt | 10 var_dump(strlen(password_hash("rasmuslerdorf", PASSWORD_BCRYPT, array("cost" => 7, "salt" => "useso…
|
/php-src/ext/date/lib/ |
H A D | astro.c | 266 double cost; in timelib_astro_rise_set_altitude() local 267 cost = (sind(altit) - sind(lat) * sind(sdec)) / (cosd(lat) * cosd(sdec)); in timelib_astro_rise_set_altitude() 269 if (cost >= 1.0) { in timelib_astro_rise_set_altitude() 274 } else if (cost <= -1.0) { in timelib_astro_rise_set_altitude() 281 t = acosd(cost) / 15.0; /* The diurnal arc, hours */ in timelib_astro_rise_set_altitude()
|
/php-src/ext/standard/ |
H A D | password.c | 123 zend_long cost = PHP_PASSWORD_BCRYPT_COST; in php_password_bcrypt_get_info() local 130 sscanf(ZSTR_VAL(hash), "$2y$" ZEND_LONG_FMT "$", &cost); in php_password_bcrypt_get_info() 131 add_assoc_long(return_value, "cost", cost); in php_password_bcrypt_get_info() 182 zend_long cost = PHP_PASSWORD_BCRYPT_COST; in php_password_bcrypt_hash() local 190 cost = zval_get_long(zcost); in php_password_bcrypt_hash() 193 if (cost < 4 || cost > 31) { in php_password_bcrypt_hash() 194 zend_value_error("Invalid bcrypt cost parameter specified: " ZEND_LONG_FMT, cost); in php_password_bcrypt_hash() 198 …sh_format_len = snprintf(hash_format, sizeof(hash_format), "$2y$%02" ZEND_LONG_FMT_SPEC "$", cost); in php_password_bcrypt_hash()
|
/php-src/ext/standard/tests/crypt/ |
H A D | bcrypt_invalid_cost.phpt | 2 Test BCRYPT with invalid cost
|
/php-src/ext/sodium/tests/ |
H A D | bug78516.phpt | 2 Bug #78516 (password_hash(): Memory cost is not in allowed range)
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit_vm_helpers.c | 348 …D_OPCODE_HANDLER_RET ZEND_FASTCALL zend_jit_trace_counter_helper(uint32_t cost ZEND_OPCODE_HANDLER… in zend_jit_trace_counter_helper() 357 *(ZEND_OP_TRACE_INFO(opline, offset)->counter) -= cost; in zend_jit_trace_counter_helper()
|
H A D | zend_jit_ir.c | 2274 static int _zend_jit_hybrid_hot_counter_stub(zend_jit_ctx *jit, uint32_t cost) in _zend_jit_hybrid_hot_counter_stub() argument 2281 ref = ir_SUB_I16(ir_LOAD_I16(addr), ir_CONST_I16(cost)); in _zend_jit_hybrid_hot_counter_stub() 2347 static int _zend_jit_hybrid_trace_counter_stub(zend_jit_ctx *jit, uint32_t cost) in _zend_jit_hybrid_trace_counter_stub() argument 2355 ref = ir_SUB_I16(ir_LOAD_I16(addr), ir_CONST_I16(cost)); in _zend_jit_hybrid_trace_counter_stub()
|
/php-src/ext/mbstring/libmbfl/ |
H A D | LICENSE | 309 than the cost of performing this distribution.
|
/php-src/ext/bcmath/libbcmath/ |
H A D | LICENSE | 312 than the cost of performing this distribution.
|
/php-src/build/ |
H A D | libtool.m4 | 5855 # does not break anything, and helps significantly (at the cost of a little
|
Completed in 62 milliseconds