Home
last modified time | relevance | path

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

/PHP-7.4/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()
507 int n = _snprintf(cp, MAX(0, buflen), "%s" ZEND_ULONG_FMT "$", sha256_rounds_prefix, rounds); in php_sha256_crypt_r()
509 int n = snprintf(cp, MAX(0, buflen), "%s%zu$", sha256_rounds_prefix, rounds); in php_sha256_crypt_r()
586 + sizeof(sha256_rounds_prefix) + 9 + 1 in php_sha256_crypt()

Completed in 7 milliseconds