Home
last modified time | relevance | path

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

/PHP-8.1/ext/sodium/
H A Dsodium_pwhash.c72 …ic zend_string *php_sodium_argon2_hash(const zend_string *password, zend_array *options, int alg) { in php_sodium_argon2_hash() argument
86 …o_pwhash_str_alg(ZSTR_VAL(ret), ZSTR_VAL(password), ZSTR_LEN(password), opslimit, memlimit, alg)) { in php_sodium_argon2_hash()
H A Dlibsodium.c1592 zend_long alg; in PHP_FUNCTION() local
1597 alg = (zend_long) crypto_pwhash_ALG_DEFAULT; in PHP_FUNCTION()
1602 &opslimit, &memlimit, &alg) == FAILURE) { in PHP_FUNCTION()
1626 if (alg != crypto_pwhash_ALG_ARGON2I13 in PHP_FUNCTION()
1628 && alg != crypto_pwhash_ALG_ARGON2ID13 in PHP_FUNCTION()
1630 && alg != crypto_pwhash_ALG_DEFAULT) { in PHP_FUNCTION()
1651 if (alg == crypto_pwhash_ALG_ARGON2ID13) { 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()

Completed in 14 milliseconds