MediaWiki  REL1_24
MWCryptHKDFTest Class Reference

HKDF More...

Inheritance diagram for MWCryptHKDFTest:
Collaboration diagram for MWCryptHKDFTest:

List of all members.

Public Member Functions

 testGenerate ()
 Test basic usage works.
 testRfc5869 ($hash, $ikm, $salt, $info, $L, $prk, $okm)
 providerRfc5869

Static Public Member Functions

static providerRfc5869 ()
 Test vectors from Appendix A on http://tools.ietf.org/html/rfc5869.

Detailed Description

HKDF

Definition at line 7 of file MWCryptHKDFTest.php.


Member Function Documentation

static MWCryptHKDFTest::providerRfc5869 ( ) [static]

Test vectors from Appendix A on http://tools.ietf.org/html/rfc5869.

Definition at line 36 of file MWCryptHKDFTest.php.

References array().

Test basic usage works.

Definition at line 12 of file MWCryptHKDFTest.php.

References MWCryptHKDF\generateHex().

MWCryptHKDFTest::testRfc5869 ( hash,
ikm,
salt,
info,
L,
prk,
okm 
)

providerRfc5869

Definition at line 24 of file MWCryptHKDFTest.php.

References $result, and MWCryptHKDF\HKDF().


The documentation for this class was generated from the following file: