Searched refs:sha512_rounds_prefix (Results 1 – 1 of 1) sorted by relevance
/PHP-7.0/ext/standard/ |
H A D | crypt_sha512.c | 352 static const char sha512_rounds_prefix[] = "rounds="; variable 405 if (strncmp(salt, sha512_rounds_prefix, sizeof(sha512_rounds_prefix) - 1) == 0) { in php_sha512_crypt_r() 406 const char *num = salt + sizeof(sha512_rounds_prefix) - 1; in php_sha512_crypt_r() 558 int n = _snprintf(cp, MAX(0, buflen), "%s" ZEND_ULONG_FMT "$", sha512_rounds_prefix, rounds); in php_sha512_crypt_r() 560 int n = snprintf(cp, MAX(0, buflen), "%s%zu$", sha512_rounds_prefix, rounds); in php_sha512_crypt_r() 649 + sizeof(sha512_rounds_prefix) + 9 + 1 in php_sha512_crypt()
|
Completed in 5 milliseconds