Home
last modified time | relevance | path

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

/PHP-7.2/ext/standard/
H A Dcrypt_sha256.c319 static const char sha256_rounds_prefix[] = "rounds="; variable
372 if (strncmp(salt, sha256_rounds_prefix, sizeof(sha256_rounds_prefix) - 1) == 0) { in php_sha256_crypt_r()
373 const char *num = salt + sizeof(sha256_rounds_prefix) - 1; in php_sha256_crypt_r()
523 int n = _snprintf(cp, MAX(0, buflen), "%s" ZEND_ULONG_FMT "$", sha256_rounds_prefix, rounds); in php_sha256_crypt_r()
525 int n = snprintf(cp, MAX(0, buflen), "%s%zu$", sha256_rounds_prefix, rounds); in php_sha256_crypt_r()
602 + sizeof(sha256_rounds_prefix) + 9 + 1 in php_sha256_crypt()

Completed in 10 milliseconds