mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-09-16 09:39:04 +00:00
AES: more unit test fixes
This commit is contained in:
parent
42e5c6845c
commit
3fdd5731d1
@ -5,7 +5,7 @@
|
|||||||
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
*/
|
*/
|
||||||
|
|
||||||
abstract class Unit_Crypt_AES_Test extends PhpSeclibTestcase
|
abstract class Unit_Crypt_AES_TestCase extends PhpSeclibTestcase
|
||||||
{
|
{
|
||||||
static public function setUpBeforeClass()
|
static public function setUpBeforeClass()
|
||||||
{
|
{
|
||||||
@ -102,4 +102,4 @@ abstract class Unit_Crypt_AES_Test extends PhpSeclibTestcase
|
|||||||
$ciphertext = $aes->encrypt(pack('H*', '3243f6a8885a308d313198a2e0370734'));
|
$ciphertext = $aes->encrypt(pack('H*', '3243f6a8885a308d313198a2e0370734'));
|
||||||
$this->assertEquals($ciphertext, pack('H*', 'c109292b173f841b88e0ee49f13db8c0'));
|
$this->assertEquals($ciphertext, pack('H*', 'c109292b173f841b88e0ee49f13db8c0'));
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -5,7 +5,7 @@
|
|||||||
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class Unit_Crypt_AES_mcryptTest extends Unit_Crypt_AES_mcryptCase
|
class Unit_Crypt_AES_mcryptTest extends Unit_Crypt_AES_TestCase
|
||||||
{
|
{
|
||||||
static public function setUpBeforeClass()
|
static public function setUpBeforeClass()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user