Searched refs:alg (Results 1 – 2 of 2) sorted by relevance
/PHP-8.0/ext/sodium/ |
H A D | sodium_pwhash.c | 72 …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 D | libsodium.c | 1480 zend_long alg; in PHP_FUNCTION() local 1485 alg = (zend_long) crypto_pwhash_ALG_DEFAULT; in PHP_FUNCTION() 1490 &opslimit, &memlimit, &alg) == FAILURE) { in PHP_FUNCTION() 1514 if (alg != crypto_pwhash_ALG_ARGON2I13 in PHP_FUNCTION() 1516 && alg != crypto_pwhash_ALG_ARGON2ID13 in PHP_FUNCTION() 1518 && alg != crypto_pwhash_ALG_DEFAULT) { in PHP_FUNCTION() 1539 if (alg == crypto_pwhash_ALG_ARGON2ID13) { 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()
|
Completed in 20 milliseconds