PasswordPbkdf2: remove the 'use-hash-extension' option
authorMax Semenik <maxsem.wiki@gmail.com>
Sat, 1 Dec 2018 02:21:03 +0000 (18:21 -0800)
committerMax Semenik <maxsem.wiki@gmail.com>
Sat, 1 Dec 2018 02:21:03 +0000 (18:21 -0800)
commit9c4ce7e1cfc60509bc1ab7e723180b86c3aec22b
treedecc5b77dbb7e4dcf89104ae53160f365a2b17a4
parentd691704de2ff3e4871e4ed37438354940cff0708
PasswordPbkdf2: remove the 'use-hash-extension' option

It's misleading because even with this option the Hash extension is
still required due to usage of hash_hmac(), it's just to allow this
class to work on pre-5.5 PHP that had hash_hmac() but not hash_pbkdf().
Since we require 7.0, this option doesn't do anything anymore.

Change-Id: Ib60ab9377b44d78b7147c6139b07dc5467da007c
includes/password/Pbkdf2Password.php
tests/phpunit/includes/password/Pbkdf2PasswordFallbackTest.php
tests/phpunit/includes/password/Pbkdf2PasswordTest.php