Searched refs:required_salt_len (Results 1 – 1 of 1) sorted by relevance
/PHP-7.3/ext/standard/ |
H A D | password.c | 376 static zend_string* php_password_get_salt(zval *return_value, size_t required_salt_len, HashTable *… in php_password_get_salt() argument 381 buffer = php_password_make_salt(required_salt_len); in php_password_get_salt() 418 if (ZSTR_LEN(buffer) < required_salt_len) { in php_password_get_salt() 419 …, E_WARNING, "Provided salt is too short: %zd expecting %zd", ZSTR_LEN(buffer), required_salt_len); in php_password_get_salt() 425 zend_string *salt = zend_string_alloc(required_salt_len, 0); in php_password_get_salt() 426 …if (php_password_salt_to64(ZSTR_VAL(buffer), ZSTR_LEN(buffer), required_salt_len, ZSTR_VAL(salt)) … in php_password_get_salt() 435 zend_string *salt = zend_string_alloc(required_salt_len, 0); in php_password_get_salt() 436 memcpy(ZSTR_VAL(salt), ZSTR_VAL(buffer), required_salt_len); in php_password_get_salt()
|
Completed in 7 milliseconds