Searched refs:salt_in_len (Results 1 – 1 of 1) sorted by relevance
/PHP-7.0/ext/standard/ |
H A D | crypt.c | 291 size_t str_len, salt_in_len = 0; in PHP_FUNCTION() local 300 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|s", &str, &str_len, &salt_in, &salt_in_len) == FAILU… in PHP_FUNCTION() 305 memcpy(salt, salt_in, MIN(PHP_MAX_SALT_LEN, salt_in_len)); in PHP_FUNCTION() 321 salt_in_len = strlen(salt); in PHP_FUNCTION() 323 salt_in_len = MIN(PHP_MAX_SALT_LEN, salt_in_len); in PHP_FUNCTION() 325 salt[salt_in_len] = '\0'; in PHP_FUNCTION() 327 if ((result = php_crypt(str, (int)str_len, salt, (int)salt_in_len, 0)) == NULL) { in PHP_FUNCTION()
|
Completed in 4 milliseconds