Home
last modified time | relevance | path

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

/php-src/ext/standard/
H A Dcrypt_sha512.c338 static const char sha512_salt_prefix[] = "$6$"; variable
382 if (strncmp(sha512_salt_prefix, salt, sizeof(sha512_salt_prefix) - 1) == 0) { in php_sha512_crypt_r()
384 salt += sizeof(sha512_salt_prefix) - 1; in php_sha512_crypt_r()
548 cp = __php_stpncpy(buffer, sha512_salt_prefix, MAX(0, buflen)); in php_sha512_crypt_r()
549 buflen -= sizeof(sha512_salt_prefix) - 1; in php_sha512_crypt_r()
651 int needed = (int)(sizeof(sha512_salt_prefix) - 1 in php_sha512_crypt()

Completed in 6 milliseconds