[Mono-list] Rijndael Tests
Nick Drochak
ndrochak@gol.com
Sun, 22 Sep 2002 23:41:59 +0900
Andy,
The two Rijndael tests are failing for me when I run them on cygwin. Do
they work for you?
Here's the output I get from NUNit:
There were 2 errors:
1)
TestCBC_0(MonoTests.System.Security.Cryptography.RijndaelManagedTest):
Input
buffer contains insufficient data.
(System.Security.Cryptography.CryptographicEx
ception)
at
System.Security.Cryptography.RijndaelManagedTransform.TransformBlock(Byt
e[
] inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[] outputBuffer,
Int32 o
utputOffset)
at
MonoTests.System.Security.Cryptography.RijndaelManagedTest.CheckCBC(ICry
pt
oTransform encryptor, ICryptoTransform decryptor, Byte[] plaintext,
Byte[] expec
ted) in
C:\cygwin\home\Nick\mcs\class\corlib\Test\System.Security.Cryptography\R
ijndaelManagedTest.cs:line 40
at
MonoTests.System.Security.Cryptography.RijndaelManagedTest.TestCBC_0()
in
C:\cygwin\home\Nick\mcs\class\corlib\Test\System.Security.Cryptography\R
ijndaelM
anagedTest.cs:line 83
2)
TestCBC_1(MonoTests.System.Security.Cryptography.RijndaelManagedTest):
Input
buffer contains insufficient data.
(System.Security.Cryptography.CryptographicEx
ception)
at
System.Security.Cryptography.RijndaelManagedTransform.TransformBlock(Byt
e[
] inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[] outputBuffer,
Int32 o
utputOffset)
at
MonoTests.System.Security.Cryptography.RijndaelManagedTest.CheckCBC(ICry
pt
oTransform encryptor, ICryptoTransform decryptor, Byte[] plaintext,
Byte[] expec
ted) in
C:\cygwin\home\Nick\mcs\class\corlib\Test\System.Security.Cryptography\R
ijndaelManagedTest.cs:line 40
at
MonoTests.System.Security.Cryptography.RijndaelManagedTest.TestCBC_1()
in
C:\cygwin\home\Nick\mcs\class\corlib\Test\System.Security.Cryptography\R
ijndaelM
anagedTest.cs:line 109
Regards,
Nick D.