Home
last modified time | relevance | path

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

/PHP-8.2/ext/standard/
H A Dcrypt_sha256.c306 static const char sha256_salt_prefix[] = "$5$"; variable
350 if (strncmp(sha256_salt_prefix, salt, sizeof(sha256_salt_prefix) - 1) == 0) { in php_sha256_crypt_r()
352 salt += sizeof(sha256_salt_prefix) - 1; in php_sha256_crypt_r()
514 cp = __php_stpncpy(buffer, sha256_salt_prefix, MAX(0, buflen)); in php_sha256_crypt_r()
515 buflen -= sizeof(sha256_salt_prefix) - 1; in php_sha256_crypt_r()
605 int needed = (sizeof(sha256_salt_prefix) - 1 in php_sha256_crypt()

Completed in 8 milliseconds