Move most of MWCryptHKDF into libs
authorKunal Mehta <legoktm@member.fsf.org>
Tue, 4 Oct 2016 17:48:02 +0000 (10:48 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 17 Oct 2016 22:16:17 +0000 (22:16 +0000)
commitf73a68e15cab42ad2e2772b0eea51d75b44ba321
tree1f9b31be7b25d22b059d4b4028a91102fd6f8197
parent70b8f94b81005a32c5e2ef2a3a2db49b45b8b9bf
Move most of MWCryptHKDF into libs

Dependency-inject the MediaWiki-specific parts into a CryptHKDF
instance, which MWCryptHKDF wraps around.

Change-Id: Idff18635cfd8a3d93ea2ca8d56cdbd11eb4d3b2b
autoload.php
includes/MediaWikiServices.php
includes/ServiceWiring.php
includes/libs/CryptHKDF.php [new file with mode: 0644]
includes/utils/MWCryptHKDF.php
tests/phpunit/includes/MediaWikiServicesTest.php