Home
last modified time | relevance | path

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

/PHP-8.0/ext/standard/
H A Dcrypt_sha256.c310 static const char sha256_rounds_prefix[] = "rounds="; variable
356 if (strncmp(salt, sha256_rounds_prefix, sizeof(sha256_rounds_prefix) - 1) == 0) { in php_sha256_crypt_r()
357 const char *num = salt + sizeof(sha256_rounds_prefix) - 1; in php_sha256_crypt_r()
511 int n = _snprintf(cp, MAX(0, buflen), "%s" ZEND_ULONG_FMT "$", sha256_rounds_prefix, rounds); in php_sha256_crypt_r()
513 int n = snprintf(cp, MAX(0, buflen), "%s%zu$", sha256_rounds_prefix, rounds); in php_sha256_crypt_r()
590 + sizeof(sha256_rounds_prefix) + 9 + 1 in php_sha256_crypt()

Completed in 9 milliseconds