2003-11-13 Sebastien Pouliot * ProtectedDataTest.cs: New. Unit tests for ProtectedData (1.2). * ProtectedMemoryTest.cs: New. Unit tests for ProtectedMemory (1.2). 2003-11-11 Sebastien Pouliot * Rfc2898DeriveBytesTest.cs: More tests for Reset and keys longer than a single block. 2003-11-10 Sebastien Pouliot * Rfc2898DeriveBytesTest.cs: New. Unit tests for Rfc2898DeriveBytes and test vectors from RFC3211. 2003-11-09 Sebastien Pouliot * HMACMD5Test.cs: New. Unit test for HMAC-MD5 with test vectors from RFC2104. * HMACRIPEMD160Test.cs: New. Unit test for HMAC-RIPEMD160 with test vectors from http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html. * HMACSHA256Test.cs: New. Unit test for HMAC-SHA256. 2003-11-08 Sebastien Pouliot * RIPEMD160Test.cs: New. Unit test using RIPEMD160 test vectors. * RIPEMD160Managed.cs: New. Unit tests running RIPEMD160Test using the RIPEMD160Managed implementation. 2003-10-04 Sebastien Pouliot * CryptoStreamTest.cs: Added test case from bugzilla #49323 from Carlos Guzmán Álvarez and some small tests for empty stream with different PaddingMode (as found by Lluis Sanchez Gual). 2003-08-05 Sebastien Pouliot * CryptoStreamTest.cs: Added test case from bugzilla #40689 from Henning Westerholt. 2003-07-31 Sebastien Pouliot * CryptoStreamTest.cs: New. Very basic test for CryptoStream + the test case from bugzilla #46143 from Joerg Rosenkranz. * RSACryptoServiceProviderTest.cs: Fixed some exceptions that are different from .NET 1.0 and 1.1. 2003-07-05 Sebastien Pouliot * DSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear and better test coverage (based on Zoltan's logs). * DSATest.cs: Converted to NUnit2 format. Added new tests for better unit test coverage (import incomplete public keys). * RSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear and better test coverage (based on Zoltan's logs). * RSATest.cs: Converted to NUnit2 format. Added new tests for better unit test coverage (import incomplete public keys). 2003-06-23 Nick Drochak * MACTripleDESTest.cs: Adjust for .NET 1.1. 2003-06-11 Sebastien Pouliot * AllTests2.cs: Converted tests to NUnit2 format. * RSACryptoServiceProviderTest.cs: Converted tests to NUnit2 format. * RSAPKCS1KeyExchangeDeformatterTest.cs: Converted tests to NUnit2 format. * RSAPKCS1KeyExchangeFormatterTest.cs: Converted tests to NUnit2 format. * RSAPKCS1SignatureDeformatterTest.cs: Converted tests to NUnit2 format. * RSAPKCS1SignatureFormatterTest.cs: Converted tests to NUnit2 format. 2003-05-29 Sebastien Pouliot * PKCS1MaskGenerationMethodTest.cs: Added [Ignore] to vector test (as it's result isn't valid on both framework 1.0 and 1.1). * RSAPKCS1SignatureDeformatter.cs: Splitting the test for NUnit2 cloned the previous error into many more tests. Hopefully fixed. 2003-05-28 Sebastien Pouliot * RSAPKCS1SignatureDeformatter.cs: Fixed (well I hope so) a test which doesn't throw the same exception under 1.1. Also converted the tests to NUnit2 format. 2003-05-12 Sebastien Pouliot * PKCS1MaskGenerationMethodTest.cs: Uncommented PKCS#1 v.2.1 vector unit test (will work on Mono but fails with MS implementation). * RSAOAEPKeyExchangeDeformatterTest.cs: Updated tests vectors for both Mono and MS (under Windows XP) generated OAEP results. * RSAOAEPKeyExchangeFormatterTest.cs: Update exception handling. 2003-04-17 Nick Drochak * DSATest.cs: Use nunit version 2 style to test throw. * HMACSHA1Test.cs: Eliminate compiler warning. 2003-03-04 Sebastien Pouliot * CryptoConfigTest.cs: Added new tests for algorithms documented in book ".NET Framework Security". 2003-02-03 Sebastien Pouliot * PasswordDeriveBytesTest.cs: Added some new tests to complete coverage. * RSAPKCS1SignatureDeformatterTest.cs: Added test for null and invalid hash algorithm. 2003-01-19 Sebastien Pouliot * HMACSHA1Test.cs: Added tests for constructors. * MACTripleDESTest.cs: Added tests for constructors. 2003-01-12 Sebastien Pouliot * HashAlgorithmTest.cs: Added new test for null streams. * MACTripleDESTest.cs: New. Test suite par MAC using 3DES. 2002-12-21 Nick Drochak * all: make tests build and run under nunit2 2002-12-21 Nick Drochak * AllTests2.cs: Helper file for unit tests 2002-11-20 Sebastien Pouliot * RSAPKCS1SignatureDeformatterTest.cs: Removed patch from Nick - as it doesn't seems to work on my system and the exception behavior isn't logical (only MD5 not SHA1, ...). 2002-11-18 Nick Drochak * RSAPKCS1SignatureDeformatterTest.cs: MS .NET throws an exception when verifying a bad signature. Test for that. 2002-11-17 Sebastien Pouliot * AllTests.cs: Added a common RSA keypair for tests and all RSA suites for new tests. * RSACryptoServiceProviderTest.cs: Include tests for keygen, import/export and signature (no encryption yet). * RSAOAEPKeyExchangeDeformatterTest.cs: Compare results with pre-generated vectors from Mono/Windows (cannot yet compare with CryptoAPI/Windows as OAEP isn't available on my system). * RSAOAEPKeyExchangeFormatterTest.cs: Test that the Formatter output is compatible with the Deformatter. * RSAPKCS1KeyExchangeDeformatterTest.cs: Compare results with pre-generated vectors from Mono/Windows and CryptoAPI/Windows. * RSAPKCS1KeyExchangeFormatterTest.cs: Test that the Formatter output is compatible with the Deformatter. * RSAPKCS1SignatureDeformatterTest.cs: Compare results with pre-generated vectors from Mono/Windows and CryptoAPI/Windows. * RSAPKCS1SignatureFormatterTest.cs: Test that the Formatter output is compatible with the Deformatter. 2002-11-16 Sebastien Pouliot * AllTests.cs: Added suites for DSASignatureDeformatter, DSASignatureFormatter. * CryptoConfigTest.cs: Tests new URLs. This test will fail if System.Security.dll isn't present (or not yet compiled). * DSACryptoServiceProviderTest.cs: New. Key generation (limited because it's too slow), Import/Export, Signature and Verification. * DSASignatureDeformatterTest.cs: New. Test signature verification. * DSASignatureFormatterTest.cs: New. Test signature creation. * DSATest.cs: Comment DSA-derived test class as DSA constructor is internal. Reworked the test suite. * SignatureDescriptionTest.cs: Added tests for DSASignatureDescription and RSAPKCS1SHA1SignatureDescription. 2002-11-02 Sebastien Pouliot * AllTests.cs: Added suites for SignatureDescription and activated suites for SHA384Managed and SHA512Managed. * SignatureDescriptionTest.cs: New. Basic tests (because I don't know the context in which the class is used). 2002-10-28 Sebastien Pouliot * AllTests.cs: Added test suites for SHA256, SHA384 and SHA512 (last two partly commented until implementation is commited). * SHA256Test.cs: New. Generic FIPS180-2 tests for SHA-256. * SHA256ManagedTest.cs: New. Implementation tests (inherits from SHA256Test). * SHA384Test.cs: New. Generic FIPS180-2 tests for SHA-384. * SHA384ManagedTest.cs: New. Implementation tests (inherits from SHA384Test). * SHA512Test.cs: New. Generic FIPS180-2 tests for SHA-512. * SHA512ManagedTest.cs: New. Implementation tests (inherits from SHA512Test). 2002-10-25 Sebastien Pouliot * AllTests.cs: Added suite for PasswordDeriveBytes * PasswordDeriveBytesTest.cs: New. Tests against pre-generated vectors - only works for short runs (keys < HashSize) not long runs 2002-10-20 Sebastien Pouliot * AllTests.cs: Added suite for Rjindael * RjindaelTest.cs: New. Test vectors from FIPS PUB 197 appendix. 2002-10-19 Sebastien Pouliot * AllTests.cs: Renabled most tests after commenting all code causing a cyclic dependency (corlib->System.Xml->corlib). Some tests will fail until commented code is replaced. * SymmetricAlgorithm.cs: New (189) generated test cases for all default algorithm implementation, all cipher modes, all padding modes, all key sizes, all block sizes, feedback... * PKCS1MaskGenerationMethodTest.cs: Commented vector test. Added new tests to check for various exceptions 2002-10-16 Nick Drochak * CryptoConfigTest.cs (TestCreateFromName): Disable tests for algorithms that aren't in the build yet. 2002-10-16 Nick Drochak * AllTests.cs: Disable tests that use components were are excluding from corlib. * SHA1Test.cs: same 2002-10-14 Sebastien Pouliot * AllTests.cs: Added suite for PKCS1MaskGenerationMethod * PKCS1MaskGenerationMethodTest.cs: New. Test work as per PKCS#1 but result isn't the same as MS implementation !?! is MS using this class ? 2002-10-13 Sebastien Pouliot * AllTests.cs: Added suite for HashAlgorithm, KeyedHashAlgorithm and HMACSHA1 * HashAlgorithmTest.cs: New. Test for Create and Clear * KeyedHashAlgorithmTest.cs: New. Test for Create and key assignation * HMACSHA1Test.cs: New. Test vectors from FIPS 198 and RFC2202 2002-10-12 Sebastien Pouliot * AllTests.cs: Added suite for RandomNumberGenerator, SHA1 and SHA1CryptoServiceProvider * RandomNumberGeneratorTest.cs: New. Tests for Create and generic random quality tests (FIPS140-2) * SHA1Test.cs: New. Tests for Create and generic SHA1 tests (FIPS180-1) * SHA1CryptoServiceProviderTest.cs: New. Inherited SHA1Tests tests + specific tests 2002-10-10 Sebastien Pouliot * DSATest.cs: Added non-abstract DSA class to test To/FromXmlString() * RSATest.cs: Added non-abstract RSA class to test To/FromXmlString() * AllTests.cs: Added DSATest.cs and RSATest.cs in suite 2002-10-09 Sebastien Pouliot * CryptoConfigTest.cs: New tests * AllTests.cs: Added CryptoConfigTest in suite 2002-10-05 Andrew Birkett * RC2Test.cs: New test. Only three cases are enabled - the other five work fine under mono, but fail under MS corlib, so I've commented them out. * AllTests.cs: Added RC2Test. 2002-09-23 Andrew Birkett * RijndaelManagedTest.cs: Fixed initialization order problem to match MS behaviour. 2002-09-22 Gonzalo Paniagua Javier * MD5Test.cs: new test from Eduardo García Cebollero (kiwnix@yahoo.es). * AllTests.cs: added new test.