phpseclib API Documentation
Class

Unit_Crypt_AES_McryptTest

class Unit_Crypt_AES_McryptTest extends Unit_Crypt_AES_TestCase

Methods

tearDown()

from PhpseclibTestCase
array continuousBufferCombos()

Produces all combinations of test values.

from Unit_Crypt_AES_TestCase
testEncryptDecryptWithContinuousBuffer($mode, $plaintext, $iv, $key)

from Unit_Crypt_AES_TestCase
testKeyPaddingRijndael()

from Unit_Crypt_AES_TestCase
testKeyPaddingAES()

from Unit_Crypt_AES_TestCase
array continuousBufferBatteryCombos()

Produces all combinations of test values.

from Unit_Crypt_AES_TestCase
testContinuousBufferBattery($op, $mode, $test)

from Unit_Crypt_AES_TestCase
testNonContinuousBufferBattery($op, $mode, $test)

Pretty much the same as testContinuousBufferBattery with the caveat that continuous mode is not enabled.

from Unit_Crypt_AES_TestCase
testGFSBox128()

from Unit_Crypt_AES_TestCase
testGFSBox192()

from Unit_Crypt_AES_TestCase
testGFSBox256()

from Unit_Crypt_AES_TestCase
testGetKeyLengthDefault()

from Unit_Crypt_AES_TestCase
testGetKeyLengthWith192BitKey()

from Unit_Crypt_AES_TestCase
testSetKeyLengthWithLargerKey()

from Unit_Crypt_AES_TestCase
testSetKeyLengthWithSmallerKey()

from Unit_Crypt_AES_TestCase
testContinuousBuffer()

from Unit_Crypt_AES_TestCase

Details

in PhpseclibTestCase at line 12
public tearDown()

public array continuousBufferCombos()

Produces all combinations of test values.

Return Value

array

public testEncryptDecryptWithContinuousBuffer($mode, $plaintext, $iv, $key)

Parameters

$mode
$plaintext
$iv
$key

public testKeyPaddingRijndael()

public testKeyPaddingAES()

public array continuousBufferBatteryCombos()

Produces all combinations of test values.

Return Value

array

public testContinuousBufferBattery($op, $mode, $test)

Parameters

$op
$mode
$test

public testNonContinuousBufferBattery($op, $mode, $test)

Pretty much the same as testContinuousBufferBattery with the caveat that continuous mode is not enabled.

Parameters

$op
$mode
$test

public testGFSBox128()

public testGFSBox192()

public testGFSBox256()

public testGetKeyLengthDefault()

public testGetKeyLengthWith192BitKey()

public testSetKeyLengthWithLargerKey()

public testSetKeyLengthWithSmallerKey()

public testContinuousBuffer()