1 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
3 * HashAlgorithmTest.cs: Convert to NUnit 2.2 format.
4 * HMACMD5Test.cs: Convert to NUnit 2.2 format.
5 * HMACRIPEMD160Test.cs: Convert to NUnit 2.2 format.
6 * HMACSHA1Test.cs: Convert to NUnit 2.2 format.
7 * HMACSHA256Test.cs: Convert to NUnit 2.2 format.
8 * HMACSHA384Test.cs: Convert to NUnit 2.2 format. Add test cases from
9 RFC4231 using the correct block size (128) and the "legacy" size (64).
10 * HMACSHA512Test.cs: Convert to NUnit 2.2 format. . Add test cases from
11 RFC4231 using the correct block size (128) and the "legacy" size (64).
12 * KeyedHashAlgorithmTest.cs: Convert to NUnit 2.2 format.
13 * SHA1CryptoServiceProviderTest.cs: Convert to NUnit 2.2 format.
14 * SHA1Test.cs: Convert to NUnit 2.2 format.
15 * SHA256ManagedTest.cs: Convert to NUnit 2.2 format.
16 * SHA256Test.cs: Convert to NUnit 2.2 format.
17 * SHA384ManagedTest.cs: Convert to NUnit 2.2 format.
18 * SHA384Test.cs: Convert to NUnit 2.2 format.
19 * SHA512ManagedTest.cs: Convert to NUnit 2.2 format.
20 * SHA512Test.cs: Convert to NUnit 2.2 format.
22 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
24 * CryptoConfigTest.cs: Adjust line-endings.
25 * CryptoStreamTest.cs: Adjust line-endings.
26 * DESTest.cs: Adjust line-endings.
27 * DSACryptoServiceProviderTest.cs: Adjust line-endings.
28 * DSATest.cs: Adjust line-endings.
29 * RSACryptoServiceProviderTest.cs: Adjust line-endings.
31 2007-01-08 Sebastien Pouliot <sebastien@ximian.com>
33 * DESCryptoServiceProviderTest.cs: Remove test cases for bug #80439
34 as they are more general than DES and the default padding.
35 * SymmetricAlgorithmTransformTest.cs: New. Extensive test cases for
36 bug #80439, all symmtric ciphers (all block size), all mode of
37 operations and all supported padding modes.
39 2007-01-04 Sebastien Pouliot <sebastien@ximian.com>
41 * DESCryptoServiceProviderTest.cs: Update and add new test cases for
44 2007-01-03 Sebastien Pouliot <sebastien@ximian.com>
46 * DESCryptoServiceProviderTest.cs: Add tests for bug #80439 where
47 inputCount is reduced to fit into the output buffer (for any mode).
49 2006-11-24 Sebastien Pouliot <sebastien@ximian.com>
51 * CryptoConfigTest.cs: Added test case for X509Chain.
53 2006-11-16 Sebastien Pouliot <sebastien@ximian.com>
55 * PasswordDeriveBytesTest.cs: Added test case for bug #79499
57 2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
59 * CryptoConfigTest.cs: Added test cases to ensure lower/mixed-case of
60 algorithm names are supported by CreateFromName and MapNameToOID (fix
61 bug #79641). Updated some OID that were changed (well nulled) in the
62 final 2.0 release of MS framework.
64 2006-09-08 Sebastien Pouliot <sebastien@ximian.com>
66 * RSACryptoServiceProviderTest.cs: Added test cases for decoding bad
67 PKCS1 and OAEP padding - both resulting in a CryptographicException.
68 * RSAOAEPKeyExchangeDeformatterTest.cs: Add test case for bad padding.
69 * RSAPKCS1KeyExchangeDeformatterTest.cs: Add test case for bad padding
71 2006-09-05 Sebastien Pouliot <sebastien@ximian.com>
73 * RSACryptoServiceProviderTest.cs: Test case for #79269 where we
74 ensure a CryptographicException (not a NRE) when decrypting without a
77 2006-07-01 Sebastien Pouliot <sebastien@ximian.com>
79 * RSAPKCS1SignatureDeformatterTest.cs: Added test case where
80 SetHashAlgorithm isn't called and the hash algorithm name is derived
81 from the hash instance. From bug #78744 by Diego Mesa Tabares.
83 2006-06-15 Sebastien Pouliot <sebastien@ximian.com>
85 * HashAlgorithmTest.cs: Added new test cases wrt the output buffer
86 used in TransformBlock (e.g. bug #78647). Updated existing test case
87 to work under 2.0 final.
88 * HMACMD5Test.cs: Fix SetUp to allow new inherited test cases to work
90 * HMACRIPEMD160Test.cs: Fix SetUp to allow new inherited test cases to
92 * HMACSHA1Test.cs: Fix SetUp to allow new inherited test cases to
94 * HMACSHA256Test.cs: Fix SetUp to allow new inherited test cases to
96 * HMACSHA384Test.cs: New. Basic test cases that, cheaply, inherits
97 the HashAlgorithm tests.
98 * HMACSHA512Test.cs: New. Basic test cases that, cheaply, inherits
99 the HashAlgorithm tests.
100 * KeyedHashAlgorithmTest.cs: Ensure we're always using the same key
101 (required for new, inherited, test cases). Fix ToString to match
102 KeyedHashAlgorithm (and not an inherited class).
104 2006-06-01 Sebastien Pouliot <sebastien@ximian.com>
106 * RandomNumberGeneratorTest.cs: Don't forget the last run in Runs.
107 Track both 0 and 1 runs. Changed runs ranges to match FIPS140-2 Change
108 Notice #1 (fixes bug #78560). Updated test cases to NUnit 2.2 format.
110 2005-12-15 Sebastien Pouliot <sebastien@ximian.com>
112 * RijndaelTest.cs: Add test cases for cycling key sizes and block
114 * SymmetricAlgorithm2Test.cs: Added test case for re-setting the
115 BlockSize. Keeping the same value *doesn't* change the current IV
116 (while doing the same on the KeySize *does* change the key).
118 2005-11-22 Sebastien Pouliot <sebastien@ximian.com>
120 * DSATest.cs: Added test case where J isn't imported. In this case we
121 don't export (our internally calculated) J and it's also not part of
124 2005-10-21 Sebastien Pouliot <sebastien@ximian.com>
126 * RC2CryptoServiceProviderTest.cs: New. Unit tests specific to this
127 implementation (not algorithm specific but required to match MS
129 * RijndaelManagedTest.cs: Added unit tests specific to this
130 implementation (not algorithm specific but required to match MS
132 * DESCryptoServiceProviderTest.cs: Added unit tests specific to this
133 implementation (not algorithm specific but required to match MS
135 * TripleDESCryptoServiceProviderTest.cs: New. Unit tests specific to
136 this implementation (not algorithm specific but required to match MS
139 2005-09-29 Sebastien Pouliot <sebastien@ximian.com>
141 * HMACSHA1Test.cs: Use the new ctor(byte[],bool) introduced in 2.0 RC
142 in some of the existing tests (under 2.0).
144 2005-04-27 Sebastien Pouliot <sebastien@ximian.com>
146 * DSACryptoServiceProviderTest.cs: Catch UnauthorizedAccessException
147 directly in UseMachineKeyStore (not just wrapped inside a
148 CryptographicException).
149 * RSACryptoServiceProviderTest.cs: Catch UnauthorizedAccessException
150 directly in UseMachineKeyStore (not just wrapped inside a
151 CryptographicException).
153 2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
155 * CryptoConfigTest.cs: Check that ArgumentNullException is throw in
156 EncodeOID for 2.0. Comment test for RSA OID (2.0).
157 * DESTest.cs: Check that null keys throws CryptographicException in
158 IsWeakKey and IsSemiWeakKey for 2.0.
159 * TripleDESTest.cs: Check that null keys throws CryptographicException
160 in IsWeakKey for 2.0.
161 * SymmetricAlgorithm2Test.cs: Check that a FeedbackSize of zero throws
162 a CryptographicException in 2.0.
164 2005-04-18 Sebastien Pouliot <sebastien@ximian.com>
166 * SymmetricAlgorithm2Test.cs: Added a test case where the FeedBackSize
167 is set to 0 before starting encryption.
169 2005-03-30 Sebastien Pouliot <sebastien@ximian.com>
171 * CryptoStreamTest.cs: Added test case when when no padding is used.
173 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
175 * CryptoConfigCas.cs: New. CAS unit tests for CryptoConfig.
176 * CryptoAPITransformCas.cs: New. CAS unit tests for CryptoAPITransform.
178 2005-02-10 Sebastien Pouliot <sebastien@ximian.com>
180 * DSATest.cs: Added unit test for Counter == 0. Actualized test cases
181 for NET_2_0 now that we can inherit from DSA outside corlib.
183 2005-01-30 Sebastien Pouliot <sebastien@ximian.com>
185 * PasswordDeriveBytesTest.cs: Changed [Ignore] to [Category
186 ("NotWorking")] to reduce nunit logs.
188 2005-01-19 Sebastien Pouliot <sebastien@ximian.com>
190 * CryptoStreamTest.cs: Added [ExpectedException] for [Ignored] unit
191 tests that were converted to [Category]
193 2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
195 * CryptoConfigTest.cs: Added new RIPEMD160 hash algorithm and new HMAC
196 algorithms (HMACMD5, HMACRIPEMD160, HMACSHA256, HMACSHA384 and
197 HMACSHA512) to the tests.
198 * DSACryptoServiceProviderTest.cs: Fixed VerifySignatureWithoutKey to
199 ensure that Mono didn't create the key before starting verification.
200 * RSACryptoServiceProviderTest.cs: Added tests for PublicOnly in the
201 constructor tests and for VerifyHash with a null OID.
202 * RSAPKCS1SignatureFormatterTest.cs: Fixed signatures values for
203 SHA256, SHA384 and SHA512 for NET_2_0 profile. The older signatures
204 (working only in Mono) can't be used because 2.0 use new OID for those
205 hash algorithms. Note that this still only works with Mono in 2.0!
207 2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
209 * CryptoStreamTest.cs, DSACryptoServiceProviderTest.cs,
210 HashAlgorithmTest.cs, PKCS1MaskGenerationMethodTest.cs,
211 RSAPKCS1KeyExchangeFormatterTest.cs, ToBase64TransformTest.cs:
212 Use [Category ("NotDotNet")] for tests failing only on the MS runtime
213 (so they are now executed on Mono).
215 2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
217 * TripleDESTest.cs: Testing weak key with null throws a NRE.
219 2005-01-06 Sebastien Pouliot <sebastien@ximian.com>
221 * DESTest.cs: Updated weak key and semi-weak key tests with more
223 * TripleDESTest.cs: Added tests when including a DES weak key into
226 2005-01-04 Sebastien Pouliot <sebastien@ximian.com>
228 * CryptoStreamTest.cs: Undo some previous fixes that have changed from
229 2.0 Nov CTP. Stream chaining was working on Nov CTP but are failing
232 2004-12-23 Sebastien Pouliot <sebastien@ximian.com>
234 * CryptoStreamTest.cs: Fixed tests to execute properly on 2.0 Nov CTP.
235 * DSACryptoServiceProviderTest.cs: Fixed tests to execute properly on
237 * PaddingModeTest.cs: Fixed tests to execute properly on 2.0 Nov CTP.
238 * RSACryptoServiceProviderTest.cs: Fixed tests to execute properly on
241 2004-12-23 Sebastien Pouliot <sebastien@ximian.com>
243 * ProtectedDataTest.cs: Moved in System.Security.dll
244 * ProtectedMemoryTest.cs: Moved in System.Security.dll
246 2004-12-06 Sebastien Pouliot <sebastien@ximian.com>
248 * RSACryptoServiceProviderTest.cs: Adjusted unit tests to show that
249 RSACryptoServiceProvider doesn't support private keys without CRT
250 parameters available - except to import the keys.
252 2004-11-09 Sebastien Pouliot <sebastien@ximian.com>
254 * PasswordDeriveBytesTest.cs: Removed test for 69036. This is a MS
255 bug that will be fixed in 2.0 beta 2.
257 2004-11-03 Sebastien Pouliot <sebastien@ximian.com>
259 * DSACryptoServiceProviderTest.cs: Fixed UseMachineKeyStore not to
260 fail if the key container directory wasn't yet created (root).
261 * PasswordDeriveBytesTest.cs: Added tests for NET_2_0, more tests
262 for all constructors, tests for properties and a test for bug 69036.
263 * RSACryptoServiceProviderTest.cs: Fixed UseMachineKeyStore not to
264 fail if the key container directory wasn't yet created (root).
266 2004-08-31 Nick Drochak <ndrochak@gol.com>
268 * DSACryptoServiceProviderTest.cs:
269 * RSACryptoServiceProviderTest.cs: Feed csc smaller bite sizes.
271 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
273 * DESTest.cs: Added a new test case to check default values.
274 * HMACSHA1.cs: Fixed bad test (and renamed it).
275 * RC2Test.cs: Added a new test case to check default values.
276 * RijndaelTest.cs: Added a new test case to check default values.
277 Convert tests from NUnit 1 to 2.2.
278 * TripleDESTest.cs: Added a new test case to check default values.
279 Convert tests to NUnit 2.2.
281 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
283 * AllTests2.cs: Updated to NUnit 2.2 Assert.
284 * CipherModeTest.cs: New. Tests supported CipherMode for all
285 SymmetricAlgorithm included in the framework (enum contains two more
286 modes that aren't implemented in any Fx version).
287 * CryptoConfigTest.cs: Ajusted new OID (for old names) in Fx 2.0.
288 * CryptoStreamTest.cs: Fixed different reported exception in Fx 2.0.
290 * CspProviderFlagsTest.cs: New. Test the values of the enum.
291 * DSACryptoServiceProviderTest.cs: Added new tests for new public
292 properties and methods added in Fx 2.0. Duplicated test to import a
293 key pair into a disposed instance (works in Fx 2.0). Removed all
294 [Ignore]s in NET_2_0 as the MS class/runtime has been fixed.
295 * DSASignatureDeformatterTest.cs: Converted from NUnit 1 to 2.2. Fixed
296 different reported exception in Fx 2.0.
297 * DSASignatureFormatterTest.cs: Converted from NUnit 1 to 2.2. Fixed
298 different reported exception in Fx 2.0.
299 * HMACRIPEMD160Test.cs: Fixed tests using TransformFinalBlock.
300 * HMACSHA1Test.cs: Fixed tests so they work on both NET_1_1 and
301 NET_2_0 profiles (as HMACSHA1 changed it's base class).
302 * HashAlgorithmTest.cs: Fixed different reported exception in Fx 2.0.
303 Removed [Ignore] in NET_2_0 as the MS class/runtime has been fixed.
304 * MACTripleDESTest.cs: Fixed tests so they work on both NET_1_1 and
306 * PKCS1MaskGenerationMethodTest.cs: Removed [Ignore] in NET_2_0 as the
307 MS class has been fixed.
308 * PaddingModeTest.cs: Added new tests for the two new padding mode
309 introduced in Fx 2.0. Converted to NUnit 2.2.
310 * PasswordDeriveBytesTest.cs: Removed [ExpectedException] for
311 StrangeBehaviour test as it is fixed in Fx 2.0.
312 * RC2Test.cs: Changed exception from CryptographicException to
313 CryptographicUnexpectedOperationException for Fx 1.1/2.0.
314 * RIPEMD160Test.cs: Fixed tests using TransformFinalBlock.
315 * RSACryptoServiceProviderTest.cs: Added new tests for new public
316 properties and methods added in Fx 2.0. Duplicated test to import a
317 key pair into a disposed instance (works in Fx 2.0). Duplicated test
318 to sign with a null OID (Fx 2.0 use SHA1 oid in this case).
319 * RSAOAEPKeyExchangeDeformatterTest.cs: Changed exception for a key
320 exchange with no key (to match Fx 2.0).
321 * RSAOAEPKeyExchangeFormatterTest.cs: Changed exception for a key
322 exchange with no key (to match Fx 2.0).
323 * RSAPKCS1KeyExchangeFormatterTest.cs: Changed exception for a key
324 exchange with no key (to match Fx 2.0). Removed [Ignore] in NET_2_0 as
325 the MS class/runtime has been fixed.
326 * RSAPKCS1SignatureDeformatterTest.cs: Null keys, in constructor or in
327 SetKey method, now throw an ArgumentNullException in Fx 2.0.
328 * RSAPKCS1SignatureFormatterTest.cs: Null keys, in constructor or in
329 SetKey method, now throw an ArgumentNullException in Fx 2.0.
330 * Rfc2898DeriveBytesTest.cs: Typecasted a null as a string.
331 * SymmetricAlgorithm2Test.cs: In Fx 2.0 an empty IV now throws a
332 CryptographicException.
333 * ToBase64TransformTest.cs: Fixed different reported exception in Fx 2.0.
334 Removed [Ignore] in NET_2_0 as the MS class/runtime has been fixed.
336 2004-06-23 Sebastien Pouliot <sebastien@ximian.com>
338 * CryptoStreamTest.cs: Added two tests for bug #60573. One shows that
339 an encryptor doesn't reduce the number of block on Write while the
340 second shows that a decryptor does reduce the number of blocks on
343 2004-06-16 Sebastien Pouliot <sebastien@ximian.com>
345 * SignatureDescriptionTest.cs: Added missing [TestFixture] :( and
346 cases for the previously undocumented .ctor(SecurityElement) - which
347 is now, backwardly, documented in VS.NET 2005.
349 2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
351 * HashAlgorithmTest.cs: Added new tests to check for more exceptions.
353 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
355 * CryptoStreamTest.cs: Added new unit tests for overflows.
356 * FromBase64Transform.cs: Added new unit tests for undocumented
357 exceptions (null, overflows...).
358 * ToBase64TransformTest.cs: Added new unit tests for negatives and
361 2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
363 * CryptoStreamTest.cs, DESCryptoServiceProviderTest.cs,
364 DSACryptoServiceProviderTest.cs, DSATest.cs, FromBase64Transform.cs,
365 HMACRIPEMD160Test.cs, MD5Test.cs, PKCS1MaskGenerationMethodTest.cs,
366 RIPEMD160ManagedTest.cs, RNGCryptoServiceProviderTest.cs,
367 RSACryptoServiceProviderTest.cs, RSAOAEPKeyExchangeDeformatterTest.cs,
368 RSAOAEPKeyExchangeFormatterTest.cs, RSAPKCS1KeyExchangeDeformatterTest.cs,
369 RSAPKCS1KeyExchangeFormatterTest.cs, RSAPKCS1SignatureDeformatterTest.cs,
370 RSAPKCS1SignatureFormatterTest.cs, RSATest.cs: SetUp/TearDown are now
371 public (required for new nunit).
373 2004-05-17 Sebastien Pouliot <sebastien@ximian.com>
375 * RNGCryptoServiceProviderTest.cs: Added new tests to see how the
376 constructor behave with null seeds or if they modify the seed.
378 2004-05-07 Sebastien Pouliot <sebastien@ximian.com>
380 * DSACryptoServiceProviderTest.cs: Added a new unit test for SignData
381 (was badly tested) and simplified test to reduce key pair generations.
382 * PasswordDerivceBytesTest.cs: Added new tests to complete
384 * RSACryptoServiceProviderTest.cs: Added new tests to complete
386 * ToBase64TransformTest.cs: Added a (legal) test where the final
387 transform receive data smaller than it's input block (padding).
389 2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
391 * RC2Test.cs: Converted to NUnit 2. Uncommented some tests that throw
392 exceptions to test exception handling (and get more coverage).
393 * RNGCryptoServiceProviderTest.cs: Updated unit tests for exception
395 * RSAOAEPKeyExchangeDeformatterTest.cs: Updated unit tests to complete
397 * RSAOAEPKeyExchangeFormatterTest.cs: Updated unit tests to complete
399 * RSAPKCS1KeyExchangeDeformatterTest.cs: Updated unit tests to
401 * RSAPKCS1KeyExchangeFormatterTest.cs: Updated unit tests to complete
403 * RSAPKCS1SignatureDeformatterTest.cs: Updated unit tests to complete
405 * RSAPKCS1SignatureFormatterTest.cs: Updated unit tests to complete
407 * RSATest.cs: Updated unit tests for importing XML key pairs.
408 * SHA256Test.cs: Corrected Setup attribtue (was [Test]).
409 * SignatureDescriptionTest.cs: Removed unimplemented constructor from
410 tests. Converted to NUnit2.
411 * SymmetricAlgorithm2Test.cs: New. Non generated unit test for better
412 coverage (like exception testing).
413 * ToBase64TransformTest.cs: New. Unit tests to complete coverage of
415 * TripleDESTest.cs: New. Unit tests to complete coverage of TripleDES.
417 2004-04-29 Sebastien Pouliot <sebastien@ximian.com>
419 * DSACryptoServiceProviderTest.cs: New unit tests fo better coverage.
420 * FromBase64Transform.cs: New unit tests for better coverage.
421 * HashAlgorithmTest.cs: New unit tests for better coverage.
422 * HMACSHA1Test.cs: New unit tests for better coverage. Updated to
424 * KeyedHashAlgorithmTest.cs: Coverage already complete. Updated to
426 * SHA1Test.cs: Coverage already complete. Updated to NUnit2.
427 * SHA1CryptoServiceProviderTest.cs: Coverage almost complete. Updated
429 * SHA256Test.cs: Coverage already complete. Updated to NUnit2.
430 * SHA256ManagedTest.cs: Coverage already complete. Updated to NUnit2.
431 * SHA384Test.cs: Coverage already complete. Updated to NUnit2.
432 * SHA384ManagedTest.cs: Coverage almost complete. Updated to NUnit2.
433 * SHA512Test.cs: Coverage already complete. Updated to NUnit2.
434 * SHA512ManagedTest.cs: Coverage almost complete. Updated to NUnit2.
436 2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
438 * DESCryptoServiceProviderTest.cs: New. Completes coverage for
439 DESCryptoServiceProvider class. Calls the FIPS 81 tests for this
441 * DESTest.cs: Added test vectors from FIPS 81.
443 2004-04-26 Sebastien Pouliot <sebastien@ximian.com>
445 * DESTest.cs: New. Unit tests for DES including checks for weak and
446 semi-weak keys (with and without parity applied on keys). Completes
447 coverage for DES class.
449 2004-04-02 Bernie Solomon <bernard@ugsolutions.com>
451 * PasswordDeriveBytesTest.cs: Add ToInt32LE so
452 it works on big endian machines.
454 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
456 * FromBase64Transform.cs: Two new unit tests showing that the
457 transform doesn't care if it's data is invalid base64. Convert class
460 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
462 * FromBase64Transform.cs: Converted to NUnit2 format. New unit tests
463 for properties, Dispose, Reuse and ignored characters.
465 2004-03-09 Atsushi Enomoto <atsushi@ximian.com>
467 * DSATest.cs : Added ToXmlString test that checks if input without
468 Seed and PgenCounter elements pass or not.
470 2004-02-12 Sebastien Pouliot <spouliot@videotron.ca>
472 * CryptoStreamTest.cs: Added new tests for [From|To]Base64Transform
473 (InputBlockSize != OutputBlockSize) and for cascading CryptoStreams.
475 2004-02-09 Sebastien Pouliot <sebastien@ximian.com>
477 * DSACryptoServiceProvider.cs: Added new unit tests for key pair
479 * RSACryptoServiceProvider.cs: Added new unit tests for key pair
482 2004-02-04 Sebastien Pouliot <spouliot@videotron.ca>
484 * CryptoStreamTest.cs: Added many more tests for every problem found
485 with CryptoStream using code samples from the internet.
487 2003-12-15 Sebastien Pouliot <spouliot@videotron.ca>
489 * CryptoConfigTest.cs: Converted unit tests to NUnit2.
490 * PaddingModeTest.cs: New. Unit tests to check every padding modes for
491 symmetric algorithms.
492 * MACTripleDESTest.cs: Updated unit tests for NUnit2 and to work for
493 both 1.0 and 1.1 framework.
495 2003-11-13 Sebastien Pouliot <spouliot@videotron.ca>
497 * ProtectedDataTest.cs: New. Unit tests for ProtectedData (1.2).
498 * ProtectedMemoryTest.cs: New. Unit tests for ProtectedMemory (1.2).
500 2003-11-11 Sebastien Pouliot <spouliot@videotron.ca>
502 * Rfc2898DeriveBytesTest.cs: More tests for Reset and keys longer than
505 2003-11-10 Sebastien Pouliot <spouliot@videotron.ca>
507 * Rfc2898DeriveBytesTest.cs: New. Unit tests for Rfc2898DeriveBytes
508 and test vectors from RFC3211.
510 2003-11-09 Sebastien Pouliot <spouliot@videotron.ca>
512 * HMACMD5Test.cs: New. Unit test for HMAC-MD5 with test vectors from
514 * HMACRIPEMD160Test.cs: New. Unit test for HMAC-RIPEMD160 with test
515 vectors from http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html.
516 * HMACSHA256Test.cs: New. Unit test for HMAC-SHA256.
518 2003-11-08 Sebastien Pouliot <spouliot@videotron.ca>
520 * RIPEMD160Test.cs: New. Unit test using RIPEMD160 test vectors.
521 * RIPEMD160Managed.cs: New. Unit tests running RIPEMD160Test using the
522 RIPEMD160Managed implementation.
524 2003-10-04 Sebastien Pouliot <spouliot@videotron.ca>
526 * CryptoStreamTest.cs: Added test case from bugzilla #49323 from
527 Carlos Guzmán Álvarez and some small tests for empty stream with
528 different PaddingMode (as found by Lluis Sanchez Gual).
530 2003-08-05 Sebastien Pouliot <spouliot@videotron.ca>
532 * CryptoStreamTest.cs: Added test case from bugzilla #40689 from
535 2003-07-31 Sebastien Pouliot <spouliot@videotron.ca>
537 * CryptoStreamTest.cs: New. Very basic test for CryptoStream + the
538 test case from bugzilla #46143 from Joerg Rosenkranz.
539 * RSACryptoServiceProviderTest.cs: Fixed some exceptions that are
540 different from .NET 1.0 and 1.1.
542 2003-07-05 Sebastien Pouliot <spouliot@videotron.ca>
544 * DSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear
545 and better test coverage (based on Zoltan's logs).
546 * DSATest.cs: Converted to NUnit2 format. Added new tests for better unit
547 test coverage (import incomplete public keys).
548 * RSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear
549 and better test coverage (based on Zoltan's logs).
550 * RSATest.cs: Converted to NUnit2 format. Added new tests for better unit
551 test coverage (import incomplete public keys).
553 2003-06-23 Nick Drochak <ndrochak@gol.com>
555 * MACTripleDESTest.cs: Adjust for .NET 1.1.
557 2003-06-11 Sebastien Pouliot <spouliot@videotron.ca>
559 * AllTests2.cs: Converted tests to NUnit2 format.
560 * RSACryptoServiceProviderTest.cs: Converted tests to NUnit2 format.
561 * RSAPKCS1KeyExchangeDeformatterTest.cs: Converted tests to NUnit2 format.
562 * RSAPKCS1KeyExchangeFormatterTest.cs: Converted tests to NUnit2 format.
563 * RSAPKCS1SignatureDeformatterTest.cs: Converted tests to NUnit2 format.
564 * RSAPKCS1SignatureFormatterTest.cs: Converted tests to NUnit2 format.
566 2003-05-29 Sebastien Pouliot <spouliot@videotron.ca>
568 * PKCS1MaskGenerationMethodTest.cs: Added [Ignore] to vector test
569 (as it's result isn't valid on both framework 1.0 and 1.1).
570 * RSAPKCS1SignatureDeformatter.cs: Splitting the test for NUnit2
571 cloned the previous error into many more tests. Hopefully fixed.
573 2003-05-28 Sebastien Pouliot <spouliot@videotron.ca>
575 * RSAPKCS1SignatureDeformatter.cs: Fixed (well I hope so) a test
576 which doesn't throw the same exception under 1.1. Also converted
577 the tests to NUnit2 format.
579 2003-05-12 Sebastien Pouliot <spouliot@videotron.ca>
581 * PKCS1MaskGenerationMethodTest.cs: Uncommented PKCS#1 v.2.1 vector
582 unit test (will work on Mono but fails with MS implementation).
583 * RSAOAEPKeyExchangeDeformatterTest.cs: Updated tests vectors for
584 both Mono and MS (under Windows XP) generated OAEP results.
585 * RSAOAEPKeyExchangeFormatterTest.cs: Update exception handling.
587 2003-04-17 Nick Drochak <ndrochak@gol.com>
589 * DSATest.cs: Use nunit version 2 style to test throw.
590 * HMACSHA1Test.cs: Eliminate compiler warning.
592 2003-03-04 Sebastien Pouliot <spouliot@videotron.ca>
594 * CryptoConfigTest.cs: Added new tests for algorithms
595 documented in book ".NET Framework Security".
597 2003-02-03 Sebastien Pouliot <spouliot@videotron.ca>
599 * PasswordDeriveBytesTest.cs: Added some new tests to complete
601 * RSAPKCS1SignatureDeformatterTest.cs: Added test for null and
602 invalid hash algorithm.
604 2003-01-19 Sebastien Pouliot <spouliot@videotron.ca>
606 * HMACSHA1Test.cs: Added tests for constructors.
607 * MACTripleDESTest.cs: Added tests for constructors.
609 2003-01-12 Sebastien Pouliot <spouliot@videotron.ca>
611 * HashAlgorithmTest.cs: Added new test for null streams.
612 * MACTripleDESTest.cs: New. Test suite par MAC using 3DES.
614 2002-12-21 Nick Drochak <ndrochak@gol.com>
616 * all: make tests build and run under nunit2
618 2002-12-21 Nick Drochak <ndrochak@gol.com>
620 * AllTests2.cs: Helper file for unit tests
622 2002-11-20 Sebastien Pouliot <spouliot@videotron.ca>
624 * RSAPKCS1SignatureDeformatterTest.cs: Removed patch from Nick -
625 as it doesn't seems to work on my system and the exception behavior
626 isn't logical (only MD5 not SHA1, ...).
628 2002-11-18 Nick Drochak <ndrochak@gol.com>
630 * RSAPKCS1SignatureDeformatterTest.cs: MS .NET throws an exception when
631 verifying a bad signature. Test for that.
633 2002-11-17 Sebastien Pouliot <spouliot@videotron.ca>
635 * AllTests.cs: Added a common RSA keypair for tests and all RSA
636 suites for new tests.
637 * RSACryptoServiceProviderTest.cs: Include tests for keygen,
638 import/export and signature (no encryption yet).
639 * RSAOAEPKeyExchangeDeformatterTest.cs: Compare results with
640 pre-generated vectors from Mono/Windows (cannot yet compare
641 with CryptoAPI/Windows as OAEP isn't available on my system).
642 * RSAOAEPKeyExchangeFormatterTest.cs: Test that the Formatter output
643 is compatible with the Deformatter.
644 * RSAPKCS1KeyExchangeDeformatterTest.cs: Compare results with
645 pre-generated vectors from Mono/Windows and CryptoAPI/Windows.
646 * RSAPKCS1KeyExchangeFormatterTest.cs: Test that the Formatter output
647 is compatible with the Deformatter.
648 * RSAPKCS1SignatureDeformatterTest.cs: Compare results with
649 pre-generated vectors from Mono/Windows and CryptoAPI/Windows.
650 * RSAPKCS1SignatureFormatterTest.cs: Test that the Formatter output
651 is compatible with the Deformatter.
653 2002-11-16 Sebastien Pouliot <spouliot@videotron.ca>
655 * AllTests.cs: Added suites for DSASignatureDeformatter,
656 DSASignatureFormatter.
657 * CryptoConfigTest.cs: Tests new URLs. This test will fail
658 if System.Security.dll isn't present (or not yet compiled).
659 * DSACryptoServiceProviderTest.cs: New. Key generation (limited
660 because it's too slow), Import/Export, Signature and Verification.
661 * DSASignatureDeformatterTest.cs: New. Test signature verification.
662 * DSASignatureFormatterTest.cs: New. Test signature creation.
663 * DSATest.cs: Comment DSA-derived test class as DSA constructor
664 is internal. Reworked the test suite.
665 * SignatureDescriptionTest.cs: Added tests for
666 DSASignatureDescription and RSAPKCS1SHA1SignatureDescription.
668 2002-11-02 Sebastien Pouliot <spouliot@videotron.ca>
670 * AllTests.cs: Added suites for SignatureDescription and
671 activated suites for SHA384Managed and SHA512Managed.
672 * SignatureDescriptionTest.cs: New. Basic tests (because I don't
673 know the context in which the class is used).
675 2002-10-28 Sebastien Pouliot <spouliot@videotron.ca>
677 * AllTests.cs: Added test suites for SHA256, SHA384 and SHA512
678 (last two partly commented until implementation is commited).
679 * SHA256Test.cs: New. Generic FIPS180-2 tests for SHA-256.
680 * SHA256ManagedTest.cs: New. Implementation tests (inherits
682 * SHA384Test.cs: New. Generic FIPS180-2 tests for SHA-384.
683 * SHA384ManagedTest.cs: New. Implementation tests (inherits
685 * SHA512Test.cs: New. Generic FIPS180-2 tests for SHA-512.
686 * SHA512ManagedTest.cs: New. Implementation tests (inherits
689 2002-10-25 Sebastien Pouliot <spouliot@videotron.ca>
691 * AllTests.cs: Added suite for PasswordDeriveBytes
692 * PasswordDeriveBytesTest.cs: New. Tests against pre-generated vectors -
693 only works for short runs (keys < HashSize) not long runs
695 2002-10-20 Sebastien Pouliot <spouliot@videotron.ca>
697 * AllTests.cs: Added suite for Rjindael
698 * RjindaelTest.cs: New. Test vectors from FIPS PUB 197 appendix.
700 2002-10-19 Sebastien Pouliot <spouliot@videotron.ca>
702 * AllTests.cs: Renabled most tests after commenting all code causing a
703 cyclic dependency (corlib->System.Xml->corlib). Some tests will fail
704 until commented code is replaced.
705 * SymmetricAlgorithm.cs: New (189) generated test cases for all default
706 algorithm implementation, all cipher modes, all padding modes, all key
707 sizes, all block sizes, feedback...
708 * PKCS1MaskGenerationMethodTest.cs: Commented vector test. Added new
709 tests to check for various exceptions
711 2002-10-16 Nick Drochak <ndrochak@gol.com>
713 * CryptoConfigTest.cs (TestCreateFromName): Disable tests for
714 algorithms that aren't in the build yet.
716 2002-10-16 Nick Drochak <ndrochak@gol.com>
718 * AllTests.cs: Disable tests that use components were are excluding
722 2002-10-14 Sebastien Pouliot <spouliot@videotron.ca>
724 * AllTests.cs: Added suite for PKCS1MaskGenerationMethod
725 * PKCS1MaskGenerationMethodTest.cs: New. Test work as per PKCS#1 but
726 result isn't the same as MS implementation !?! is MS using this class ?
728 2002-10-13 Sebastien Pouliot <spouliot@videotron.ca>
730 * AllTests.cs: Added suite for HashAlgorithm, KeyedHashAlgorithm and
732 * HashAlgorithmTest.cs: New. Test for Create and Clear
733 * KeyedHashAlgorithmTest.cs: New. Test for Create and key assignation
734 * HMACSHA1Test.cs: New. Test vectors from FIPS 198 and RFC2202
736 2002-10-12 Sebastien Pouliot <spouliot@videotron.ca>
738 * AllTests.cs: Added suite for RandomNumberGenerator, SHA1 and
739 SHA1CryptoServiceProvider
740 * RandomNumberGeneratorTest.cs: New. Tests for Create and generic
741 random quality tests (FIPS140-2)
742 * SHA1Test.cs: New. Tests for Create and generic SHA1 tests (FIPS180-1)
743 * SHA1CryptoServiceProviderTest.cs: New. Inherited SHA1Tests tests +
746 2002-10-10 Sebastien Pouliot <spouliot@videotron.ca>
748 * DSATest.cs: Added non-abstract DSA class to test To/FromXmlString()
749 * RSATest.cs: Added non-abstract RSA class to test To/FromXmlString()
750 * AllTests.cs: Added DSATest.cs and RSATest.cs in suite
752 2002-10-09 Sebastien Pouliot <spouliot@videotron.ca>
754 * CryptoConfigTest.cs: New tests
755 * AllTests.cs: Added CryptoConfigTest in suite
757 2002-10-05 Andrew Birkett <andy@nobugs.org>
759 * RC2Test.cs: New test. Only three cases are enabled - the other
760 five work fine under mono, but fail under MS corlib, so I've
763 * AllTests.cs: Added RC2Test.
765 2002-09-23 Andrew Birkett <andy@nobugs.org>
767 * RijndaelManagedTest.cs: Fixed initialization order problem
768 to match MS behaviour.
770 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
772 * MD5Test.cs: new test from Eduardo García Cebollero (kiwnix@yahoo.es).
773 * AllTests.cs: added new test.