Searched refs:required_salt_len (Results 1 – 1 of 1) sorted by relevance
/PHP-7.2/ext/standard/ |
H A D | password.c | 344 static zend_string* php_password_get_salt(zval *return_value, size_t required_salt_len, HashTable *… in php_password_get_salt() argument 349 buffer = php_password_make_salt(required_salt_len); in php_password_get_salt() 386 if (ZSTR_LEN(buffer) < required_salt_len) { in php_password_get_salt() 387 …, E_WARNING, "Provided salt is too short: %zd expecting %zd", ZSTR_LEN(buffer), required_salt_len); in php_password_get_salt() 393 zend_string *salt = zend_string_alloc(required_salt_len, 0); in php_password_get_salt() 394 …if (php_password_salt_to64(ZSTR_VAL(buffer), ZSTR_LEN(buffer), required_salt_len, ZSTR_VAL(salt)) … in php_password_get_salt() 403 zend_string *salt = zend_string_alloc(required_salt_len, 0); in php_password_get_salt() 404 memcpy(ZSTR_VAL(salt), ZSTR_VAL(buffer), required_salt_len); in php_password_get_salt()
|
Completed in 13 milliseconds