Home
last modified time | relevance | path

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

/PHP-7.0/ext/standard/
H A Dcrypt_sha512.c349 static const char sha512_salt_prefix[] = "$6$"; variable
400 if (strncmp(sha512_salt_prefix, salt, sizeof(sha512_salt_prefix) - 1) == 0) { in php_sha512_crypt_r()
402 salt += sizeof(sha512_salt_prefix) - 1; in php_sha512_crypt_r()
553 cp = __php_stpncpy(buffer, sha512_salt_prefix, MAX(0, buflen)); in php_sha512_crypt_r()
554 buflen -= sizeof(sha512_salt_prefix) - 1; in php_sha512_crypt_r()
648 int needed = (int)(sizeof(sha512_salt_prefix) - 1 in php_sha512_crypt()

Completed in 5 milliseconds