Home
last modified time | relevance | path

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

/PHP-8.3/ext/standard/
H A Dcrypt_sha512.c339 static const char sha512_salt_prefix[] = "$6$"; variable
383 if (strncmp(sha512_salt_prefix, salt, sizeof(sha512_salt_prefix) - 1) == 0) { in php_sha512_crypt_r()
385 salt += sizeof(sha512_salt_prefix) - 1; in php_sha512_crypt_r()
549 cp = __php_stpncpy(buffer, sha512_salt_prefix, MAX(0, buflen)); in php_sha512_crypt_r()
550 buflen -= sizeof(sha512_salt_prefix) - 1; in php_sha512_crypt_r()
652 int needed = (int)(sizeof(sha512_salt_prefix) - 1 in php_sha512_crypt()

Completed in 7 milliseconds