Home
last modified time | relevance | path

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

/PHP-7.4/ext/standard/
H A Dcrypt_sha256.c307 static const char sha256_salt_prefix[] = "$5$"; variable
351 if (strncmp(sha256_salt_prefix, salt, sizeof(sha256_salt_prefix) - 1) == 0) { in php_sha256_crypt_r()
353 salt += sizeof(sha256_salt_prefix) - 1; in php_sha256_crypt_r()
502 cp = __php_stpncpy(buffer, sha256_salt_prefix, MAX(0, buflen)); in php_sha256_crypt_r()
503 buflen -= sizeof(sha256_salt_prefix) - 1; in php_sha256_crypt_r()
585 int needed = (sizeof(sha256_salt_prefix) - 1 in php_sha256_crypt()

Completed in 5 milliseconds