1 2005-12-15 Sebastien Pouliot <sebastien@ximian.com>
3 * RijndaelTest.cs: Add test cases for cycling key sizes and block
5 * SymmetricAlgorithm2Test.cs: Added test case for re-setting the
6 BlockSize. Keeping the same value *doesn't* change the current IV
7 (while doing the same on the KeySize *does* change the key).
9 2005-11-22 Sebastien Pouliot <sebastien@ximian.com>
11 * DSATest.cs: Added test case where J isn't imported. In this case we
12 don't export (our internally calculated) J and it's also not part of
15 2005-10-21 Sebastien Pouliot <sebastien@ximian.com>
17 * RC2CryptoServiceProviderTest.cs: New. Unit tests specific to this
18 implementation (not algorithm specific but required to match MS
20 * RijndaelManagedTest.cs: Added unit tests specific to this
21 implementation (not algorithm specific but required to match MS
23 * DESCryptoServiceProviderTest.cs: Added unit tests specific to this
24 implementation (not algorithm specific but required to match MS
26 * TripleDESCryptoServiceProviderTest.cs: New. Unit tests specific to
27 this implementation (not algorithm specific but required to match MS
30 2005-09-29 Sebastien Pouliot <sebastien@ximian.com>
32 * HMACSHA1Test.cs: Use the new ctor(byte[],bool) introduced in 2.0 RC
33 in some of the existing tests (under 2.0).
35 2005-04-27 Sebastien Pouliot <sebastien@ximian.com>
37 * DSACryptoServiceProviderTest.cs: Catch UnauthorizedAccessException
38 directly in UseMachineKeyStore (not just wrapped inside a
39 CryptographicException).
40 * RSACryptoServiceProviderTest.cs: Catch UnauthorizedAccessException
41 directly in UseMachineKeyStore (not just wrapped inside a
42 CryptographicException).
44 2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
46 * CryptoConfigTest.cs: Check that ArgumentNullException is throw in
47 EncodeOID for 2.0. Comment test for RSA OID (2.0).
48 * DESTest.cs: Check that null keys throws CryptographicException in
49 IsWeakKey and IsSemiWeakKey for 2.0.
50 * TripleDESTest.cs: Check that null keys throws CryptographicException
52 * SymmetricAlgorithm2Test.cs: Check that a FeedbackSize of zero throws
53 a CryptographicException in 2.0.
55 2005-04-18 Sebastien Pouliot <sebastien@ximian.com>
57 * SymmetricAlgorithm2Test.cs: Added a test case where the FeedBackSize
58 is set to 0 before starting encryption.
60 2005-03-30 Sebastien Pouliot <sebastien@ximian.com>
62 * CryptoStreamTest.cs: Added test case when when no padding is used.
64 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
66 * CryptoConfigCas.cs: New. CAS unit tests for CryptoConfig.
67 * CryptoAPITransformCas.cs: New. CAS unit tests for CryptoAPITransform.
69 2005-02-10 Sebastien Pouliot <sebastien@ximian.com>
71 * DSATest.cs: Added unit test for Counter == 0. Actualized test cases
72 for NET_2_0 now that we can inherit from DSA outside corlib.
74 2005-01-30 Sebastien Pouliot <sebastien@ximian.com>
76 * PasswordDeriveBytesTest.cs: Changed [Ignore] to [Category
77 ("NotWorking")] to reduce nunit logs.
79 2005-01-19 Sebastien Pouliot <sebastien@ximian.com>
81 * CryptoStreamTest.cs: Added [ExpectedException] for [Ignored] unit
82 tests that were converted to [Category]
84 2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
86 * CryptoConfigTest.cs: Added new RIPEMD160 hash algorithm and new HMAC
87 algorithms (HMACMD5, HMACRIPEMD160, HMACSHA256, HMACSHA384 and
88 HMACSHA512) to the tests.
89 * DSACryptoServiceProviderTest.cs: Fixed VerifySignatureWithoutKey to
90 ensure that Mono didn't create the key before starting verification.
91 * RSACryptoServiceProviderTest.cs: Added tests for PublicOnly in the
92 constructor tests and for VerifyHash with a null OID.
93 * RSAPKCS1SignatureFormatterTest.cs: Fixed signatures values for
94 SHA256, SHA384 and SHA512 for NET_2_0 profile. The older signatures
95 (working only in Mono) can't be used because 2.0 use new OID for those
96 hash algorithms. Note that this still only works with Mono in 2.0!
98 2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
100 * CryptoStreamTest.cs, DSACryptoServiceProviderTest.cs,
101 HashAlgorithmTest.cs, PKCS1MaskGenerationMethodTest.cs,
102 RSAPKCS1KeyExchangeFormatterTest.cs, ToBase64TransformTest.cs:
103 Use [Category ("NotDotNet")] for tests failing only on the MS runtime
104 (so they are now executed on Mono).
106 2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
108 * TripleDESTest.cs: Testing weak key with null throws a NRE.
110 2005-01-06 Sebastien Pouliot <sebastien@ximian.com>
112 * DESTest.cs: Updated weak key and semi-weak key tests with more
114 * TripleDESTest.cs: Added tests when including a DES weak key into
117 2005-01-04 Sebastien Pouliot <sebastien@ximian.com>
119 * CryptoStreamTest.cs: Undo some previous fixes that have changed from
120 2.0 Nov CTP. Stream chaining was working on Nov CTP but are failing
123 2004-12-23 Sebastien Pouliot <sebastien@ximian.com>
125 * CryptoStreamTest.cs: Fixed tests to execute properly on 2.0 Nov CTP.
126 * DSACryptoServiceProviderTest.cs: Fixed tests to execute properly on
128 * PaddingModeTest.cs: Fixed tests to execute properly on 2.0 Nov CTP.
129 * RSACryptoServiceProviderTest.cs: Fixed tests to execute properly on
132 2004-12-23 Sebastien Pouliot <sebastien@ximian.com>
134 * ProtectedDataTest.cs: Moved in System.Security.dll
135 * ProtectedMemoryTest.cs: Moved in System.Security.dll
137 2004-12-06 Sebastien Pouliot <sebastien@ximian.com>
139 * RSACryptoServiceProviderTest.cs: Adjusted unit tests to show that
140 RSACryptoServiceProvider doesn't support private keys without CRT
141 parameters available - except to import the keys.
143 2004-11-09 Sebastien Pouliot <sebastien@ximian.com>
145 * PasswordDeriveBytesTest.cs: Removed test for 69036. This is a MS
146 bug that will be fixed in 2.0 beta 2.
148 2004-11-03 Sebastien Pouliot <sebastien@ximian.com>
150 * DSACryptoServiceProviderTest.cs: Fixed UseMachineKeyStore not to
151 fail if the key container directory wasn't yet created (root).
152 * PasswordDeriveBytesTest.cs: Added tests for NET_2_0, more tests
153 for all constructors, tests for properties and a test for bug 69036.
154 * RSACryptoServiceProviderTest.cs: Fixed UseMachineKeyStore not to
155 fail if the key container directory wasn't yet created (root).
157 2004-08-31 Nick Drochak <ndrochak@gol.com>
159 * DSACryptoServiceProviderTest.cs:
160 * RSACryptoServiceProviderTest.cs: Feed csc smaller bite sizes.
162 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
164 * DESTest.cs: Added a new test case to check default values.
165 * HMACSHA1.cs: Fixed bad test (and renamed it).
166 * RC2Test.cs: Added a new test case to check default values.
167 * RijndaelTest.cs: Added a new test case to check default values.
168 Convert tests from NUnit 1 to 2.2.
169 * TripleDESTest.cs: Added a new test case to check default values.
170 Convert tests to NUnit 2.2.
172 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
174 * AllTests2.cs: Updated to NUnit 2.2 Assert.
175 * CipherModeTest.cs: New. Tests supported CipherMode for all
176 SymmetricAlgorithm included in the framework (enum contains two more
177 modes that aren't implemented in any Fx version).
178 * CryptoConfigTest.cs: Ajusted new OID (for old names) in Fx 2.0.
179 * CryptoStreamTest.cs: Fixed different reported exception in Fx 2.0.
181 * CspProviderFlagsTest.cs: New. Test the values of the enum.
182 * DSACryptoServiceProviderTest.cs: Added new tests for new public
183 properties and methods added in Fx 2.0. Duplicated test to import a
184 key pair into a disposed instance (works in Fx 2.0). Removed all
185 [Ignore]s in NET_2_0 as the MS class/runtime has been fixed.
186 * DSASignatureDeformatterTest.cs: Converted from NUnit 1 to 2.2. Fixed
187 different reported exception in Fx 2.0.
188 * DSASignatureFormatterTest.cs: Converted from NUnit 1 to 2.2. Fixed
189 different reported exception in Fx 2.0.
190 * HMACRIPEMD160Test.cs: Fixed tests using TransformFinalBlock.
191 * HMACSHA1Test.cs: Fixed tests so they work on both NET_1_1 and
192 NET_2_0 profiles (as HMACSHA1 changed it's base class).
193 * HashAlgorithmTest.cs: Fixed different reported exception in Fx 2.0.
194 Removed [Ignore] in NET_2_0 as the MS class/runtime has been fixed.
195 * MACTripleDESTest.cs: Fixed tests so they work on both NET_1_1 and
197 * PKCS1MaskGenerationMethodTest.cs: Removed [Ignore] in NET_2_0 as the
198 MS class has been fixed.
199 * PaddingModeTest.cs: Added new tests for the two new padding mode
200 introduced in Fx 2.0. Converted to NUnit 2.2.
201 * PasswordDeriveBytesTest.cs: Removed [ExpectedException] for
202 StrangeBehaviour test as it is fixed in Fx 2.0.
203 * RC2Test.cs: Changed exception from CryptographicException to
204 CryptographicUnexpectedOperationException for Fx 1.1/2.0.
205 * RIPEMD160Test.cs: Fixed tests using TransformFinalBlock.
206 * RSACryptoServiceProviderTest.cs: Added new tests for new public
207 properties and methods added in Fx 2.0. Duplicated test to import a
208 key pair into a disposed instance (works in Fx 2.0). Duplicated test
209 to sign with a null OID (Fx 2.0 use SHA1 oid in this case).
210 * RSAOAEPKeyExchangeDeformatterTest.cs: Changed exception for a key
211 exchange with no key (to match Fx 2.0).
212 * RSAOAEPKeyExchangeFormatterTest.cs: Changed exception for a key
213 exchange with no key (to match Fx 2.0).
214 * RSAPKCS1KeyExchangeFormatterTest.cs: Changed exception for a key
215 exchange with no key (to match Fx 2.0). Removed [Ignore] in NET_2_0 as
216 the MS class/runtime has been fixed.
217 * RSAPKCS1SignatureDeformatterTest.cs: Null keys, in constructor or in
218 SetKey method, now throw an ArgumentNullException in Fx 2.0.
219 * RSAPKCS1SignatureFormatterTest.cs: Null keys, in constructor or in
220 SetKey method, now throw an ArgumentNullException in Fx 2.0.
221 * Rfc2898DeriveBytesTest.cs: Typecasted a null as a string.
222 * SymmetricAlgorithm2Test.cs: In Fx 2.0 an empty IV now throws a
223 CryptographicException.
224 * ToBase64TransformTest.cs: Fixed different reported exception in Fx 2.0.
225 Removed [Ignore] in NET_2_0 as the MS class/runtime has been fixed.
227 2004-06-23 Sebastien Pouliot <sebastien@ximian.com>
229 * CryptoStreamTest.cs: Added two tests for bug #60573. One shows that
230 an encryptor doesn't reduce the number of block on Write while the
231 second shows that a decryptor does reduce the number of blocks on
234 2004-06-16 Sebastien Pouliot <sebastien@ximian.com>
236 * SignatureDescriptionTest.cs: Added missing [TestFixture] :( and
237 cases for the previously undocumented .ctor(SecurityElement) - which
238 is now, backwardly, documented in VS.NET 2005.
240 2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
242 * HashAlgorithmTest.cs: Added new tests to check for more exceptions.
244 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
246 * CryptoStreamTest.cs: Added new unit tests for overflows.
247 * FromBase64Transform.cs: Added new unit tests for undocumented
248 exceptions (null, overflows...).
249 * ToBase64TransformTest.cs: Added new unit tests for negatives and
252 2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
254 * CryptoStreamTest.cs, DESCryptoServiceProviderTest.cs,
255 DSACryptoServiceProviderTest.cs, DSATest.cs, FromBase64Transform.cs,
256 HMACRIPEMD160Test.cs, MD5Test.cs, PKCS1MaskGenerationMethodTest.cs,
257 RIPEMD160ManagedTest.cs, RNGCryptoServiceProviderTest.cs,
258 RSACryptoServiceProviderTest.cs, RSAOAEPKeyExchangeDeformatterTest.cs,
259 RSAOAEPKeyExchangeFormatterTest.cs, RSAPKCS1KeyExchangeDeformatterTest.cs,
260 RSAPKCS1KeyExchangeFormatterTest.cs, RSAPKCS1SignatureDeformatterTest.cs,
261 RSAPKCS1SignatureFormatterTest.cs, RSATest.cs: SetUp/TearDown are now
262 public (required for new nunit).
264 2004-05-17 Sebastien Pouliot <sebastien@ximian.com>
266 * RNGCryptoServiceProviderTest.cs: Added new tests to see how the
267 constructor behave with null seeds or if they modify the seed.
269 2004-05-07 Sebastien Pouliot <sebastien@ximian.com>
271 * DSACryptoServiceProviderTest.cs: Added a new unit test for SignData
272 (was badly tested) and simplified test to reduce key pair generations.
273 * PasswordDerivceBytesTest.cs: Added new tests to complete
275 * RSACryptoServiceProviderTest.cs: Added new tests to complete
277 * ToBase64TransformTest.cs: Added a (legal) test where the final
278 transform receive data smaller than it's input block (padding).
280 2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
282 * RC2Test.cs: Converted to NUnit 2. Uncommented some tests that throw
283 exceptions to test exception handling (and get more coverage).
284 * RNGCryptoServiceProviderTest.cs: Updated unit tests for exception
286 * RSAOAEPKeyExchangeDeformatterTest.cs: Updated unit tests to complete
288 * RSAOAEPKeyExchangeFormatterTest.cs: Updated unit tests to complete
290 * RSAPKCS1KeyExchangeDeformatterTest.cs: Updated unit tests to
292 * RSAPKCS1KeyExchangeFormatterTest.cs: Updated unit tests to complete
294 * RSAPKCS1SignatureDeformatterTest.cs: Updated unit tests to complete
296 * RSAPKCS1SignatureFormatterTest.cs: Updated unit tests to complete
298 * RSATest.cs: Updated unit tests for importing XML key pairs.
299 * SHA256Test.cs: Corrected Setup attribtue (was [Test]).
300 * SignatureDescriptionTest.cs: Removed unimplemented constructor from
301 tests. Converted to NUnit2.
302 * SymmetricAlgorithm2Test.cs: New. Non generated unit test for better
303 coverage (like exception testing).
304 * ToBase64TransformTest.cs: New. Unit tests to complete coverage of
306 * TripleDESTest.cs: New. Unit tests to complete coverage of TripleDES.
308 2004-04-29 Sebastien Pouliot <sebastien@ximian.com>
310 * DSACryptoServiceProviderTest.cs: New unit tests fo better coverage.
311 * FromBase64Transform.cs: New unit tests for better coverage.
312 * HashAlgorithmTest.cs: New unit tests for better coverage.
313 * HMACSHA1Test.cs: New unit tests for better coverage. Updated to
315 * KeyedHashAlgorithmTest.cs: Coverage already complete. Updated to
317 * SHA1Test.cs: Coverage already complete. Updated to NUnit2.
318 * SHA1CryptoServiceProviderTest.cs: Coverage almost complete. Updated
320 * SHA256Test.cs: Coverage already complete. Updated to NUnit2.
321 * SHA256ManagedTest.cs: Coverage already complete. Updated to NUnit2.
322 * SHA384Test.cs: Coverage already complete. Updated to NUnit2.
323 * SHA384ManagedTest.cs: Coverage almost complete. Updated to NUnit2.
324 * SHA512Test.cs: Coverage already complete. Updated to NUnit2.
325 * SHA512ManagedTest.cs: Coverage almost complete. Updated to NUnit2.
327 2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
329 * DESCryptoServiceProviderTest.cs: New. Completes coverage for
330 DESCryptoServiceProvider class. Calls the FIPS 81 tests for this
332 * DESTest.cs: Added test vectors from FIPS 81.
334 2004-04-26 Sebastien Pouliot <sebastien@ximian.com>
336 * DESTest.cs: New. Unit tests for DES including checks for weak and
337 semi-weak keys (with and without parity applied on keys). Completes
338 coverage for DES class.
340 2004-04-02 Bernie Solomon <bernard@ugsolutions.com>
342 * PasswordDeriveBytesTest.cs: Add ToInt32LE so
343 it works on big endian machines.
345 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
347 * FromBase64Transform.cs: Two new unit tests showing that the
348 transform doesn't care if it's data is invalid base64. Convert class
351 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
353 * FromBase64Transform.cs: Converted to NUnit2 format. New unit tests
354 for properties, Dispose, Reuse and ignored characters.
356 2004-03-09 Atsushi Enomoto <atsushi@ximian.com>
358 * DSATest.cs : Added ToXmlString test that checks if input without
359 Seed and PgenCounter elements pass or not.
361 2004-02-12 Sebastien Pouliot <spouliot@videotron.ca>
363 * CryptoStreamTest.cs: Added new tests for [From|To]Base64Transform
364 (InputBlockSize != OutputBlockSize) and for cascading CryptoStreams.
366 2004-02-09 Sebastien Pouliot <sebastien@ximian.com>
368 * DSACryptoServiceProvider.cs: Added new unit tests for key pair
370 * RSACryptoServiceProvider.cs: Added new unit tests for key pair
373 2004-02-04 Sebastien Pouliot <spouliot@videotron.ca>
375 * CryptoStreamTest.cs: Added many more tests for every problem found
376 with CryptoStream using code samples from the internet.
378 2003-12-15 Sebastien Pouliot <spouliot@videotron.ca>
380 * CryptoConfigTest.cs: Converted unit tests to NUnit2.
381 * PaddingModeTest.cs: New. Unit tests to check every padding modes for
382 symmetric algorithms.
383 * MACTripleDESTest.cs: Updated unit tests for NUnit2 and to work for
384 both 1.0 and 1.1 framework.
386 2003-11-13 Sebastien Pouliot <spouliot@videotron.ca>
388 * ProtectedDataTest.cs: New. Unit tests for ProtectedData (1.2).
389 * ProtectedMemoryTest.cs: New. Unit tests for ProtectedMemory (1.2).
391 2003-11-11 Sebastien Pouliot <spouliot@videotron.ca>
393 * Rfc2898DeriveBytesTest.cs: More tests for Reset and keys longer than
396 2003-11-10 Sebastien Pouliot <spouliot@videotron.ca>
398 * Rfc2898DeriveBytesTest.cs: New. Unit tests for Rfc2898DeriveBytes
399 and test vectors from RFC3211.
401 2003-11-09 Sebastien Pouliot <spouliot@videotron.ca>
403 * HMACMD5Test.cs: New. Unit test for HMAC-MD5 with test vectors from
405 * HMACRIPEMD160Test.cs: New. Unit test for HMAC-RIPEMD160 with test
406 vectors from http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html.
407 * HMACSHA256Test.cs: New. Unit test for HMAC-SHA256.
409 2003-11-08 Sebastien Pouliot <spouliot@videotron.ca>
411 * RIPEMD160Test.cs: New. Unit test using RIPEMD160 test vectors.
412 * RIPEMD160Managed.cs: New. Unit tests running RIPEMD160Test using the
413 RIPEMD160Managed implementation.
415 2003-10-04 Sebastien Pouliot <spouliot@videotron.ca>
417 * CryptoStreamTest.cs: Added test case from bugzilla #49323 from
418 Carlos Guzmán Álvarez and some small tests for empty stream with
419 different PaddingMode (as found by Lluis Sanchez Gual).
421 2003-08-05 Sebastien Pouliot <spouliot@videotron.ca>
423 * CryptoStreamTest.cs: Added test case from bugzilla #40689 from
426 2003-07-31 Sebastien Pouliot <spouliot@videotron.ca>
428 * CryptoStreamTest.cs: New. Very basic test for CryptoStream + the
429 test case from bugzilla #46143 from Joerg Rosenkranz.
430 * RSACryptoServiceProviderTest.cs: Fixed some exceptions that are
431 different from .NET 1.0 and 1.1.
433 2003-07-05 Sebastien Pouliot <spouliot@videotron.ca>
435 * DSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear
436 and better test coverage (based on Zoltan's logs).
437 * DSATest.cs: Converted to NUnit2 format. Added new tests for better unit
438 test coverage (import incomplete public keys).
439 * RSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear
440 and better test coverage (based on Zoltan's logs).
441 * RSATest.cs: Converted to NUnit2 format. Added new tests for better unit
442 test coverage (import incomplete public keys).
444 2003-06-23 Nick Drochak <ndrochak@gol.com>
446 * MACTripleDESTest.cs: Adjust for .NET 1.1.
448 2003-06-11 Sebastien Pouliot <spouliot@videotron.ca>
450 * AllTests2.cs: Converted tests to NUnit2 format.
451 * RSACryptoServiceProviderTest.cs: Converted tests to NUnit2 format.
452 * RSAPKCS1KeyExchangeDeformatterTest.cs: Converted tests to NUnit2 format.
453 * RSAPKCS1KeyExchangeFormatterTest.cs: Converted tests to NUnit2 format.
454 * RSAPKCS1SignatureDeformatterTest.cs: Converted tests to NUnit2 format.
455 * RSAPKCS1SignatureFormatterTest.cs: Converted tests to NUnit2 format.
457 2003-05-29 Sebastien Pouliot <spouliot@videotron.ca>
459 * PKCS1MaskGenerationMethodTest.cs: Added [Ignore] to vector test
460 (as it's result isn't valid on both framework 1.0 and 1.1).
461 * RSAPKCS1SignatureDeformatter.cs: Splitting the test for NUnit2
462 cloned the previous error into many more tests. Hopefully fixed.
464 2003-05-28 Sebastien Pouliot <spouliot@videotron.ca>
466 * RSAPKCS1SignatureDeformatter.cs: Fixed (well I hope so) a test
467 which doesn't throw the same exception under 1.1. Also converted
468 the tests to NUnit2 format.
470 2003-05-12 Sebastien Pouliot <spouliot@videotron.ca>
472 * PKCS1MaskGenerationMethodTest.cs: Uncommented PKCS#1 v.2.1 vector
473 unit test (will work on Mono but fails with MS implementation).
474 * RSAOAEPKeyExchangeDeformatterTest.cs: Updated tests vectors for
475 both Mono and MS (under Windows XP) generated OAEP results.
476 * RSAOAEPKeyExchangeFormatterTest.cs: Update exception handling.
478 2003-04-17 Nick Drochak <ndrochak@gol.com>
480 * DSATest.cs: Use nunit version 2 style to test throw.
481 * HMACSHA1Test.cs: Eliminate compiler warning.
483 2003-03-04 Sebastien Pouliot <spouliot@videotron.ca>
485 * CryptoConfigTest.cs: Added new tests for algorithms
486 documented in book ".NET Framework Security".
488 2003-02-03 Sebastien Pouliot <spouliot@videotron.ca>
490 * PasswordDeriveBytesTest.cs: Added some new tests to complete
492 * RSAPKCS1SignatureDeformatterTest.cs: Added test for null and
493 invalid hash algorithm.
495 2003-01-19 Sebastien Pouliot <spouliot@videotron.ca>
497 * HMACSHA1Test.cs: Added tests for constructors.
498 * MACTripleDESTest.cs: Added tests for constructors.
500 2003-01-12 Sebastien Pouliot <spouliot@videotron.ca>
502 * HashAlgorithmTest.cs: Added new test for null streams.
503 * MACTripleDESTest.cs: New. Test suite par MAC using 3DES.
505 2002-12-21 Nick Drochak <ndrochak@gol.com>
507 * all: make tests build and run under nunit2
509 2002-12-21 Nick Drochak <ndrochak@gol.com>
511 * AllTests2.cs: Helper file for unit tests
513 2002-11-20 Sebastien Pouliot <spouliot@videotron.ca>
515 * RSAPKCS1SignatureDeformatterTest.cs: Removed patch from Nick -
516 as it doesn't seems to work on my system and the exception behavior
517 isn't logical (only MD5 not SHA1, ...).
519 2002-11-18 Nick Drochak <ndrochak@gol.com>
521 * RSAPKCS1SignatureDeformatterTest.cs: MS .NET throws an exception when
522 verifying a bad signature. Test for that.
524 2002-11-17 Sebastien Pouliot <spouliot@videotron.ca>
526 * AllTests.cs: Added a common RSA keypair for tests and all RSA
527 suites for new tests.
528 * RSACryptoServiceProviderTest.cs: Include tests for keygen,
529 import/export and signature (no encryption yet).
530 * RSAOAEPKeyExchangeDeformatterTest.cs: Compare results with
531 pre-generated vectors from Mono/Windows (cannot yet compare
532 with CryptoAPI/Windows as OAEP isn't available on my system).
533 * RSAOAEPKeyExchangeFormatterTest.cs: Test that the Formatter output
534 is compatible with the Deformatter.
535 * RSAPKCS1KeyExchangeDeformatterTest.cs: Compare results with
536 pre-generated vectors from Mono/Windows and CryptoAPI/Windows.
537 * RSAPKCS1KeyExchangeFormatterTest.cs: Test that the Formatter output
538 is compatible with the Deformatter.
539 * RSAPKCS1SignatureDeformatterTest.cs: Compare results with
540 pre-generated vectors from Mono/Windows and CryptoAPI/Windows.
541 * RSAPKCS1SignatureFormatterTest.cs: Test that the Formatter output
542 is compatible with the Deformatter.
544 2002-11-16 Sebastien Pouliot <spouliot@videotron.ca>
546 * AllTests.cs: Added suites for DSASignatureDeformatter,
547 DSASignatureFormatter.
548 * CryptoConfigTest.cs: Tests new URLs. This test will fail
549 if System.Security.dll isn't present (or not yet compiled).
550 * DSACryptoServiceProviderTest.cs: New. Key generation (limited
551 because it's too slow), Import/Export, Signature and Verification.
552 * DSASignatureDeformatterTest.cs: New. Test signature verification.
553 * DSASignatureFormatterTest.cs: New. Test signature creation.
554 * DSATest.cs: Comment DSA-derived test class as DSA constructor
555 is internal. Reworked the test suite.
556 * SignatureDescriptionTest.cs: Added tests for
557 DSASignatureDescription and RSAPKCS1SHA1SignatureDescription.
559 2002-11-02 Sebastien Pouliot <spouliot@videotron.ca>
561 * AllTests.cs: Added suites for SignatureDescription and
562 activated suites for SHA384Managed and SHA512Managed.
563 * SignatureDescriptionTest.cs: New. Basic tests (because I don't
564 know the context in which the class is used).
566 2002-10-28 Sebastien Pouliot <spouliot@videotron.ca>
568 * AllTests.cs: Added test suites for SHA256, SHA384 and SHA512
569 (last two partly commented until implementation is commited).
570 * SHA256Test.cs: New. Generic FIPS180-2 tests for SHA-256.
571 * SHA256ManagedTest.cs: New. Implementation tests (inherits
573 * SHA384Test.cs: New. Generic FIPS180-2 tests for SHA-384.
574 * SHA384ManagedTest.cs: New. Implementation tests (inherits
576 * SHA512Test.cs: New. Generic FIPS180-2 tests for SHA-512.
577 * SHA512ManagedTest.cs: New. Implementation tests (inherits
580 2002-10-25 Sebastien Pouliot <spouliot@videotron.ca>
582 * AllTests.cs: Added suite for PasswordDeriveBytes
583 * PasswordDeriveBytesTest.cs: New. Tests against pre-generated vectors -
584 only works for short runs (keys < HashSize) not long runs
586 2002-10-20 Sebastien Pouliot <spouliot@videotron.ca>
588 * AllTests.cs: Added suite for Rjindael
589 * RjindaelTest.cs: New. Test vectors from FIPS PUB 197 appendix.
591 2002-10-19 Sebastien Pouliot <spouliot@videotron.ca>
593 * AllTests.cs: Renabled most tests after commenting all code causing a
594 cyclic dependency (corlib->System.Xml->corlib). Some tests will fail
595 until commented code is replaced.
596 * SymmetricAlgorithm.cs: New (189) generated test cases for all default
597 algorithm implementation, all cipher modes, all padding modes, all key
598 sizes, all block sizes, feedback...
599 * PKCS1MaskGenerationMethodTest.cs: Commented vector test. Added new
600 tests to check for various exceptions
602 2002-10-16 Nick Drochak <ndrochak@gol.com>
604 * CryptoConfigTest.cs (TestCreateFromName): Disable tests for
605 algorithms that aren't in the build yet.
607 2002-10-16 Nick Drochak <ndrochak@gol.com>
609 * AllTests.cs: Disable tests that use components were are excluding
613 2002-10-14 Sebastien Pouliot <spouliot@videotron.ca>
615 * AllTests.cs: Added suite for PKCS1MaskGenerationMethod
616 * PKCS1MaskGenerationMethodTest.cs: New. Test work as per PKCS#1 but
617 result isn't the same as MS implementation !?! is MS using this class ?
619 2002-10-13 Sebastien Pouliot <spouliot@videotron.ca>
621 * AllTests.cs: Added suite for HashAlgorithm, KeyedHashAlgorithm and
623 * HashAlgorithmTest.cs: New. Test for Create and Clear
624 * KeyedHashAlgorithmTest.cs: New. Test for Create and key assignation
625 * HMACSHA1Test.cs: New. Test vectors from FIPS 198 and RFC2202
627 2002-10-12 Sebastien Pouliot <spouliot@videotron.ca>
629 * AllTests.cs: Added suite for RandomNumberGenerator, SHA1 and
630 SHA1CryptoServiceProvider
631 * RandomNumberGeneratorTest.cs: New. Tests for Create and generic
632 random quality tests (FIPS140-2)
633 * SHA1Test.cs: New. Tests for Create and generic SHA1 tests (FIPS180-1)
634 * SHA1CryptoServiceProviderTest.cs: New. Inherited SHA1Tests tests +
637 2002-10-10 Sebastien Pouliot <spouliot@videotron.ca>
639 * DSATest.cs: Added non-abstract DSA class to test To/FromXmlString()
640 * RSATest.cs: Added non-abstract RSA class to test To/FromXmlString()
641 * AllTests.cs: Added DSATest.cs and RSATest.cs in suite
643 2002-10-09 Sebastien Pouliot <spouliot@videotron.ca>
645 * CryptoConfigTest.cs: New tests
646 * AllTests.cs: Added CryptoConfigTest in suite
648 2002-10-05 Andrew Birkett <andy@nobugs.org>
650 * RC2Test.cs: New test. Only three cases are enabled - the other
651 five work fine under mono, but fail under MS corlib, so I've
654 * AllTests.cs: Added RC2Test.
656 2002-09-23 Andrew Birkett <andy@nobugs.org>
658 * RijndaelManagedTest.cs: Fixed initialization order problem
659 to match MS behaviour.
661 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
663 * MD5Test.cs: new test from Eduardo García Cebollero (kiwnix@yahoo.es).
664 * AllTests.cs: added new test.