Home
last modified time | relevance | path

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

/PHP-8.0/ext/standard/
H A Dcrypt_sha512.c340 static const char sha512_salt_prefix[] = "$6$"; variable
384 if (strncmp(sha512_salt_prefix, salt, sizeof(sha512_salt_prefix) - 1) == 0) { in php_sha512_crypt_r()
386 salt += sizeof(sha512_salt_prefix) - 1; in php_sha512_crypt_r()
541 cp = __php_stpncpy(buffer, sha512_salt_prefix, MAX(0, buflen)); in php_sha512_crypt_r()
542 buflen -= sizeof(sha512_salt_prefix) - 1; in php_sha512_crypt_r()
636 int needed = (int)(sizeof(sha512_salt_prefix) - 1 in php_sha512_crypt()

Completed in 7 milliseconds