phpseclib API Documentation
Class

Unit_Crypt_AES_TestCase

abstract class Unit_Crypt_AES_TestCase extends PhpseclibTestCase

Methods

tearDown()

from PhpseclibTestCase
array continuousBufferCombos()

Produces all combinations of test values.

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

testKeyPaddingRijndael()

testKeyPaddingAES()

array continuousBufferBatteryCombos()

Produces all combinations of test values.

testContinuousBufferBattery($op, $mode, $test)

testNonContinuousBufferBattery($op, $mode, $test)

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

testGFSBox128()

testGFSBox192()

testGFSBox256()

testGetKeyLengthDefault()

testGetKeyLengthWith192BitKey()

testSetKeyLengthWithLargerKey()

testSetKeyLengthWithSmallerKey()

testContinuousBuffer()

Details

in PhpseclibTestCase at line 12
public tearDown()

at line 34
public array continuousBufferCombos()

Produces all combinations of test values.

Return Value

array

at line 75
public testEncryptDecryptWithContinuousBuffer($mode, $plaintext, $iv, $key)

Parameters

$mode
$plaintext
$iv
$key

at line 96
public testKeyPaddingRijndael()

at line 113
public testKeyPaddingAES()

at line 131
public array continuousBufferBatteryCombos()

Produces all combinations of test values.

Return Value

array

at line 172
public testContinuousBufferBattery($op, $mode, $test)

Parameters

$op
$mode
$test

at line 219
public testNonContinuousBufferBattery($op, $mode, $test)

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

Parameters

$op
$mode
$test

at line 263
public testGFSBox128()

at line 290
public testGFSBox192()

at line 315
public testGFSBox256()

at line 338
public testGetKeyLengthDefault()

at line 344
public testGetKeyLengthWith192BitKey()

at line 351
public testSetKeyLengthWithLargerKey()

at line 362
public testSetKeyLengthWithSmallerKey()

at line 376
public testContinuousBuffer()