Searched refs:required_salt_len (Results 1 – 1 of 1) sorted by relevance
/PHP-7.4/ext/standard/ |
H A D | password.c | 125 static zend_string* php_password_get_salt(zval *unused_, size_t required_salt_len, HashTable *optio… in php_password_get_salt() argument 130 return php_password_make_salt(required_salt_len); in php_password_get_salt() 166 if (ZSTR_LEN(buffer) < required_salt_len) { in php_password_get_salt() 167 …, E_WARNING, "Provided salt is too short: %zd expecting %zd", ZSTR_LEN(buffer), required_salt_len); in php_password_get_salt() 173 zend_string *salt = zend_string_alloc(required_salt_len, 0); in php_password_get_salt() 174 …if (php_password_salt_to64(ZSTR_VAL(buffer), ZSTR_LEN(buffer), required_salt_len, ZSTR_VAL(salt)) … in php_password_get_salt() 183 zend_string *salt = zend_string_alloc(required_salt_len, 0); in php_password_get_salt() 184 memcpy(ZSTR_VAL(salt), ZSTR_VAL(buffer), required_salt_len); in php_password_get_salt()
|
Completed in 5 milliseconds