com php-src: sodium ext: The default password hashing function is not supposed to be Argon2i: ext/sodium/libsodium.c

From: Date: Tue, 08 Aug 2017 15:37:06 +0000
Subject: com php-src: sodium ext: The default password hashing function is not supposed to be Argon2i: ext/sodium/libsodium.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-98975@lists.php.net to get a copy of this message
Commit: a0d1e0915c82e4ae867efe9cf3d9b65a5522faef Author: Frank Denis <github@pureftpd.org> Tue, 8 Aug 2017 17:37:06 +0200 Parents: 631fc3c9c180ffc155ea508776b6d318935acba7 Branches: PHP-7.2 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a0d1e0915c82e4ae867efe9cf3d9b65a5522faef Log: sodium ext: The default password hashing function is not supposed to be Argon2i Changed paths: M ext/sodium/libsodium.c Diff: diff --git a/ext/sodium/libsodium.c b/ext/sodium/libsodium.c index 48b2a9c..2f311e0 100644 --- a/ext/sodium/libsodium.c +++ b/ext/sodium/libsodium.c @@ -1823,10 +1823,10 @@ PHP_FUNCTION(sodium_crypto_pwhash) } if (opslimit < crypto_pwhash_OPSLIMIT_INTERACTIVE) { zend_error(E_WARNING, - "number of operations for the argon2i function is low"); + "number of operations for the password hashing function is low"); } if (memlimit < crypto_pwhash_MEMLIMIT_INTERACTIVE) { - zend_error(E_WARNING, "maximum memory for the argon2i function is low"); + zend_error(E_WARNING, "maximum memory for the password hashing function is low"); } hash = zend_string_alloc((size_t) hash_len, 0); if (crypto_pwhash @@ -1866,11 +1866,11 @@ PHP_FUNCTION(sodium_crypto_pwhash_str) } if (opslimit < crypto_pwhash_OPSLIMIT_INTERACTIVE) { zend_error(E_WARNING, - "number of operations for the argon2i function is low"); + "number of operations for the password hashing function is low"); } if (memlimit < crypto_pwhash_MEMLIMIT_INTERACTIVE) { zend_error(E_WARNING, - "maximum memory for the argon2i function is low"); + "maximum memory for the password hashing function is low"); } hash_str = zend_string_alloc(crypto_pwhash_STRBYTES - 1, 0); if (crypto_pwhash_str

« previous php.cvs (#98975) next »