Home
last modified time | relevance | path

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

/PHP-8.2/ext/standard/
H A Dcrypt_sha512.c342 static const char sha512_rounds_prefix[] = "rounds="; variable
388 if (strncmp(salt, sha512_rounds_prefix, sizeof(sha512_rounds_prefix) - 1) == 0) { in php_sha512_crypt_r()
389 const char *num = salt + sizeof(sha512_rounds_prefix) - 1; in php_sha512_crypt_r()
554 int n = _snprintf(cp, MAX(0, buflen), "%s" ZEND_ULONG_FMT "$", sha512_rounds_prefix, rounds); in php_sha512_crypt_r()
556 int n = snprintf(cp, MAX(0, buflen), "%s%zu$", sha512_rounds_prefix, rounds); in php_sha512_crypt_r()
653 + sizeof(sha512_rounds_prefix) + 9 + 1 in php_sha512_crypt()

Completed in 6 milliseconds