Home
last modified time | relevance | path

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

/PHP-5.4/ext/standard/
H A Dcrypt_sha512.c355 static const char sha512_salt_prefix[] = "$6$"; variable
406 if (strncmp(sha512_salt_prefix, salt, sizeof(sha512_salt_prefix) - 1) == 0) { in php_sha512_crypt_r()
408 salt += sizeof(sha512_salt_prefix) - 1; in php_sha512_crypt_r()
559 cp = __php_stpncpy(buffer, sha512_salt_prefix, MAX(0, buflen)); in php_sha512_crypt_r()
560 buflen -= sizeof(sha512_salt_prefix) - 1; in php_sha512_crypt_r()
654 int needed = (int)(sizeof(sha512_salt_prefix) - 1 in php_sha512_crypt()
H A Dcrypt.c197 const char sha512_salt_prefix[] = "$6$"; in PHP_FUNCTION() local
200 int needed = (sizeof(sha512_salt_prefix) - 1 in PHP_FUNCTION()

Completed in 6 milliseconds