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 36
public array continuousBufferCombos()

Produces all combinations of test values.

Return Value

array

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

Parameters

$mode
$plaintext
$iv
$key

at line 99
public testKeyPaddingRijndael()

at line 116
public testKeyPaddingAES()

at line 134
public array continuousBufferBatteryCombos()

Produces all combinations of test values.

Return Value

array

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

Parameters

$op
$mode
$test

at line 223
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 267
public testGFSBox128()

at line 294
public testGFSBox192()

at line 319
public testGFSBox256()

at line 342
public testGetKeyLengthDefault()

at line 348
public testGetKeyLengthWith192BitKey()

at line 355
public testSetKeyLengthWithLargerKey()

at line 366
public testSetKeyLengthWithSmallerKey()

at line 380
public testContinuousBuffer()