1 2007-03-05 Sebastien Pouliot <sebastien@ximian.com>
3 * SymmetricAlgorithmTransformTest.cs: Add test cases for #81008 by
4 looking at the encrypted/decrypted block length when TransformBlock is
5 called with different MoO and paddings.
7 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
9 * HashAlgorithmTest.cs: Convert to NUnit 2.2 format.
10 * HMACMD5Test.cs: Convert to NUnit 2.2 format.
11 * HMACRIPEMD160Test.cs: Convert to NUnit 2.2 format.
12 * HMACSHA1Test.cs: Convert to NUnit 2.2 format.
13 * HMACSHA256Test.cs: Convert to NUnit 2.2 format.
14 * HMACSHA384Test.cs: Convert to NUnit 2.2 format. Add test cases from
15 RFC4231 using the correct block size (128) and the "legacy" size (64).
16 * HMACSHA512Test.cs: Convert to NUnit 2.2 format. . Add test cases from
17 RFC4231 using the correct block size (128) and the "legacy" size (64).
18 * KeyedHashAlgorithmTest.cs: Convert to NUnit 2.2 format.
19 * SHA1CryptoServiceProviderTest.cs: Convert to NUnit 2.2 format.
20 * SHA1Test.cs: Convert to NUnit 2.2 format.
21 * SHA256ManagedTest.cs: Convert to NUnit 2.2 format.
22 * SHA256Test.cs: Convert to NUnit 2.2 format.
23 * SHA384ManagedTest.cs: Convert to NUnit 2.2 format.
24 * SHA384Test.cs: Convert to NUnit 2.2 format.
25 * SHA512ManagedTest.cs: Convert to NUnit 2.2 format.
26 * SHA512Test.cs: Convert to NUnit 2.2 format.
28 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
30 * CryptoConfigTest.cs: Adjust line-endings.
31 * CryptoStreamTest.cs: Adjust line-endings.
32 * DESTest.cs: Adjust line-endings.
33 * DSACryptoServiceProviderTest.cs: Adjust line-endings.
34 * DSATest.cs: Adjust line-endings.
35 * RSACryptoServiceProviderTest.cs: Adjust line-endings.
37 2007-01-08 Sebastien Pouliot <sebastien@ximian.com>
39 * DESCryptoServiceProviderTest.cs: Remove test cases for bug #80439
40 as they are more general than DES and the default padding.
41 * SymmetricAlgorithmTransformTest.cs: New. Extensive test cases for
42 bug #80439, all symmtric ciphers (all block size), all mode of
43 operations and all supported padding modes.
45 2007-01-04 Sebastien Pouliot <sebastien@ximian.com>
47 * DESCryptoServiceProviderTest.cs: Update and add new test cases for
50 2007-01-03 Sebastien Pouliot <sebastien@ximian.com>
52 * DESCryptoServiceProviderTest.cs: Add tests for bug #80439 where
53 inputCount is reduced to fit into the output buffer (for any mode).
55 2006-11-24 Sebastien Pouliot <sebastien@ximian.com>
57 * CryptoConfigTest.cs: Added test case for X509Chain.
59 2006-11-16 Sebastien Pouliot <sebastien@ximian.com>
61 * PasswordDeriveBytesTest.cs: Added test case for bug #79499
63 2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
65 * CryptoConfigTest.cs: Added test cases to ensure lower/mixed-case of
66 algorithm names are supported by CreateFromName and MapNameToOID (fix
67 bug #79641). Updated some OID that were changed (well nulled) in the
68 final 2.0 release of MS framework.
70 2006-09-08 Sebastien Pouliot <sebastien@ximian.com>
72 * RSACryptoServiceProviderTest.cs: Added test cases for decoding bad
73 PKCS1 and OAEP padding - both resulting in a CryptographicException.
74 * RSAOAEPKeyExchangeDeformatterTest.cs: Add test case for bad padding.
75 * RSAPKCS1KeyExchangeDeformatterTest.cs: Add test case for bad padding
77 2006-09-05 Sebastien Pouliot <sebastien@ximian.com>
79 * RSACryptoServiceProviderTest.cs: Test case for #79269 where we
80 ensure a CryptographicException (not a NRE) when decrypting without a
83 2006-07-01 Sebastien Pouliot <sebastien@ximian.com>
85 * RSAPKCS1SignatureDeformatterTest.cs: Added test case where
86 SetHashAlgorithm isn't called and the hash algorithm name is derived
87 from the hash instance. From bug #78744 by Diego Mesa Tabares.
89 2006-06-15 Sebastien Pouliot <sebastien@ximian.com>
91 * HashAlgorithmTest.cs: Added new test cases wrt the output buffer
92 used in TransformBlock (e.g. bug #78647). Updated existing test case
93 to work under 2.0 final.
94 * HMACMD5Test.cs: Fix SetUp to allow new inherited test cases to work
96 * HMACRIPEMD160Test.cs: Fix SetUp to allow new inherited test cases to
98 * HMACSHA1Test.cs: Fix SetUp to allow new inherited test cases to
100 * HMACSHA256Test.cs: Fix SetUp to allow new inherited test cases to
102 * HMACSHA384Test.cs: New. Basic test cases that, cheaply, inherits
103 the HashAlgorithm tests.
104 * HMACSHA512Test.cs: New. Basic test cases that, cheaply, inherits
105 the HashAlgorithm tests.
106 * KeyedHashAlgorithmTest.cs: Ensure we're always using the same key
107 (required for new, inherited, test cases). Fix ToString to match
108 KeyedHashAlgorithm (and not an inherited class).
110 2006-06-01 Sebastien Pouliot <sebastien@ximian.com>
112 * RandomNumberGeneratorTest.cs: Don't forget the last run in Runs.
113 Track both 0 and 1 runs. Changed runs ranges to match FIPS140-2 Change
114 Notice #1 (fixes bug #78560). Updated test cases to NUnit 2.2 format.
116 2005-12-15 Sebastien Pouliot <sebastien@ximian.com>
118 * RijndaelTest.cs: Add test cases for cycling key sizes and block
120 * SymmetricAlgorithm2Test.cs: Added test case for re-setting the
121 BlockSize. Keeping the same value *doesn't* change the current IV
122 (while doing the same on the KeySize *does* change the key).
124 2005-11-22 Sebastien Pouliot <sebastien@ximian.com>
126 * DSATest.cs: Added test case where J isn't imported. In this case we
127 don't export (our internally calculated) J and it's also not part of
130 2005-10-21 Sebastien Pouliot <sebastien@ximian.com>
132 * RC2CryptoServiceProviderTest.cs: New. Unit tests specific to this
133 implementation (not algorithm specific but required to match MS
135 * RijndaelManagedTest.cs: Added unit tests specific to this
136 implementation (not algorithm specific but required to match MS
138 * DESCryptoServiceProviderTest.cs: Added unit tests specific to this
139 implementation (not algorithm specific but required to match MS
141 * TripleDESCryptoServiceProviderTest.cs: New. Unit tests specific to
142 this implementation (not algorithm specific but required to match MS
145 2005-09-29 Sebastien Pouliot <sebastien@ximian.com>
147 * HMACSHA1Test.cs: Use the new ctor(byte[],bool) introduced in 2.0 RC
148 in some of the existing tests (under 2.0).
150 2005-04-27 Sebastien Pouliot <sebastien@ximian.com>
152 * DSACryptoServiceProviderTest.cs: Catch UnauthorizedAccessException
153 directly in UseMachineKeyStore (not just wrapped inside a
154 CryptographicException).
155 * RSACryptoServiceProviderTest.cs: Catch UnauthorizedAccessException
156 directly in UseMachineKeyStore (not just wrapped inside a
157 CryptographicException).
159 2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
161 * CryptoConfigTest.cs: Check that ArgumentNullException is throw in
162 EncodeOID for 2.0. Comment test for RSA OID (2.0).
163 * DESTest.cs: Check that null keys throws CryptographicException in
164 IsWeakKey and IsSemiWeakKey for 2.0.
165 * TripleDESTest.cs: Check that null keys throws CryptographicException
166 in IsWeakKey for 2.0.
167 * SymmetricAlgorithm2Test.cs: Check that a FeedbackSize of zero throws
168 a CryptographicException in 2.0.
170 2005-04-18 Sebastien Pouliot <sebastien@ximian.com>
172 * SymmetricAlgorithm2Test.cs: Added a test case where the FeedBackSize
173 is set to 0 before starting encryption.
175 2005-03-30 Sebastien Pouliot <sebastien@ximian.com>
177 * CryptoStreamTest.cs: Added test case when when no padding is used.
179 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
181 * CryptoConfigCas.cs: New. CAS unit tests for CryptoConfig.
182 * CryptoAPITransformCas.cs: New. CAS unit tests for CryptoAPITransform.
184 2005-02-10 Sebastien Pouliot <sebastien@ximian.com>
186 * DSATest.cs: Added unit test for Counter == 0. Actualized test cases
187 for NET_2_0 now that we can inherit from DSA outside corlib.
189 2005-01-30 Sebastien Pouliot <sebastien@ximian.com>
191 * PasswordDeriveBytesTest.cs: Changed [Ignore] to [Category
192 ("NotWorking")] to reduce nunit logs.
194 2005-01-19 Sebastien Pouliot <sebastien@ximian.com>
196 * CryptoStreamTest.cs: Added [ExpectedException] for [Ignored] unit
197 tests that were converted to [Category]
199 2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
201 * CryptoConfigTest.cs: Added new RIPEMD160 hash algorithm and new HMAC
202 algorithms (HMACMD5, HMACRIPEMD160, HMACSHA256, HMACSHA384 and
203 HMACSHA512) to the tests.
204 * DSACryptoServiceProviderTest.cs: Fixed VerifySignatureWithoutKey to
205 ensure that Mono didn't create the key before starting verification.
206 * RSACryptoServiceProviderTest.cs: Added tests for PublicOnly in the
207 constructor tests and for VerifyHash with a null OID.
208 * RSAPKCS1SignatureFormatterTest.cs: Fixed signatures values for
209 SHA256, SHA384 and SHA512 for NET_2_0 profile. The older signatures
210 (working only in Mono) can't be used because 2.0 use new OID for those
211 hash algorithms. Note that this still only works with Mono in 2.0!
213 2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
215 * CryptoStreamTest.cs, DSACryptoServiceProviderTest.cs,
216 HashAlgorithmTest.cs, PKCS1MaskGenerationMethodTest.cs,
217 RSAPKCS1KeyExchangeFormatterTest.cs, ToBase64TransformTest.cs:
218 Use [Category ("NotDotNet")] for tests failing only on the MS runtime
219 (so they are now executed on Mono).
221 2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
223 * TripleDESTest.cs: Testing weak key with null throws a NRE.
225 2005-01-06 Sebastien Pouliot <sebastien@ximian.com>
227 * DESTest.cs: Updated weak key and semi-weak key tests with more
229 * TripleDESTest.cs: Added tests when including a DES weak key into
232 2005-01-04 Sebastien Pouliot <sebastien@ximian.com>
234 * CryptoStreamTest.cs: Undo some previous fixes that have changed from
235 2.0 Nov CTP. Stream chaining was working on Nov CTP but are failing
238 2004-12-23 Sebastien Pouliot <sebastien@ximian.com>
240 * CryptoStreamTest.cs: Fixed tests to execute properly on 2.0 Nov CTP.
241 * DSACryptoServiceProviderTest.cs: Fixed tests to execute properly on
243 * PaddingModeTest.cs: Fixed tests to execute properly on 2.0 Nov CTP.
244 * RSACryptoServiceProviderTest.cs: Fixed tests to execute properly on
247 2004-12-23 Sebastien Pouliot <sebastien@ximian.com>
249 * ProtectedDataTest.cs: Moved in System.Security.dll
250 * ProtectedMemoryTest.cs: Moved in System.Security.dll
252 2004-12-06 Sebastien Pouliot <sebastien@ximian.com>
254 * RSACryptoServiceProviderTest.cs: Adjusted unit tests to show that
255 RSACryptoServiceProvider doesn't support private keys without CRT
256 parameters available - except to import the keys.
258 2004-11-09 Sebastien Pouliot <sebastien@ximian.com>
260 * PasswordDeriveBytesTest.cs: Removed test for 69036. This is a MS
261 bug that will be fixed in 2.0 beta 2.
263 2004-11-03 Sebastien Pouliot <sebastien@ximian.com>
265 * DSACryptoServiceProviderTest.cs: Fixed UseMachineKeyStore not to
266 fail if the key container directory wasn't yet created (root).
267 * PasswordDeriveBytesTest.cs: Added tests for NET_2_0, more tests
268 for all constructors, tests for properties and a test for bug 69036.
269 * RSACryptoServiceProviderTest.cs: Fixed UseMachineKeyStore not to
270 fail if the key container directory wasn't yet created (root).
272 2004-08-31 Nick Drochak <ndrochak@gol.com>
274 * DSACryptoServiceProviderTest.cs:
275 * RSACryptoServiceProviderTest.cs: Feed csc smaller bite sizes.
277 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
279 * DESTest.cs: Added a new test case to check default values.
280 * HMACSHA1.cs: Fixed bad test (and renamed it).
281 * RC2Test.cs: Added a new test case to check default values.
282 * RijndaelTest.cs: Added a new test case to check default values.
283 Convert tests from NUnit 1 to 2.2.
284 * TripleDESTest.cs: Added a new test case to check default values.
285 Convert tests to NUnit 2.2.
287 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
289 * AllTests2.cs: Updated to NUnit 2.2 Assert.
290 * CipherModeTest.cs: New. Tests supported CipherMode for all
291 SymmetricAlgorithm included in the framework (enum contains two more
292 modes that aren't implemented in any Fx version).
293 * CryptoConfigTest.cs: Ajusted new OID (for old names) in Fx 2.0.
294 * CryptoStreamTest.cs: Fixed different reported exception in Fx 2.0.
296 * CspProviderFlagsTest.cs: New. Test the values of the enum.
297 * DSACryptoServiceProviderTest.cs: Added new tests for new public
298 properties and methods added in Fx 2.0. Duplicated test to import a
299 key pair into a disposed instance (works in Fx 2.0). Removed all
300 [Ignore]s in NET_2_0 as the MS class/runtime has been fixed.
301 * DSASignatureDeformatterTest.cs: Converted from NUnit 1 to 2.2. Fixed
302 different reported exception in Fx 2.0.
303 * DSASignatureFormatterTest.cs: Converted from NUnit 1 to 2.2. Fixed
304 different reported exception in Fx 2.0.
305 * HMACRIPEMD160Test.cs: Fixed tests using TransformFinalBlock.
306 * HMACSHA1Test.cs: Fixed tests so they work on both NET_1_1 and
307 NET_2_0 profiles (as HMACSHA1 changed it's base class).
308 * HashAlgorithmTest.cs: Fixed different reported exception in Fx 2.0.
309 Removed [Ignore] in NET_2_0 as the MS class/runtime has been fixed.
310 * MACTripleDESTest.cs: Fixed tests so they work on both NET_1_1 and
312 * PKCS1MaskGenerationMethodTest.cs: Removed [Ignore] in NET_2_0 as the
313 MS class has been fixed.
314 * PaddingModeTest.cs: Added new tests for the two new padding mode
315 introduced in Fx 2.0. Converted to NUnit 2.2.
316 * PasswordDeriveBytesTest.cs: Removed [ExpectedException] for
317 StrangeBehaviour test as it is fixed in Fx 2.0.
318 * RC2Test.cs: Changed exception from CryptographicException to
319 CryptographicUnexpectedOperationException for Fx 1.1/2.0.
320 * RIPEMD160Test.cs: Fixed tests using TransformFinalBlock.
321 * RSACryptoServiceProviderTest.cs: Added new tests for new public
322 properties and methods added in Fx 2.0. Duplicated test to import a
323 key pair into a disposed instance (works in Fx 2.0). Duplicated test
324 to sign with a null OID (Fx 2.0 use SHA1 oid in this case).
325 * RSAOAEPKeyExchangeDeformatterTest.cs: Changed exception for a key
326 exchange with no key (to match Fx 2.0).
327 * RSAOAEPKeyExchangeFormatterTest.cs: Changed exception for a key
328 exchange with no key (to match Fx 2.0).
329 * RSAPKCS1KeyExchangeFormatterTest.cs: Changed exception for a key
330 exchange with no key (to match Fx 2.0). Removed [Ignore] in NET_2_0 as
331 the MS class/runtime has been fixed.
332 * RSAPKCS1SignatureDeformatterTest.cs: Null keys, in constructor or in
333 SetKey method, now throw an ArgumentNullException in Fx 2.0.
334 * RSAPKCS1SignatureFormatterTest.cs: Null keys, in constructor or in
335 SetKey method, now throw an ArgumentNullException in Fx 2.0.
336 * Rfc2898DeriveBytesTest.cs: Typecasted a null as a string.
337 * SymmetricAlgorithm2Test.cs: In Fx 2.0 an empty IV now throws a
338 CryptographicException.
339 * ToBase64TransformTest.cs: Fixed different reported exception in Fx 2.0.
340 Removed [Ignore] in NET_2_0 as the MS class/runtime has been fixed.
342 2004-06-23 Sebastien Pouliot <sebastien@ximian.com>
344 * CryptoStreamTest.cs: Added two tests for bug #60573. One shows that
345 an encryptor doesn't reduce the number of block on Write while the
346 second shows that a decryptor does reduce the number of blocks on
349 2004-06-16 Sebastien Pouliot <sebastien@ximian.com>
351 * SignatureDescriptionTest.cs: Added missing [TestFixture] :( and
352 cases for the previously undocumented .ctor(SecurityElement) - which
353 is now, backwardly, documented in VS.NET 2005.
355 2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
357 * HashAlgorithmTest.cs: Added new tests to check for more exceptions.
359 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
361 * CryptoStreamTest.cs: Added new unit tests for overflows.
362 * FromBase64Transform.cs: Added new unit tests for undocumented
363 exceptions (null, overflows...).
364 * ToBase64TransformTest.cs: Added new unit tests for negatives and
367 2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
369 * CryptoStreamTest.cs, DESCryptoServiceProviderTest.cs,
370 DSACryptoServiceProviderTest.cs, DSATest.cs, FromBase64Transform.cs,
371 HMACRIPEMD160Test.cs, MD5Test.cs, PKCS1MaskGenerationMethodTest.cs,
372 RIPEMD160ManagedTest.cs, RNGCryptoServiceProviderTest.cs,
373 RSACryptoServiceProviderTest.cs, RSAOAEPKeyExchangeDeformatterTest.cs,
374 RSAOAEPKeyExchangeFormatterTest.cs, RSAPKCS1KeyExchangeDeformatterTest.cs,
375 RSAPKCS1KeyExchangeFormatterTest.cs, RSAPKCS1SignatureDeformatterTest.cs,
376 RSAPKCS1SignatureFormatterTest.cs, RSATest.cs: SetUp/TearDown are now
377 public (required for new nunit).
379 2004-05-17 Sebastien Pouliot <sebastien@ximian.com>
381 * RNGCryptoServiceProviderTest.cs: Added new tests to see how the
382 constructor behave with null seeds or if they modify the seed.
384 2004-05-07 Sebastien Pouliot <sebastien@ximian.com>
386 * DSACryptoServiceProviderTest.cs: Added a new unit test for SignData
387 (was badly tested) and simplified test to reduce key pair generations.
388 * PasswordDerivceBytesTest.cs: Added new tests to complete
390 * RSACryptoServiceProviderTest.cs: Added new tests to complete
392 * ToBase64TransformTest.cs: Added a (legal) test where the final
393 transform receive data smaller than it's input block (padding).
395 2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
397 * RC2Test.cs: Converted to NUnit 2. Uncommented some tests that throw
398 exceptions to test exception handling (and get more coverage).
399 * RNGCryptoServiceProviderTest.cs: Updated unit tests for exception
401 * RSAOAEPKeyExchangeDeformatterTest.cs: Updated unit tests to complete
403 * RSAOAEPKeyExchangeFormatterTest.cs: Updated unit tests to complete
405 * RSAPKCS1KeyExchangeDeformatterTest.cs: Updated unit tests to
407 * RSAPKCS1KeyExchangeFormatterTest.cs: Updated unit tests to complete
409 * RSAPKCS1SignatureDeformatterTest.cs: Updated unit tests to complete
411 * RSAPKCS1SignatureFormatterTest.cs: Updated unit tests to complete
413 * RSATest.cs: Updated unit tests for importing XML key pairs.
414 * SHA256Test.cs: Corrected Setup attribtue (was [Test]).
415 * SignatureDescriptionTest.cs: Removed unimplemented constructor from
416 tests. Converted to NUnit2.
417 * SymmetricAlgorithm2Test.cs: New. Non generated unit test for better
418 coverage (like exception testing).
419 * ToBase64TransformTest.cs: New. Unit tests to complete coverage of
421 * TripleDESTest.cs: New. Unit tests to complete coverage of TripleDES.
423 2004-04-29 Sebastien Pouliot <sebastien@ximian.com>
425 * DSACryptoServiceProviderTest.cs: New unit tests fo better coverage.
426 * FromBase64Transform.cs: New unit tests for better coverage.
427 * HashAlgorithmTest.cs: New unit tests for better coverage.
428 * HMACSHA1Test.cs: New unit tests for better coverage. Updated to
430 * KeyedHashAlgorithmTest.cs: Coverage already complete. Updated to
432 * SHA1Test.cs: Coverage already complete. Updated to NUnit2.
433 * SHA1CryptoServiceProviderTest.cs: Coverage almost complete. Updated
435 * SHA256Test.cs: Coverage already complete. Updated to NUnit2.
436 * SHA256ManagedTest.cs: Coverage already complete. Updated to NUnit2.
437 * SHA384Test.cs: Coverage already complete. Updated to NUnit2.
438 * SHA384ManagedTest.cs: Coverage almost complete. Updated to NUnit2.
439 * SHA512Test.cs: Coverage already complete. Updated to NUnit2.
440 * SHA512ManagedTest.cs: Coverage almost complete. Updated to NUnit2.
442 2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
444 * DESCryptoServiceProviderTest.cs: New. Completes coverage for
445 DESCryptoServiceProvider class. Calls the FIPS 81 tests for this
447 * DESTest.cs: Added test vectors from FIPS 81.
449 2004-04-26 Sebastien Pouliot <sebastien@ximian.com>
451 * DESTest.cs: New. Unit tests for DES including checks for weak and
452 semi-weak keys (with and without parity applied on keys). Completes
453 coverage for DES class.
455 2004-04-02 Bernie Solomon <bernard@ugsolutions.com>
457 * PasswordDeriveBytesTest.cs: Add ToInt32LE so
458 it works on big endian machines.
460 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
462 * FromBase64Transform.cs: Two new unit tests showing that the
463 transform doesn't care if it's data is invalid base64. Convert class
466 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
468 * FromBase64Transform.cs: Converted to NUnit2 format. New unit tests
469 for properties, Dispose, Reuse and ignored characters.
471 2004-03-09 Atsushi Enomoto <atsushi@ximian.com>
473 * DSATest.cs : Added ToXmlString test that checks if input without
474 Seed and PgenCounter elements pass or not.
476 2004-02-12 Sebastien Pouliot <spouliot@videotron.ca>
478 * CryptoStreamTest.cs: Added new tests for [From|To]Base64Transform
479 (InputBlockSize != OutputBlockSize) and for cascading CryptoStreams.
481 2004-02-09 Sebastien Pouliot <sebastien@ximian.com>
483 * DSACryptoServiceProvider.cs: Added new unit tests for key pair
485 * RSACryptoServiceProvider.cs: Added new unit tests for key pair
488 2004-02-04 Sebastien Pouliot <spouliot@videotron.ca>
490 * CryptoStreamTest.cs: Added many more tests for every problem found
491 with CryptoStream using code samples from the internet.
493 2003-12-15 Sebastien Pouliot <spouliot@videotron.ca>
495 * CryptoConfigTest.cs: Converted unit tests to NUnit2.
496 * PaddingModeTest.cs: New. Unit tests to check every padding modes for
497 symmetric algorithms.
498 * MACTripleDESTest.cs: Updated unit tests for NUnit2 and to work for
499 both 1.0 and 1.1 framework.
501 2003-11-13 Sebastien Pouliot <spouliot@videotron.ca>
503 * ProtectedDataTest.cs: New. Unit tests for ProtectedData (1.2).
504 * ProtectedMemoryTest.cs: New. Unit tests for ProtectedMemory (1.2).
506 2003-11-11 Sebastien Pouliot <spouliot@videotron.ca>
508 * Rfc2898DeriveBytesTest.cs: More tests for Reset and keys longer than
511 2003-11-10 Sebastien Pouliot <spouliot@videotron.ca>
513 * Rfc2898DeriveBytesTest.cs: New. Unit tests for Rfc2898DeriveBytes
514 and test vectors from RFC3211.
516 2003-11-09 Sebastien Pouliot <spouliot@videotron.ca>
518 * HMACMD5Test.cs: New. Unit test for HMAC-MD5 with test vectors from
520 * HMACRIPEMD160Test.cs: New. Unit test for HMAC-RIPEMD160 with test
521 vectors from http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html.
522 * HMACSHA256Test.cs: New. Unit test for HMAC-SHA256.
524 2003-11-08 Sebastien Pouliot <spouliot@videotron.ca>
526 * RIPEMD160Test.cs: New. Unit test using RIPEMD160 test vectors.
527 * RIPEMD160Managed.cs: New. Unit tests running RIPEMD160Test using the
528 RIPEMD160Managed implementation.
530 2003-10-04 Sebastien Pouliot <spouliot@videotron.ca>
532 * CryptoStreamTest.cs: Added test case from bugzilla #49323 from
533 Carlos Guzmán Álvarez and some small tests for empty stream with
534 different PaddingMode (as found by Lluis Sanchez Gual).
536 2003-08-05 Sebastien Pouliot <spouliot@videotron.ca>
538 * CryptoStreamTest.cs: Added test case from bugzilla #40689 from
541 2003-07-31 Sebastien Pouliot <spouliot@videotron.ca>
543 * CryptoStreamTest.cs: New. Very basic test for CryptoStream + the
544 test case from bugzilla #46143 from Joerg Rosenkranz.
545 * RSACryptoServiceProviderTest.cs: Fixed some exceptions that are
546 different from .NET 1.0 and 1.1.
548 2003-07-05 Sebastien Pouliot <spouliot@videotron.ca>
550 * DSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear
551 and better test coverage (based on Zoltan's logs).
552 * DSATest.cs: Converted to NUnit2 format. Added new tests for better unit
553 test coverage (import incomplete public keys).
554 * RSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear
555 and better test coverage (based on Zoltan's logs).
556 * RSATest.cs: Converted to NUnit2 format. Added new tests for better unit
557 test coverage (import incomplete public keys).
559 2003-06-23 Nick Drochak <ndrochak@gol.com>
561 * MACTripleDESTest.cs: Adjust for .NET 1.1.
563 2003-06-11 Sebastien Pouliot <spouliot@videotron.ca>
565 * AllTests2.cs: Converted tests to NUnit2 format.
566 * RSACryptoServiceProviderTest.cs: Converted tests to NUnit2 format.
567 * RSAPKCS1KeyExchangeDeformatterTest.cs: Converted tests to NUnit2 format.
568 * RSAPKCS1KeyExchangeFormatterTest.cs: Converted tests to NUnit2 format.
569 * RSAPKCS1SignatureDeformatterTest.cs: Converted tests to NUnit2 format.
570 * RSAPKCS1SignatureFormatterTest.cs: Converted tests to NUnit2 format.
572 2003-05-29 Sebastien Pouliot <spouliot@videotron.ca>
574 * PKCS1MaskGenerationMethodTest.cs: Added [Ignore] to vector test
575 (as it's result isn't valid on both framework 1.0 and 1.1).
576 * RSAPKCS1SignatureDeformatter.cs: Splitting the test for NUnit2
577 cloned the previous error into many more tests. Hopefully fixed.
579 2003-05-28 Sebastien Pouliot <spouliot@videotron.ca>
581 * RSAPKCS1SignatureDeformatter.cs: Fixed (well I hope so) a test
582 which doesn't throw the same exception under 1.1. Also converted
583 the tests to NUnit2 format.
585 2003-05-12 Sebastien Pouliot <spouliot@videotron.ca>
587 * PKCS1MaskGenerationMethodTest.cs: Uncommented PKCS#1 v.2.1 vector
588 unit test (will work on Mono but fails with MS implementation).
589 * RSAOAEPKeyExchangeDeformatterTest.cs: Updated tests vectors for
590 both Mono and MS (under Windows XP) generated OAEP results.
591 * RSAOAEPKeyExchangeFormatterTest.cs: Update exception handling.
593 2003-04-17 Nick Drochak <ndrochak@gol.com>
595 * DSATest.cs: Use nunit version 2 style to test throw.
596 * HMACSHA1Test.cs: Eliminate compiler warning.
598 2003-03-04 Sebastien Pouliot <spouliot@videotron.ca>
600 * CryptoConfigTest.cs: Added new tests for algorithms
601 documented in book ".NET Framework Security".
603 2003-02-03 Sebastien Pouliot <spouliot@videotron.ca>
605 * PasswordDeriveBytesTest.cs: Added some new tests to complete
607 * RSAPKCS1SignatureDeformatterTest.cs: Added test for null and
608 invalid hash algorithm.
610 2003-01-19 Sebastien Pouliot <spouliot@videotron.ca>
612 * HMACSHA1Test.cs: Added tests for constructors.
613 * MACTripleDESTest.cs: Added tests for constructors.
615 2003-01-12 Sebastien Pouliot <spouliot@videotron.ca>
617 * HashAlgorithmTest.cs: Added new test for null streams.
618 * MACTripleDESTest.cs: New. Test suite par MAC using 3DES.
620 2002-12-21 Nick Drochak <ndrochak@gol.com>
622 * all: make tests build and run under nunit2
624 2002-12-21 Nick Drochak <ndrochak@gol.com>
626 * AllTests2.cs: Helper file for unit tests
628 2002-11-20 Sebastien Pouliot <spouliot@videotron.ca>
630 * RSAPKCS1SignatureDeformatterTest.cs: Removed patch from Nick -
631 as it doesn't seems to work on my system and the exception behavior
632 isn't logical (only MD5 not SHA1, ...).
634 2002-11-18 Nick Drochak <ndrochak@gol.com>
636 * RSAPKCS1SignatureDeformatterTest.cs: MS .NET throws an exception when
637 verifying a bad signature. Test for that.
639 2002-11-17 Sebastien Pouliot <spouliot@videotron.ca>
641 * AllTests.cs: Added a common RSA keypair for tests and all RSA
642 suites for new tests.
643 * RSACryptoServiceProviderTest.cs: Include tests for keygen,
644 import/export and signature (no encryption yet).
645 * RSAOAEPKeyExchangeDeformatterTest.cs: Compare results with
646 pre-generated vectors from Mono/Windows (cannot yet compare
647 with CryptoAPI/Windows as OAEP isn't available on my system).
648 * RSAOAEPKeyExchangeFormatterTest.cs: Test that the Formatter output
649 is compatible with the Deformatter.
650 * RSAPKCS1KeyExchangeDeformatterTest.cs: Compare results with
651 pre-generated vectors from Mono/Windows and CryptoAPI/Windows.
652 * RSAPKCS1KeyExchangeFormatterTest.cs: Test that the Formatter output
653 is compatible with the Deformatter.
654 * RSAPKCS1SignatureDeformatterTest.cs: Compare results with
655 pre-generated vectors from Mono/Windows and CryptoAPI/Windows.
656 * RSAPKCS1SignatureFormatterTest.cs: Test that the Formatter output
657 is compatible with the Deformatter.
659 2002-11-16 Sebastien Pouliot <spouliot@videotron.ca>
661 * AllTests.cs: Added suites for DSASignatureDeformatter,
662 DSASignatureFormatter.
663 * CryptoConfigTest.cs: Tests new URLs. This test will fail
664 if System.Security.dll isn't present (or not yet compiled).
665 * DSACryptoServiceProviderTest.cs: New. Key generation (limited
666 because it's too slow), Import/Export, Signature and Verification.
667 * DSASignatureDeformatterTest.cs: New. Test signature verification.
668 * DSASignatureFormatterTest.cs: New. Test signature creation.
669 * DSATest.cs: Comment DSA-derived test class as DSA constructor
670 is internal. Reworked the test suite.
671 * SignatureDescriptionTest.cs: Added tests for
672 DSASignatureDescription and RSAPKCS1SHA1SignatureDescription.
674 2002-11-02 Sebastien Pouliot <spouliot@videotron.ca>
676 * AllTests.cs: Added suites for SignatureDescription and
677 activated suites for SHA384Managed and SHA512Managed.
678 * SignatureDescriptionTest.cs: New. Basic tests (because I don't
679 know the context in which the class is used).
681 2002-10-28 Sebastien Pouliot <spouliot@videotron.ca>
683 * AllTests.cs: Added test suites for SHA256, SHA384 and SHA512
684 (last two partly commented until implementation is commited).
685 * SHA256Test.cs: New. Generic FIPS180-2 tests for SHA-256.
686 * SHA256ManagedTest.cs: New. Implementation tests (inherits
688 * SHA384Test.cs: New. Generic FIPS180-2 tests for SHA-384.
689 * SHA384ManagedTest.cs: New. Implementation tests (inherits
691 * SHA512Test.cs: New. Generic FIPS180-2 tests for SHA-512.
692 * SHA512ManagedTest.cs: New. Implementation tests (inherits
695 2002-10-25 Sebastien Pouliot <spouliot@videotron.ca>
697 * AllTests.cs: Added suite for PasswordDeriveBytes
698 * PasswordDeriveBytesTest.cs: New. Tests against pre-generated vectors -
699 only works for short runs (keys < HashSize) not long runs
701 2002-10-20 Sebastien Pouliot <spouliot@videotron.ca>
703 * AllTests.cs: Added suite for Rjindael
704 * RjindaelTest.cs: New. Test vectors from FIPS PUB 197 appendix.
706 2002-10-19 Sebastien Pouliot <spouliot@videotron.ca>
708 * AllTests.cs: Renabled most tests after commenting all code causing a
709 cyclic dependency (corlib->System.Xml->corlib). Some tests will fail
710 until commented code is replaced.
711 * SymmetricAlgorithm.cs: New (189) generated test cases for all default
712 algorithm implementation, all cipher modes, all padding modes, all key
713 sizes, all block sizes, feedback...
714 * PKCS1MaskGenerationMethodTest.cs: Commented vector test. Added new
715 tests to check for various exceptions
717 2002-10-16 Nick Drochak <ndrochak@gol.com>
719 * CryptoConfigTest.cs (TestCreateFromName): Disable tests for
720 algorithms that aren't in the build yet.
722 2002-10-16 Nick Drochak <ndrochak@gol.com>
724 * AllTests.cs: Disable tests that use components were are excluding
728 2002-10-14 Sebastien Pouliot <spouliot@videotron.ca>
730 * AllTests.cs: Added suite for PKCS1MaskGenerationMethod
731 * PKCS1MaskGenerationMethodTest.cs: New. Test work as per PKCS#1 but
732 result isn't the same as MS implementation !?! is MS using this class ?
734 2002-10-13 Sebastien Pouliot <spouliot@videotron.ca>
736 * AllTests.cs: Added suite for HashAlgorithm, KeyedHashAlgorithm and
738 * HashAlgorithmTest.cs: New. Test for Create and Clear
739 * KeyedHashAlgorithmTest.cs: New. Test for Create and key assignation
740 * HMACSHA1Test.cs: New. Test vectors from FIPS 198 and RFC2202
742 2002-10-12 Sebastien Pouliot <spouliot@videotron.ca>
744 * AllTests.cs: Added suite for RandomNumberGenerator, SHA1 and
745 SHA1CryptoServiceProvider
746 * RandomNumberGeneratorTest.cs: New. Tests for Create and generic
747 random quality tests (FIPS140-2)
748 * SHA1Test.cs: New. Tests for Create and generic SHA1 tests (FIPS180-1)
749 * SHA1CryptoServiceProviderTest.cs: New. Inherited SHA1Tests tests +
752 2002-10-10 Sebastien Pouliot <spouliot@videotron.ca>
754 * DSATest.cs: Added non-abstract DSA class to test To/FromXmlString()
755 * RSATest.cs: Added non-abstract RSA class to test To/FromXmlString()
756 * AllTests.cs: Added DSATest.cs and RSATest.cs in suite
758 2002-10-09 Sebastien Pouliot <spouliot@videotron.ca>
760 * CryptoConfigTest.cs: New tests
761 * AllTests.cs: Added CryptoConfigTest in suite
763 2002-10-05 Andrew Birkett <andy@nobugs.org>
765 * RC2Test.cs: New test. Only three cases are enabled - the other
766 five work fine under mono, but fail under MS corlib, so I've
769 * AllTests.cs: Added RC2Test.
771 2002-09-23 Andrew Birkett <andy@nobugs.org>
773 * RijndaelManagedTest.cs: Fixed initialization order problem
774 to match MS behaviour.
776 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
778 * MD5Test.cs: new test from Eduardo García Cebollero (kiwnix@yahoo.es).
779 * AllTests.cs: added new test.