Home
last modified time | relevance | path

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

/PHP-7.2/ext/standard/
H A Dcrypt_sha256.c316 static const char sha256_salt_prefix[] = "$5$"; variable
367 if (strncmp(sha256_salt_prefix, salt, sizeof(sha256_salt_prefix) - 1) == 0) { in php_sha256_crypt_r()
369 salt += sizeof(sha256_salt_prefix) - 1; in php_sha256_crypt_r()
518 cp = __php_stpncpy(buffer, sha256_salt_prefix, MAX(0, buflen)); in php_sha256_crypt_r()
519 buflen -= sizeof(sha256_salt_prefix) - 1; in php_sha256_crypt_r()
601 int needed = (sizeof(sha256_salt_prefix) - 1 in php_sha256_crypt()

Completed in 18 milliseconds