1 2007-10-23 Sebastien Pouliot <sebastien@ximian.com>
3 * DESCryptoServiceProviderTest.cs: Fix CreateEncryptor_KeyNull test
4 case not to fail about 1 out of 256 times under the 2.0 profile.
6 2007-05-16 Sebastien Pouliot <sebastien@ximian.com>
8 * CryptoStreamTest.cs: Add test cases for WriteByte.
10 2007-05-08 Randolph Chung <tausq@debian.org>
12 * DSACryptoServiceProviderTest.cs: Remove "NotWorking" annotation
13 for the blob tests that should now pass.
15 2007-05-08 Sebastien Pouliot <sebastien@ximian.com>
17 * DSATest.cs: Add test case where we import a key that has a null Y
18 (public part) but where X (private part) is available - and usable
21 2007-03-22 Sebastien Pouliot <sebastien@ximian.com>
23 * CryptoConfigTest.cs: Fix upper/lower/mixed cases tests as they work
25 * CryptoStreamTest.cs: Fixed some test cases to work properly on MS
27 * DSACryptoServiceProviderTest.cs: Normalize line endings.
28 * PasswordDeriveBytesTest.cs: Fix test case that used Reset (as the
29 method was fixed to reset the state in fx 2.0).
30 * Rfc2898DeriveBytesTest.cs: Add test case to trigger an endian bug.
31 * RSACryptoServiceProviderTest.cs: Normalize line endings.
32 * SymmetricAlgorithmTransformTest.cs: Change/split test cases so that
33 they work properly under both MS 1.1 and 2.0. In some cases tests are
34 marked as NotWorking because Mono implements the, more consistent, 2.0
35 behavior for all transforms.
37 2007-03-15 Roei Erez <roeie@mainsoft.com>
39 * Adding some TARGET_JVM tags.
41 2007-03-05 Sebastien Pouliot <sebastien@ximian.com>
43 * SymmetricAlgorithmTransformTest.cs: Add test cases for #81008 by
44 looking at the encrypted/decrypted block length when TransformBlock is
45 called with different MoO and paddings.
47 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
49 * HashAlgorithmTest.cs: Convert to NUnit 2.2 format.
50 * HMACMD5Test.cs: Convert to NUnit 2.2 format.
51 * HMACRIPEMD160Test.cs: Convert to NUnit 2.2 format.
52 * HMACSHA1Test.cs: Convert to NUnit 2.2 format.
53 * HMACSHA256Test.cs: Convert to NUnit 2.2 format.
54 * HMACSHA384Test.cs: Convert to NUnit 2.2 format. Add test cases from
55 RFC4231 using the correct block size (128) and the "legacy" size (64).
56 * HMACSHA512Test.cs: Convert to NUnit 2.2 format. . Add test cases from
57 RFC4231 using the correct block size (128) and the "legacy" size (64).
58 * KeyedHashAlgorithmTest.cs: Convert to NUnit 2.2 format.
59 * SHA1CryptoServiceProviderTest.cs: Convert to NUnit 2.2 format.
60 * SHA1Test.cs: Convert to NUnit 2.2 format.
61 * SHA256ManagedTest.cs: Convert to NUnit 2.2 format.
62 * SHA256Test.cs: Convert to NUnit 2.2 format.
63 * SHA384ManagedTest.cs: Convert to NUnit 2.2 format.
64 * SHA384Test.cs: Convert to NUnit 2.2 format.
65 * SHA512ManagedTest.cs: Convert to NUnit 2.2 format.
66 * SHA512Test.cs: Convert to NUnit 2.2 format.
68 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
70 * CryptoConfigTest.cs: Adjust line-endings.
71 * CryptoStreamTest.cs: Adjust line-endings.
72 * DESTest.cs: Adjust line-endings.
73 * DSACryptoServiceProviderTest.cs: Adjust line-endings.
74 * DSATest.cs: Adjust line-endings.
75 * RSACryptoServiceProviderTest.cs: Adjust line-endings.
77 2007-01-08 Sebastien Pouliot <sebastien@ximian.com>
79 * DESCryptoServiceProviderTest.cs: Remove test cases for bug #80439
80 as they are more general than DES and the default padding.
81 * SymmetricAlgorithmTransformTest.cs: New. Extensive test cases for
82 bug #80439, all symmtric ciphers (all block size), all mode of
83 operations and all supported padding modes.
85 2007-01-04 Sebastien Pouliot <sebastien@ximian.com>
87 * DESCryptoServiceProviderTest.cs: Update and add new test cases for
90 2007-01-03 Sebastien Pouliot <sebastien@ximian.com>
92 * DESCryptoServiceProviderTest.cs: Add tests for bug #80439 where
93 inputCount is reduced to fit into the output buffer (for any mode).
95 2006-11-24 Sebastien Pouliot <sebastien@ximian.com>
97 * CryptoConfigTest.cs: Added test case for X509Chain.
99 2006-11-16 Sebastien Pouliot <sebastien@ximian.com>
101 * PasswordDeriveBytesTest.cs: Added test case for bug #79499
103 2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
105 * CryptoConfigTest.cs: Added test cases to ensure lower/mixed-case of
106 algorithm names are supported by CreateFromName and MapNameToOID (fix
107 bug #79641). Updated some OID that were changed (well nulled) in the
108 final 2.0 release of MS framework.
110 2006-09-08 Sebastien Pouliot <sebastien@ximian.com>
112 * RSACryptoServiceProviderTest.cs: Added test cases for decoding bad
113 PKCS1 and OAEP padding - both resulting in a CryptographicException.
114 * RSAOAEPKeyExchangeDeformatterTest.cs: Add test case for bad padding.
115 * RSAPKCS1KeyExchangeDeformatterTest.cs: Add test case for bad padding
117 2006-09-05 Sebastien Pouliot <sebastien@ximian.com>
119 * RSACryptoServiceProviderTest.cs: Test case for #79269 where we
120 ensure a CryptographicException (not a NRE) when decrypting without a
123 2006-07-01 Sebastien Pouliot <sebastien@ximian.com>
125 * RSAPKCS1SignatureDeformatterTest.cs: Added test case where
126 SetHashAlgorithm isn't called and the hash algorithm name is derived
127 from the hash instance. From bug #78744 by Diego Mesa Tabares.
129 2006-06-15 Sebastien Pouliot <sebastien@ximian.com>
131 * HashAlgorithmTest.cs: Added new test cases wrt the output buffer
132 used in TransformBlock (e.g. bug #78647). Updated existing test case
133 to work under 2.0 final.
134 * HMACMD5Test.cs: Fix SetUp to allow new inherited test cases to work
136 * HMACRIPEMD160Test.cs: Fix SetUp to allow new inherited test cases to
138 * HMACSHA1Test.cs: Fix SetUp to allow new inherited test cases to
140 * HMACSHA256Test.cs: Fix SetUp to allow new inherited test cases to
142 * HMACSHA384Test.cs: New. Basic test cases that, cheaply, inherits
143 the HashAlgorithm tests.
144 * HMACSHA512Test.cs: New. Basic test cases that, cheaply, inherits
145 the HashAlgorithm tests.
146 * KeyedHashAlgorithmTest.cs: Ensure we're always using the same key
147 (required for new, inherited, test cases). Fix ToString to match
148 KeyedHashAlgorithm (and not an inherited class).
150 2006-06-01 Sebastien Pouliot <sebastien@ximian.com>
152 * RandomNumberGeneratorTest.cs: Don't forget the last run in Runs.
153 Track both 0 and 1 runs. Changed runs ranges to match FIPS140-2 Change
154 Notice #1 (fixes bug #78560). Updated test cases to NUnit 2.2 format.
156 2005-12-15 Sebastien Pouliot <sebastien@ximian.com>
158 * RijndaelTest.cs: Add test cases for cycling key sizes and block
160 * SymmetricAlgorithm2Test.cs: Added test case for re-setting the
161 BlockSize. Keeping the same value *doesn't* change the current IV
162 (while doing the same on the KeySize *does* change the key).
164 2005-11-22 Sebastien Pouliot <sebastien@ximian.com>
166 * DSATest.cs: Added test case where J isn't imported. In this case we
167 don't export (our internally calculated) J and it's also not part of
170 2005-10-21 Sebastien Pouliot <sebastien@ximian.com>
172 * RC2CryptoServiceProviderTest.cs: New. Unit tests specific to this
173 implementation (not algorithm specific but required to match MS
175 * RijndaelManagedTest.cs: Added unit tests specific to this
176 implementation (not algorithm specific but required to match MS
178 * DESCryptoServiceProviderTest.cs: Added unit tests specific to this
179 implementation (not algorithm specific but required to match MS
181 * TripleDESCryptoServiceProviderTest.cs: New. Unit tests specific to
182 this implementation (not algorithm specific but required to match MS
185 2005-09-29 Sebastien Pouliot <sebastien@ximian.com>
187 * HMACSHA1Test.cs: Use the new ctor(byte[],bool) introduced in 2.0 RC
188 in some of the existing tests (under 2.0).
190 2005-04-27 Sebastien Pouliot <sebastien@ximian.com>
192 * DSACryptoServiceProviderTest.cs: Catch UnauthorizedAccessException
193 directly in UseMachineKeyStore (not just wrapped inside a
194 CryptographicException).
195 * RSACryptoServiceProviderTest.cs: Catch UnauthorizedAccessException
196 directly in UseMachineKeyStore (not just wrapped inside a
197 CryptographicException).
199 2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
201 * CryptoConfigTest.cs: Check that ArgumentNullException is throw in
202 EncodeOID for 2.0. Comment test for RSA OID (2.0).
203 * DESTest.cs: Check that null keys throws CryptographicException in
204 IsWeakKey and IsSemiWeakKey for 2.0.
205 * TripleDESTest.cs: Check that null keys throws CryptographicException
206 in IsWeakKey for 2.0.
207 * SymmetricAlgorithm2Test.cs: Check that a FeedbackSize of zero throws
208 a CryptographicException in 2.0.
210 2005-04-18 Sebastien Pouliot <sebastien@ximian.com>
212 * SymmetricAlgorithm2Test.cs: Added a test case where the FeedBackSize
213 is set to 0 before starting encryption.
215 2005-03-30 Sebastien Pouliot <sebastien@ximian.com>
217 * CryptoStreamTest.cs: Added test case when when no padding is used.
219 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
221 * CryptoConfigCas.cs: New. CAS unit tests for CryptoConfig.
222 * CryptoAPITransformCas.cs: New. CAS unit tests for CryptoAPITransform.
224 2005-02-10 Sebastien Pouliot <sebastien@ximian.com>
226 * DSATest.cs: Added unit test for Counter == 0. Actualized test cases
227 for NET_2_0 now that we can inherit from DSA outside corlib.
229 2005-01-30 Sebastien Pouliot <sebastien@ximian.com>
231 * PasswordDeriveBytesTest.cs: Changed [Ignore] to [Category
232 ("NotWorking")] to reduce nunit logs.
234 2005-01-19 Sebastien Pouliot <sebastien@ximian.com>
236 * CryptoStreamTest.cs: Added [ExpectedException] for [Ignored] unit
237 tests that were converted to [Category]
239 2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
241 * CryptoConfigTest.cs: Added new RIPEMD160 hash algorithm and new HMAC
242 algorithms (HMACMD5, HMACRIPEMD160, HMACSHA256, HMACSHA384 and
243 HMACSHA512) to the tests.
244 * DSACryptoServiceProviderTest.cs: Fixed VerifySignatureWithoutKey to
245 ensure that Mono didn't create the key before starting verification.
246 * RSACryptoServiceProviderTest.cs: Added tests for PublicOnly in the
247 constructor tests and for VerifyHash with a null OID.
248 * RSAPKCS1SignatureFormatterTest.cs: Fixed signatures values for
249 SHA256, SHA384 and SHA512 for NET_2_0 profile. The older signatures
250 (working only in Mono) can't be used because 2.0 use new OID for those
251 hash algorithms. Note that this still only works with Mono in 2.0!
253 2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
255 * CryptoStreamTest.cs, DSACryptoServiceProviderTest.cs,
256 HashAlgorithmTest.cs, PKCS1MaskGenerationMethodTest.cs,
257 RSAPKCS1KeyExchangeFormatterTest.cs, ToBase64TransformTest.cs:
258 Use [Category ("NotDotNet")] for tests failing only on the MS runtime
259 (so they are now executed on Mono).
261 2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
263 * TripleDESTest.cs: Testing weak key with null throws a NRE.
265 2005-01-06 Sebastien Pouliot <sebastien@ximian.com>
267 * DESTest.cs: Updated weak key and semi-weak key tests with more
269 * TripleDESTest.cs: Added tests when including a DES weak key into
272 2005-01-04 Sebastien Pouliot <sebastien@ximian.com>
274 * CryptoStreamTest.cs: Undo some previous fixes that have changed from
275 2.0 Nov CTP. Stream chaining was working on Nov CTP but are failing
278 2004-12-23 Sebastien Pouliot <sebastien@ximian.com>
280 * CryptoStreamTest.cs: Fixed tests to execute properly on 2.0 Nov CTP.
281 * DSACryptoServiceProviderTest.cs: Fixed tests to execute properly on
283 * PaddingModeTest.cs: Fixed tests to execute properly on 2.0 Nov CTP.
284 * RSACryptoServiceProviderTest.cs: Fixed tests to execute properly on
287 2004-12-23 Sebastien Pouliot <sebastien@ximian.com>
289 * ProtectedDataTest.cs: Moved in System.Security.dll
290 * ProtectedMemoryTest.cs: Moved in System.Security.dll
292 2004-12-06 Sebastien Pouliot <sebastien@ximian.com>
294 * RSACryptoServiceProviderTest.cs: Adjusted unit tests to show that
295 RSACryptoServiceProvider doesn't support private keys without CRT
296 parameters available - except to import the keys.
298 2004-11-09 Sebastien Pouliot <sebastien@ximian.com>
300 * PasswordDeriveBytesTest.cs: Removed test for 69036. This is a MS
301 bug that will be fixed in 2.0 beta 2.
303 2004-11-03 Sebastien Pouliot <sebastien@ximian.com>
305 * DSACryptoServiceProviderTest.cs: Fixed UseMachineKeyStore not to
306 fail if the key container directory wasn't yet created (root).
307 * PasswordDeriveBytesTest.cs: Added tests for NET_2_0, more tests
308 for all constructors, tests for properties and a test for bug 69036.
309 * RSACryptoServiceProviderTest.cs: Fixed UseMachineKeyStore not to
310 fail if the key container directory wasn't yet created (root).
312 2004-08-31 Nick Drochak <ndrochak@gol.com>
314 * DSACryptoServiceProviderTest.cs:
315 * RSACryptoServiceProviderTest.cs: Feed csc smaller bite sizes.
317 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
319 * DESTest.cs: Added a new test case to check default values.
320 * HMACSHA1.cs: Fixed bad test (and renamed it).
321 * RC2Test.cs: Added a new test case to check default values.
322 * RijndaelTest.cs: Added a new test case to check default values.
323 Convert tests from NUnit 1 to 2.2.
324 * TripleDESTest.cs: Added a new test case to check default values.
325 Convert tests to NUnit 2.2.
327 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
329 * AllTests2.cs: Updated to NUnit 2.2 Assert.
330 * CipherModeTest.cs: New. Tests supported CipherMode for all
331 SymmetricAlgorithm included in the framework (enum contains two more
332 modes that aren't implemented in any Fx version).
333 * CryptoConfigTest.cs: Ajusted new OID (for old names) in Fx 2.0.
334 * CryptoStreamTest.cs: Fixed different reported exception in Fx 2.0.
336 * CspProviderFlagsTest.cs: New. Test the values of the enum.
337 * DSACryptoServiceProviderTest.cs: Added new tests for new public
338 properties and methods added in Fx 2.0. Duplicated test to import a
339 key pair into a disposed instance (works in Fx 2.0). Removed all
340 [Ignore]s in NET_2_0 as the MS class/runtime has been fixed.
341 * DSASignatureDeformatterTest.cs: Converted from NUnit 1 to 2.2. Fixed
342 different reported exception in Fx 2.0.
343 * DSASignatureFormatterTest.cs: Converted from NUnit 1 to 2.2. Fixed
344 different reported exception in Fx 2.0.
345 * HMACRIPEMD160Test.cs: Fixed tests using TransformFinalBlock.
346 * HMACSHA1Test.cs: Fixed tests so they work on both NET_1_1 and
347 NET_2_0 profiles (as HMACSHA1 changed it's base class).
348 * HashAlgorithmTest.cs: Fixed different reported exception in Fx 2.0.
349 Removed [Ignore] in NET_2_0 as the MS class/runtime has been fixed.
350 * MACTripleDESTest.cs: Fixed tests so they work on both NET_1_1 and
352 * PKCS1MaskGenerationMethodTest.cs: Removed [Ignore] in NET_2_0 as the
353 MS class has been fixed.
354 * PaddingModeTest.cs: Added new tests for the two new padding mode
355 introduced in Fx 2.0. Converted to NUnit 2.2.
356 * PasswordDeriveBytesTest.cs: Removed [ExpectedException] for
357 StrangeBehaviour test as it is fixed in Fx 2.0.
358 * RC2Test.cs: Changed exception from CryptographicException to
359 CryptographicUnexpectedOperationException for Fx 1.1/2.0.
360 * RIPEMD160Test.cs: Fixed tests using TransformFinalBlock.
361 * RSACryptoServiceProviderTest.cs: Added new tests for new public
362 properties and methods added in Fx 2.0. Duplicated test to import a
363 key pair into a disposed instance (works in Fx 2.0). Duplicated test
364 to sign with a null OID (Fx 2.0 use SHA1 oid in this case).
365 * RSAOAEPKeyExchangeDeformatterTest.cs: Changed exception for a key
366 exchange with no key (to match Fx 2.0).
367 * RSAOAEPKeyExchangeFormatterTest.cs: Changed exception for a key
368 exchange with no key (to match Fx 2.0).
369 * RSAPKCS1KeyExchangeFormatterTest.cs: Changed exception for a key
370 exchange with no key (to match Fx 2.0). Removed [Ignore] in NET_2_0 as
371 the MS class/runtime has been fixed.
372 * RSAPKCS1SignatureDeformatterTest.cs: Null keys, in constructor or in
373 SetKey method, now throw an ArgumentNullException in Fx 2.0.
374 * RSAPKCS1SignatureFormatterTest.cs: Null keys, in constructor or in
375 SetKey method, now throw an ArgumentNullException in Fx 2.0.
376 * Rfc2898DeriveBytesTest.cs: Typecasted a null as a string.
377 * SymmetricAlgorithm2Test.cs: In Fx 2.0 an empty IV now throws a
378 CryptographicException.
379 * ToBase64TransformTest.cs: Fixed different reported exception in Fx 2.0.
380 Removed [Ignore] in NET_2_0 as the MS class/runtime has been fixed.
382 2004-06-23 Sebastien Pouliot <sebastien@ximian.com>
384 * CryptoStreamTest.cs: Added two tests for bug #60573. One shows that
385 an encryptor doesn't reduce the number of block on Write while the
386 second shows that a decryptor does reduce the number of blocks on
389 2004-06-16 Sebastien Pouliot <sebastien@ximian.com>
391 * SignatureDescriptionTest.cs: Added missing [TestFixture] :( and
392 cases for the previously undocumented .ctor(SecurityElement) - which
393 is now, backwardly, documented in VS.NET 2005.
395 2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
397 * HashAlgorithmTest.cs: Added new tests to check for more exceptions.
399 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
401 * CryptoStreamTest.cs: Added new unit tests for overflows.
402 * FromBase64Transform.cs: Added new unit tests for undocumented
403 exceptions (null, overflows...).
404 * ToBase64TransformTest.cs: Added new unit tests for negatives and
407 2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
409 * CryptoStreamTest.cs, DESCryptoServiceProviderTest.cs,
410 DSACryptoServiceProviderTest.cs, DSATest.cs, FromBase64Transform.cs,
411 HMACRIPEMD160Test.cs, MD5Test.cs, PKCS1MaskGenerationMethodTest.cs,
412 RIPEMD160ManagedTest.cs, RNGCryptoServiceProviderTest.cs,
413 RSACryptoServiceProviderTest.cs, RSAOAEPKeyExchangeDeformatterTest.cs,
414 RSAOAEPKeyExchangeFormatterTest.cs, RSAPKCS1KeyExchangeDeformatterTest.cs,
415 RSAPKCS1KeyExchangeFormatterTest.cs, RSAPKCS1SignatureDeformatterTest.cs,
416 RSAPKCS1SignatureFormatterTest.cs, RSATest.cs: SetUp/TearDown are now
417 public (required for new nunit).
419 2004-05-17 Sebastien Pouliot <sebastien@ximian.com>
421 * RNGCryptoServiceProviderTest.cs: Added new tests to see how the
422 constructor behave with null seeds or if they modify the seed.
424 2004-05-07 Sebastien Pouliot <sebastien@ximian.com>
426 * DSACryptoServiceProviderTest.cs: Added a new unit test for SignData
427 (was badly tested) and simplified test to reduce key pair generations.
428 * PasswordDerivceBytesTest.cs: Added new tests to complete
430 * RSACryptoServiceProviderTest.cs: Added new tests to complete
432 * ToBase64TransformTest.cs: Added a (legal) test where the final
433 transform receive data smaller than it's input block (padding).
435 2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
437 * RC2Test.cs: Converted to NUnit 2. Uncommented some tests that throw
438 exceptions to test exception handling (and get more coverage).
439 * RNGCryptoServiceProviderTest.cs: Updated unit tests for exception
441 * RSAOAEPKeyExchangeDeformatterTest.cs: Updated unit tests to complete
443 * RSAOAEPKeyExchangeFormatterTest.cs: Updated unit tests to complete
445 * RSAPKCS1KeyExchangeDeformatterTest.cs: Updated unit tests to
447 * RSAPKCS1KeyExchangeFormatterTest.cs: Updated unit tests to complete
449 * RSAPKCS1SignatureDeformatterTest.cs: Updated unit tests to complete
451 * RSAPKCS1SignatureFormatterTest.cs: Updated unit tests to complete
453 * RSATest.cs: Updated unit tests for importing XML key pairs.
454 * SHA256Test.cs: Corrected Setup attribtue (was [Test]).
455 * SignatureDescriptionTest.cs: Removed unimplemented constructor from
456 tests. Converted to NUnit2.
457 * SymmetricAlgorithm2Test.cs: New. Non generated unit test for better
458 coverage (like exception testing).
459 * ToBase64TransformTest.cs: New. Unit tests to complete coverage of
461 * TripleDESTest.cs: New. Unit tests to complete coverage of TripleDES.
463 2004-04-29 Sebastien Pouliot <sebastien@ximian.com>
465 * DSACryptoServiceProviderTest.cs: New unit tests fo better coverage.
466 * FromBase64Transform.cs: New unit tests for better coverage.
467 * HashAlgorithmTest.cs: New unit tests for better coverage.
468 * HMACSHA1Test.cs: New unit tests for better coverage. Updated to
470 * KeyedHashAlgorithmTest.cs: Coverage already complete. Updated to
472 * SHA1Test.cs: Coverage already complete. Updated to NUnit2.
473 * SHA1CryptoServiceProviderTest.cs: Coverage almost complete. Updated
475 * SHA256Test.cs: Coverage already complete. Updated to NUnit2.
476 * SHA256ManagedTest.cs: Coverage already complete. Updated to NUnit2.
477 * SHA384Test.cs: Coverage already complete. Updated to NUnit2.
478 * SHA384ManagedTest.cs: Coverage almost complete. Updated to NUnit2.
479 * SHA512Test.cs: Coverage already complete. Updated to NUnit2.
480 * SHA512ManagedTest.cs: Coverage almost complete. Updated to NUnit2.
482 2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
484 * DESCryptoServiceProviderTest.cs: New. Completes coverage for
485 DESCryptoServiceProvider class. Calls the FIPS 81 tests for this
487 * DESTest.cs: Added test vectors from FIPS 81.
489 2004-04-26 Sebastien Pouliot <sebastien@ximian.com>
491 * DESTest.cs: New. Unit tests for DES including checks for weak and
492 semi-weak keys (with and without parity applied on keys). Completes
493 coverage for DES class.
495 2004-04-02 Bernie Solomon <bernard@ugsolutions.com>
497 * PasswordDeriveBytesTest.cs: Add ToInt32LE so
498 it works on big endian machines.
500 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
502 * FromBase64Transform.cs: Two new unit tests showing that the
503 transform doesn't care if it's data is invalid base64. Convert class
506 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
508 * FromBase64Transform.cs: Converted to NUnit2 format. New unit tests
509 for properties, Dispose, Reuse and ignored characters.
511 2004-03-09 Atsushi Enomoto <atsushi@ximian.com>
513 * DSATest.cs : Added ToXmlString test that checks if input without
514 Seed and PgenCounter elements pass or not.
516 2004-02-12 Sebastien Pouliot <spouliot@videotron.ca>
518 * CryptoStreamTest.cs: Added new tests for [From|To]Base64Transform
519 (InputBlockSize != OutputBlockSize) and for cascading CryptoStreams.
521 2004-02-09 Sebastien Pouliot <sebastien@ximian.com>
523 * DSACryptoServiceProvider.cs: Added new unit tests for key pair
525 * RSACryptoServiceProvider.cs: Added new unit tests for key pair
528 2004-02-04 Sebastien Pouliot <spouliot@videotron.ca>
530 * CryptoStreamTest.cs: Added many more tests for every problem found
531 with CryptoStream using code samples from the internet.
533 2003-12-15 Sebastien Pouliot <spouliot@videotron.ca>
535 * CryptoConfigTest.cs: Converted unit tests to NUnit2.
536 * PaddingModeTest.cs: New. Unit tests to check every padding modes for
537 symmetric algorithms.
538 * MACTripleDESTest.cs: Updated unit tests for NUnit2 and to work for
539 both 1.0 and 1.1 framework.
541 2003-11-13 Sebastien Pouliot <spouliot@videotron.ca>
543 * ProtectedDataTest.cs: New. Unit tests for ProtectedData (1.2).
544 * ProtectedMemoryTest.cs: New. Unit tests for ProtectedMemory (1.2).
546 2003-11-11 Sebastien Pouliot <spouliot@videotron.ca>
548 * Rfc2898DeriveBytesTest.cs: More tests for Reset and keys longer than
551 2003-11-10 Sebastien Pouliot <spouliot@videotron.ca>
553 * Rfc2898DeriveBytesTest.cs: New. Unit tests for Rfc2898DeriveBytes
554 and test vectors from RFC3211.
556 2003-11-09 Sebastien Pouliot <spouliot@videotron.ca>
558 * HMACMD5Test.cs: New. Unit test for HMAC-MD5 with test vectors from
560 * HMACRIPEMD160Test.cs: New. Unit test for HMAC-RIPEMD160 with test
561 vectors from http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html.
562 * HMACSHA256Test.cs: New. Unit test for HMAC-SHA256.
564 2003-11-08 Sebastien Pouliot <spouliot@videotron.ca>
566 * RIPEMD160Test.cs: New. Unit test using RIPEMD160 test vectors.
567 * RIPEMD160Managed.cs: New. Unit tests running RIPEMD160Test using the
568 RIPEMD160Managed implementation.
570 2003-10-04 Sebastien Pouliot <spouliot@videotron.ca>
572 * CryptoStreamTest.cs: Added test case from bugzilla #49323 from
573 Carlos Guzmán Álvarez and some small tests for empty stream with
574 different PaddingMode (as found by Lluis Sanchez Gual).
576 2003-08-05 Sebastien Pouliot <spouliot@videotron.ca>
578 * CryptoStreamTest.cs: Added test case from bugzilla #40689 from
581 2003-07-31 Sebastien Pouliot <spouliot@videotron.ca>
583 * CryptoStreamTest.cs: New. Very basic test for CryptoStream + the
584 test case from bugzilla #46143 from Joerg Rosenkranz.
585 * RSACryptoServiceProviderTest.cs: Fixed some exceptions that are
586 different from .NET 1.0 and 1.1.
588 2003-07-05 Sebastien Pouliot <spouliot@videotron.ca>
590 * DSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear
591 and better test coverage (based on Zoltan's logs).
592 * DSATest.cs: Converted to NUnit2 format. Added new tests for better unit
593 test coverage (import incomplete public keys).
594 * RSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear
595 and better test coverage (based on Zoltan's logs).
596 * RSATest.cs: Converted to NUnit2 format. Added new tests for better unit
597 test coverage (import incomplete public keys).
599 2003-06-23 Nick Drochak <ndrochak@gol.com>
601 * MACTripleDESTest.cs: Adjust for .NET 1.1.
603 2003-06-11 Sebastien Pouliot <spouliot@videotron.ca>
605 * AllTests2.cs: Converted tests to NUnit2 format.
606 * RSACryptoServiceProviderTest.cs: Converted tests to NUnit2 format.
607 * RSAPKCS1KeyExchangeDeformatterTest.cs: Converted tests to NUnit2 format.
608 * RSAPKCS1KeyExchangeFormatterTest.cs: Converted tests to NUnit2 format.
609 * RSAPKCS1SignatureDeformatterTest.cs: Converted tests to NUnit2 format.
610 * RSAPKCS1SignatureFormatterTest.cs: Converted tests to NUnit2 format.
612 2003-05-29 Sebastien Pouliot <spouliot@videotron.ca>
614 * PKCS1MaskGenerationMethodTest.cs: Added [Ignore] to vector test
615 (as it's result isn't valid on both framework 1.0 and 1.1).
616 * RSAPKCS1SignatureDeformatter.cs: Splitting the test for NUnit2
617 cloned the previous error into many more tests. Hopefully fixed.
619 2003-05-28 Sebastien Pouliot <spouliot@videotron.ca>
621 * RSAPKCS1SignatureDeformatter.cs: Fixed (well I hope so) a test
622 which doesn't throw the same exception under 1.1. Also converted
623 the tests to NUnit2 format.
625 2003-05-12 Sebastien Pouliot <spouliot@videotron.ca>
627 * PKCS1MaskGenerationMethodTest.cs: Uncommented PKCS#1 v.2.1 vector
628 unit test (will work on Mono but fails with MS implementation).
629 * RSAOAEPKeyExchangeDeformatterTest.cs: Updated tests vectors for
630 both Mono and MS (under Windows XP) generated OAEP results.
631 * RSAOAEPKeyExchangeFormatterTest.cs: Update exception handling.
633 2003-04-17 Nick Drochak <ndrochak@gol.com>
635 * DSATest.cs: Use nunit version 2 style to test throw.
636 * HMACSHA1Test.cs: Eliminate compiler warning.
638 2003-03-04 Sebastien Pouliot <spouliot@videotron.ca>
640 * CryptoConfigTest.cs: Added new tests for algorithms
641 documented in book ".NET Framework Security".
643 2003-02-03 Sebastien Pouliot <spouliot@videotron.ca>
645 * PasswordDeriveBytesTest.cs: Added some new tests to complete
647 * RSAPKCS1SignatureDeformatterTest.cs: Added test for null and
648 invalid hash algorithm.
650 2003-01-19 Sebastien Pouliot <spouliot@videotron.ca>
652 * HMACSHA1Test.cs: Added tests for constructors.
653 * MACTripleDESTest.cs: Added tests for constructors.
655 2003-01-12 Sebastien Pouliot <spouliot@videotron.ca>
657 * HashAlgorithmTest.cs: Added new test for null streams.
658 * MACTripleDESTest.cs: New. Test suite par MAC using 3DES.
660 2002-12-21 Nick Drochak <ndrochak@gol.com>
662 * all: make tests build and run under nunit2
664 2002-12-21 Nick Drochak <ndrochak@gol.com>
666 * AllTests2.cs: Helper file for unit tests
668 2002-11-20 Sebastien Pouliot <spouliot@videotron.ca>
670 * RSAPKCS1SignatureDeformatterTest.cs: Removed patch from Nick -
671 as it doesn't seems to work on my system and the exception behavior
672 isn't logical (only MD5 not SHA1, ...).
674 2002-11-18 Nick Drochak <ndrochak@gol.com>
676 * RSAPKCS1SignatureDeformatterTest.cs: MS .NET throws an exception when
677 verifying a bad signature. Test for that.
679 2002-11-17 Sebastien Pouliot <spouliot@videotron.ca>
681 * AllTests.cs: Added a common RSA keypair for tests and all RSA
682 suites for new tests.
683 * RSACryptoServiceProviderTest.cs: Include tests for keygen,
684 import/export and signature (no encryption yet).
685 * RSAOAEPKeyExchangeDeformatterTest.cs: Compare results with
686 pre-generated vectors from Mono/Windows (cannot yet compare
687 with CryptoAPI/Windows as OAEP isn't available on my system).
688 * RSAOAEPKeyExchangeFormatterTest.cs: Test that the Formatter output
689 is compatible with the Deformatter.
690 * RSAPKCS1KeyExchangeDeformatterTest.cs: Compare results with
691 pre-generated vectors from Mono/Windows and CryptoAPI/Windows.
692 * RSAPKCS1KeyExchangeFormatterTest.cs: Test that the Formatter output
693 is compatible with the Deformatter.
694 * RSAPKCS1SignatureDeformatterTest.cs: Compare results with
695 pre-generated vectors from Mono/Windows and CryptoAPI/Windows.
696 * RSAPKCS1SignatureFormatterTest.cs: Test that the Formatter output
697 is compatible with the Deformatter.
699 2002-11-16 Sebastien Pouliot <spouliot@videotron.ca>
701 * AllTests.cs: Added suites for DSASignatureDeformatter,
702 DSASignatureFormatter.
703 * CryptoConfigTest.cs: Tests new URLs. This test will fail
704 if System.Security.dll isn't present (or not yet compiled).
705 * DSACryptoServiceProviderTest.cs: New. Key generation (limited
706 because it's too slow), Import/Export, Signature and Verification.
707 * DSASignatureDeformatterTest.cs: New. Test signature verification.
708 * DSASignatureFormatterTest.cs: New. Test signature creation.
709 * DSATest.cs: Comment DSA-derived test class as DSA constructor
710 is internal. Reworked the test suite.
711 * SignatureDescriptionTest.cs: Added tests for
712 DSASignatureDescription and RSAPKCS1SHA1SignatureDescription.
714 2002-11-02 Sebastien Pouliot <spouliot@videotron.ca>
716 * AllTests.cs: Added suites for SignatureDescription and
717 activated suites for SHA384Managed and SHA512Managed.
718 * SignatureDescriptionTest.cs: New. Basic tests (because I don't
719 know the context in which the class is used).
721 2002-10-28 Sebastien Pouliot <spouliot@videotron.ca>
723 * AllTests.cs: Added test suites for SHA256, SHA384 and SHA512
724 (last two partly commented until implementation is commited).
725 * SHA256Test.cs: New. Generic FIPS180-2 tests for SHA-256.
726 * SHA256ManagedTest.cs: New. Implementation tests (inherits
728 * SHA384Test.cs: New. Generic FIPS180-2 tests for SHA-384.
729 * SHA384ManagedTest.cs: New. Implementation tests (inherits
731 * SHA512Test.cs: New. Generic FIPS180-2 tests for SHA-512.
732 * SHA512ManagedTest.cs: New. Implementation tests (inherits
735 2002-10-25 Sebastien Pouliot <spouliot@videotron.ca>
737 * AllTests.cs: Added suite for PasswordDeriveBytes
738 * PasswordDeriveBytesTest.cs: New. Tests against pre-generated vectors -
739 only works for short runs (keys < HashSize) not long runs
741 2002-10-20 Sebastien Pouliot <spouliot@videotron.ca>
743 * AllTests.cs: Added suite for Rjindael
744 * RjindaelTest.cs: New. Test vectors from FIPS PUB 197 appendix.
746 2002-10-19 Sebastien Pouliot <spouliot@videotron.ca>
748 * AllTests.cs: Renabled most tests after commenting all code causing a
749 cyclic dependency (corlib->System.Xml->corlib). Some tests will fail
750 until commented code is replaced.
751 * SymmetricAlgorithm.cs: New (189) generated test cases for all default
752 algorithm implementation, all cipher modes, all padding modes, all key
753 sizes, all block sizes, feedback...
754 * PKCS1MaskGenerationMethodTest.cs: Commented vector test. Added new
755 tests to check for various exceptions
757 2002-10-16 Nick Drochak <ndrochak@gol.com>
759 * CryptoConfigTest.cs (TestCreateFromName): Disable tests for
760 algorithms that aren't in the build yet.
762 2002-10-16 Nick Drochak <ndrochak@gol.com>
764 * AllTests.cs: Disable tests that use components were are excluding
768 2002-10-14 Sebastien Pouliot <spouliot@videotron.ca>
770 * AllTests.cs: Added suite for PKCS1MaskGenerationMethod
771 * PKCS1MaskGenerationMethodTest.cs: New. Test work as per PKCS#1 but
772 result isn't the same as MS implementation !?! is MS using this class ?
774 2002-10-13 Sebastien Pouliot <spouliot@videotron.ca>
776 * AllTests.cs: Added suite for HashAlgorithm, KeyedHashAlgorithm and
778 * HashAlgorithmTest.cs: New. Test for Create and Clear
779 * KeyedHashAlgorithmTest.cs: New. Test for Create and key assignation
780 * HMACSHA1Test.cs: New. Test vectors from FIPS 198 and RFC2202
782 2002-10-12 Sebastien Pouliot <spouliot@videotron.ca>
784 * AllTests.cs: Added suite for RandomNumberGenerator, SHA1 and
785 SHA1CryptoServiceProvider
786 * RandomNumberGeneratorTest.cs: New. Tests for Create and generic
787 random quality tests (FIPS140-2)
788 * SHA1Test.cs: New. Tests for Create and generic SHA1 tests (FIPS180-1)
789 * SHA1CryptoServiceProviderTest.cs: New. Inherited SHA1Tests tests +
792 2002-10-10 Sebastien Pouliot <spouliot@videotron.ca>
794 * DSATest.cs: Added non-abstract DSA class to test To/FromXmlString()
795 * RSATest.cs: Added non-abstract RSA class to test To/FromXmlString()
796 * AllTests.cs: Added DSATest.cs and RSATest.cs in suite
798 2002-10-09 Sebastien Pouliot <spouliot@videotron.ca>
800 * CryptoConfigTest.cs: New tests
801 * AllTests.cs: Added CryptoConfigTest in suite
803 2002-10-05 Andrew Birkett <andy@nobugs.org>
805 * RC2Test.cs: New test. Only three cases are enabled - the other
806 five work fine under mono, but fail under MS corlib, so I've
809 * AllTests.cs: Added RC2Test.
811 2002-09-23 Andrew Birkett <andy@nobugs.org>
813 * RijndaelManagedTest.cs: Fixed initialization order problem
814 to match MS behaviour.
816 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
818 * MD5Test.cs: new test from Eduardo García Cebollero (kiwnix@yahoo.es).
819 * AllTests.cs: added new test.