Home
last modified time | relevance | path

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

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

Completed in 10 milliseconds