Lines Matching refs:memlimit
1478 zend_long memlimit; in PHP_FUNCTION() local
1490 &opslimit, &memlimit, &alg) == FAILURE) { in PHP_FUNCTION()
1510 if (memlimit <= 0 || memlimit > SIZE_MAX) { in PHP_FUNCTION()
1533 if (memlimit < crypto_pwhash_MEMLIMIT_MIN) { in PHP_FUNCTION()
1543 (unsigned long long) opslimit, (size_t) memlimit, (int) alg); in PHP_FUNCTION()
1550 (unsigned long long) opslimit, (size_t) memlimit, (int) alg); in PHP_FUNCTION()
1566 zend_long memlimit; in PHP_FUNCTION() local
1573 &opslimit, &memlimit) == FAILURE) { in PHP_FUNCTION()
1581 if (memlimit <= 0 || memlimit > SIZE_MAX) { in PHP_FUNCTION()
1595 if (memlimit < crypto_pwhash_MEMLIMIT_MIN) { in PHP_FUNCTION()
1601 (unsigned long long) opslimit, (size_t) memlimit) != 0) { in PHP_FUNCTION()
1618 zend_long memlimit; in PHP_FUNCTION() local
1623 &hash_str, &hash_str_len, &opslimit, &memlimit) == FAILURE) { in PHP_FUNCTION()
1626 if (crypto_pwhash_str_needs_rehash(hash_str, opslimit, memlimit) == 0) { in PHP_FUNCTION()
1668 zend_long memlimit; in PHP_FUNCTION() local
1677 &opslimit, &memlimit) == FAILURE) { in PHP_FUNCTION()
1689 if (memlimit <= 0 || memlimit > SIZE_MAX) { in PHP_FUNCTION()
1703 if (memlimit < crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_INTERACTIVE) { in PHP_FUNCTION()
1710 (unsigned long long) opslimit, (size_t) memlimit) != 0) { in PHP_FUNCTION()
1724 zend_long memlimit; in PHP_FUNCTION() local
1730 &opslimit, &memlimit) == FAILURE) { in PHP_FUNCTION()
1738 if (memlimit <= 0 || memlimit > SIZE_MAX) { in PHP_FUNCTION()
1748 if (memlimit < crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_INTERACTIVE) { in PHP_FUNCTION()
1755 (unsigned long long) opslimit, (size_t) memlimit) != 0) { in PHP_FUNCTION()