Lines Matching refs:memlimit
1590 zend_long memlimit; in PHP_FUNCTION() local
1602 &opslimit, &memlimit, &alg) == FAILURE) { in PHP_FUNCTION()
1622 if (memlimit <= 0 || memlimit > SIZE_MAX) { in PHP_FUNCTION()
1645 if (memlimit < crypto_pwhash_MEMLIMIT_MIN) { in PHP_FUNCTION()
1655 (unsigned long long) opslimit, (size_t) memlimit, (int) alg); in PHP_FUNCTION()
1662 (unsigned long long) opslimit, (size_t) memlimit, (int) alg); in PHP_FUNCTION()
1678 zend_long memlimit; in PHP_FUNCTION() local
1685 &opslimit, &memlimit) == FAILURE) { in PHP_FUNCTION()
1693 if (memlimit <= 0 || memlimit > SIZE_MAX) { in PHP_FUNCTION()
1707 if (memlimit < crypto_pwhash_MEMLIMIT_MIN) { in PHP_FUNCTION()
1713 (unsigned long long) opslimit, (size_t) memlimit) != 0) { in PHP_FUNCTION()
1730 zend_long memlimit; in PHP_FUNCTION() local
1735 &hash_str, &hash_str_len, &opslimit, &memlimit) == FAILURE) { in PHP_FUNCTION()
1738 if (crypto_pwhash_str_needs_rehash(hash_str, opslimit, memlimit) == 0) { in PHP_FUNCTION()
1780 zend_long memlimit; in PHP_FUNCTION() local
1789 &opslimit, &memlimit) == FAILURE) { in PHP_FUNCTION()
1801 if (memlimit <= 0 || memlimit > SIZE_MAX) { in PHP_FUNCTION()
1815 if (memlimit < crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_INTERACTIVE) { in PHP_FUNCTION()
1822 (unsigned long long) opslimit, (size_t) memlimit) != 0) { in PHP_FUNCTION()
1836 zend_long memlimit; in PHP_FUNCTION() local
1842 &opslimit, &memlimit) == FAILURE) { in PHP_FUNCTION()
1850 if (memlimit <= 0 || memlimit > SIZE_MAX) { in PHP_FUNCTION()
1860 if (memlimit < crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_INTERACTIVE) { in PHP_FUNCTION()
1867 (unsigned long long) opslimit, (size_t) memlimit) != 0) { in PHP_FUNCTION()