Home
last modified time | relevance | path

Searched refs:salt_in_len (Results 1 – 1 of 1) sorted by relevance

/PHP-8.0/ext/standard/
H A Dcrypt.c205 size_t str_len, salt_in_len = 0; in PHP_FUNCTION() local
210 Z_PARAM_STRING(salt_in, salt_in_len) in PHP_FUNCTION()
218 memcpy(salt, salt_in, MIN(PHP_MAX_SALT_LEN, salt_in_len)); in PHP_FUNCTION()
220 salt_in_len = MIN(PHP_MAX_SALT_LEN, salt_in_len); in PHP_FUNCTION()
221 salt[salt_in_len] = '\0'; in PHP_FUNCTION()
223 if ((result = php_crypt(str, (int)str_len, salt, (int)salt_in_len, 0)) == NULL) { in PHP_FUNCTION()

Completed in 15 milliseconds