1 2008-04-21 Sebastien Pouliot <sebastien@ximian.com>
3 * HMACSHA1Test.cs: Add test case where data reside inside a byte
4 array. Patch by Kazuki Oikawa.
6 2008-04-17 Sebastien Pouliot <sebastien@ximian.com>
8 * DSATest.cs: Add valid test cases with invalid xml. Update to
10 * HashAlgorithmTest.cs: Fix compiler warnings.
11 * RSATest.cs: Add valid test cases with invalid xml. Update to
13 * SHA256Test.cs, SHA384Test.cs, SHA512Test.cs: Flush
15 2008-03-04 Sebastien Pouliot <sebastien@ximian.com>
17 * PaddingModeTest.cs: Add test case for #366623 ANSI padding bug.
19 2008-02-21 Sebastien Pouliot <sebastien@ximian.com>
21 * Rfc2898DeriveBytesTest.cs: Add test cases for consecutive calls to
22 GetBytes and compare the result to a single, larger, call. Converted
23 all exitsing tests to NUnit 2.2.
25 2008-01-02 Sebastien Pouliot <sebastien@ximian.com>
27 * RC2CryptoServiceProviderTest.cs: Fix Create[De|En]cryptor_KeyNull
28 test case not to fail about 1 out of 256 times under the 2.0 profile.
29 * TripleDESCryptoServiceProviderTest.cs: Fix Create[De|En]cryptor_KeyNull
30 test case not to fail about 1 out of 256 times under the 2.0 profile.
32 2007-11-20 Sebastien Pouliot <sebastien@ximian.com>
34 * DESCryptoServiceProviderTest.cs: Fix CreateDecryptor_KeyNull test
35 case not to fail about 1 out of 256 times under the 2.0 profile.
37 2007-10-23 Sebastien Pouliot <sebastien@ximian.com>
39 * DESCryptoServiceProviderTest.cs: Fix CreateEncryptor_KeyNull test
40 case not to fail about 1 out of 256 times under the 2.0 profile.
42 2007-05-16 Sebastien Pouliot <sebastien@ximian.com>
44 * CryptoStreamTest.cs: Add test cases for WriteByte.
46 2007-05-08 Randolph Chung <tausq@debian.org>
48 * DSACryptoServiceProviderTest.cs: Remove "NotWorking" annotation
49 for the blob tests that should now pass.
51 2007-05-08 Sebastien Pouliot <sebastien@ximian.com>
53 * DSATest.cs: Add test case where we import a key that has a null Y
54 (public part) but where X (private part) is available - and usable
57 2007-03-22 Sebastien Pouliot <sebastien@ximian.com>
59 * CryptoConfigTest.cs: Fix upper/lower/mixed cases tests as they work
61 * CryptoStreamTest.cs: Fixed some test cases to work properly on MS
63 * DSACryptoServiceProviderTest.cs: Normalize line endings.
64 * PasswordDeriveBytesTest.cs: Fix test case that used Reset (as the
65 method was fixed to reset the state in fx 2.0).
66 * Rfc2898DeriveBytesTest.cs: Add test case to trigger an endian bug.
67 * RSACryptoServiceProviderTest.cs: Normalize line endings.
68 * SymmetricAlgorithmTransformTest.cs: Change/split test cases so that
69 they work properly under both MS 1.1 and 2.0. In some cases tests are
70 marked as NotWorking because Mono implements the, more consistent, 2.0
71 behavior for all transforms.
73 2007-03-15 Roei Erez <roeie@mainsoft.com>
75 * Adding some TARGET_JVM tags.
77 2007-03-05 Sebastien Pouliot <sebastien@ximian.com>
79 * SymmetricAlgorithmTransformTest.cs: Add test cases for #81008 by
80 looking at the encrypted/decrypted block length when TransformBlock is
81 called with different MoO and paddings.
83 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
85 * HashAlgorithmTest.cs: Convert to NUnit 2.2 format.
86 * HMACMD5Test.cs: Convert to NUnit 2.2 format.
87 * HMACRIPEMD160Test.cs: Convert to NUnit 2.2 format.
88 * HMACSHA1Test.cs: Convert to NUnit 2.2 format.
89 * HMACSHA256Test.cs: Convert to NUnit 2.2 format.
90 * HMACSHA384Test.cs: Convert to NUnit 2.2 format. Add test cases from
91 RFC4231 using the correct block size (128) and the "legacy" size (64).
92 * HMACSHA512Test.cs: Convert to NUnit 2.2 format. . Add test cases from
93 RFC4231 using the correct block size (128) and the "legacy" size (64).
94 * KeyedHashAlgorithmTest.cs: Convert to NUnit 2.2 format.
95 * SHA1CryptoServiceProviderTest.cs: Convert to NUnit 2.2 format.
96 * SHA1Test.cs: Convert to NUnit 2.2 format.
97 * SHA256ManagedTest.cs: Convert to NUnit 2.2 format.
98 * SHA256Test.cs: Convert to NUnit 2.2 format.
99 * SHA384ManagedTest.cs: Convert to NUnit 2.2 format.
100 * SHA384Test.cs: Convert to NUnit 2.2 format.
101 * SHA512ManagedTest.cs: Convert to NUnit 2.2 format.
102 * SHA512Test.cs: Convert to NUnit 2.2 format.
104 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
106 * CryptoConfigTest.cs: Adjust line-endings.
107 * CryptoStreamTest.cs: Adjust line-endings.
108 * DESTest.cs: Adjust line-endings.
109 * DSACryptoServiceProviderTest.cs: Adjust line-endings.
110 * DSATest.cs: Adjust line-endings.
111 * RSACryptoServiceProviderTest.cs: Adjust line-endings.
113 2007-01-08 Sebastien Pouliot <sebastien@ximian.com>
115 * DESCryptoServiceProviderTest.cs: Remove test cases for bug #80439
116 as they are more general than DES and the default padding.
117 * SymmetricAlgorithmTransformTest.cs: New. Extensive test cases for
118 bug #80439, all symmtric ciphers (all block size), all mode of
119 operations and all supported padding modes.
121 2007-01-04 Sebastien Pouliot <sebastien@ximian.com>
123 * DESCryptoServiceProviderTest.cs: Update and add new test cases for
126 2007-01-03 Sebastien Pouliot <sebastien@ximian.com>
128 * DESCryptoServiceProviderTest.cs: Add tests for bug #80439 where
129 inputCount is reduced to fit into the output buffer (for any mode).
131 2006-11-24 Sebastien Pouliot <sebastien@ximian.com>
133 * CryptoConfigTest.cs: Added test case for X509Chain.
135 2006-11-16 Sebastien Pouliot <sebastien@ximian.com>
137 * PasswordDeriveBytesTest.cs: Added test case for bug #79499
139 2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
141 * CryptoConfigTest.cs: Added test cases to ensure lower/mixed-case of
142 algorithm names are supported by CreateFromName and MapNameToOID (fix
143 bug #79641). Updated some OID that were changed (well nulled) in the
144 final 2.0 release of MS framework.
146 2006-09-08 Sebastien Pouliot <sebastien@ximian.com>
148 * RSACryptoServiceProviderTest.cs: Added test cases for decoding bad
149 PKCS1 and OAEP padding - both resulting in a CryptographicException.
150 * RSAOAEPKeyExchangeDeformatterTest.cs: Add test case for bad padding.
151 * RSAPKCS1KeyExchangeDeformatterTest.cs: Add test case for bad padding
153 2006-09-05 Sebastien Pouliot <sebastien@ximian.com>
155 * RSACryptoServiceProviderTest.cs: Test case for #79269 where we
156 ensure a CryptographicException (not a NRE) when decrypting without a
159 2006-07-01 Sebastien Pouliot <sebastien@ximian.com>
161 * RSAPKCS1SignatureDeformatterTest.cs: Added test case where
162 SetHashAlgorithm isn't called and the hash algorithm name is derived
163 from the hash instance. From bug #78744 by Diego Mesa Tabares.
165 2006-06-15 Sebastien Pouliot <sebastien@ximian.com>
167 * HashAlgorithmTest.cs: Added new test cases wrt the output buffer
168 used in TransformBlock (e.g. bug #78647). Updated existing test case
169 to work under 2.0 final.
170 * HMACMD5Test.cs: Fix SetUp to allow new inherited test cases to work
172 * HMACRIPEMD160Test.cs: Fix SetUp to allow new inherited test cases to
174 * HMACSHA1Test.cs: Fix SetUp to allow new inherited test cases to
176 * HMACSHA256Test.cs: Fix SetUp to allow new inherited test cases to
178 * HMACSHA384Test.cs: New. Basic test cases that, cheaply, inherits
179 the HashAlgorithm tests.
180 * HMACSHA512Test.cs: New. Basic test cases that, cheaply, inherits
181 the HashAlgorithm tests.
182 * KeyedHashAlgorithmTest.cs: Ensure we're always using the same key
183 (required for new, inherited, test cases). Fix ToString to match
184 KeyedHashAlgorithm (and not an inherited class).
186 2006-06-01 Sebastien Pouliot <sebastien@ximian.com>
188 * RandomNumberGeneratorTest.cs: Don't forget the last run in Runs.
189 Track both 0 and 1 runs. Changed runs ranges to match FIPS140-2 Change
190 Notice #1 (fixes bug #78560). Updated test cases to NUnit 2.2 format.
192 2005-12-15 Sebastien Pouliot <sebastien@ximian.com>
194 * RijndaelTest.cs: Add test cases for cycling key sizes and block
196 * SymmetricAlgorithm2Test.cs: Added test case for re-setting the
197 BlockSize. Keeping the same value *doesn't* change the current IV
198 (while doing the same on the KeySize *does* change the key).
200 2005-11-22 Sebastien Pouliot <sebastien@ximian.com>
202 * DSATest.cs: Added test case where J isn't imported. In this case we
203 don't export (our internally calculated) J and it's also not part of
206 2005-10-21 Sebastien Pouliot <sebastien@ximian.com>
208 * RC2CryptoServiceProviderTest.cs: New. Unit tests specific to this
209 implementation (not algorithm specific but required to match MS
211 * RijndaelManagedTest.cs: Added unit tests specific to this
212 implementation (not algorithm specific but required to match MS
214 * DESCryptoServiceProviderTest.cs: Added unit tests specific to this
215 implementation (not algorithm specific but required to match MS
217 * TripleDESCryptoServiceProviderTest.cs: New. Unit tests specific to
218 this implementation (not algorithm specific but required to match MS
221 2005-09-29 Sebastien Pouliot <sebastien@ximian.com>
223 * HMACSHA1Test.cs: Use the new ctor(byte[],bool) introduced in 2.0 RC
224 in some of the existing tests (under 2.0).
226 2005-04-27 Sebastien Pouliot <sebastien@ximian.com>
228 * DSACryptoServiceProviderTest.cs: Catch UnauthorizedAccessException
229 directly in UseMachineKeyStore (not just wrapped inside a
230 CryptographicException).
231 * RSACryptoServiceProviderTest.cs: Catch UnauthorizedAccessException
232 directly in UseMachineKeyStore (not just wrapped inside a
233 CryptographicException).
235 2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
237 * CryptoConfigTest.cs: Check that ArgumentNullException is throw in
238 EncodeOID for 2.0. Comment test for RSA OID (2.0).
239 * DESTest.cs: Check that null keys throws CryptographicException in
240 IsWeakKey and IsSemiWeakKey for 2.0.
241 * TripleDESTest.cs: Check that null keys throws CryptographicException
242 in IsWeakKey for 2.0.
243 * SymmetricAlgorithm2Test.cs: Check that a FeedbackSize of zero throws
244 a CryptographicException in 2.0.
246 2005-04-18 Sebastien Pouliot <sebastien@ximian.com>
248 * SymmetricAlgorithm2Test.cs: Added a test case where the FeedBackSize
249 is set to 0 before starting encryption.
251 2005-03-30 Sebastien Pouliot <sebastien@ximian.com>
253 * CryptoStreamTest.cs: Added test case when when no padding is used.
255 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
257 * CryptoConfigCas.cs: New. CAS unit tests for CryptoConfig.
258 * CryptoAPITransformCas.cs: New. CAS unit tests for CryptoAPITransform.
260 2005-02-10 Sebastien Pouliot <sebastien@ximian.com>
262 * DSATest.cs: Added unit test for Counter == 0. Actualized test cases
263 for NET_2_0 now that we can inherit from DSA outside corlib.
265 2005-01-30 Sebastien Pouliot <sebastien@ximian.com>
267 * PasswordDeriveBytesTest.cs: Changed [Ignore] to [Category
268 ("NotWorking")] to reduce nunit logs.
270 2005-01-19 Sebastien Pouliot <sebastien@ximian.com>
272 * CryptoStreamTest.cs: Added [ExpectedException] for [Ignored] unit
273 tests that were converted to [Category]
275 2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
277 * CryptoConfigTest.cs: Added new RIPEMD160 hash algorithm and new HMAC
278 algorithms (HMACMD5, HMACRIPEMD160, HMACSHA256, HMACSHA384 and
279 HMACSHA512) to the tests.
280 * DSACryptoServiceProviderTest.cs: Fixed VerifySignatureWithoutKey to
281 ensure that Mono didn't create the key before starting verification.
282 * RSACryptoServiceProviderTest.cs: Added tests for PublicOnly in the
283 constructor tests and for VerifyHash with a null OID.
284 * RSAPKCS1SignatureFormatterTest.cs: Fixed signatures values for
285 SHA256, SHA384 and SHA512 for NET_2_0 profile. The older signatures
286 (working only in Mono) can't be used because 2.0 use new OID for those
287 hash algorithms. Note that this still only works with Mono in 2.0!
289 2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
291 * CryptoStreamTest.cs, DSACryptoServiceProviderTest.cs,
292 HashAlgorithmTest.cs, PKCS1MaskGenerationMethodTest.cs,
293 RSAPKCS1KeyExchangeFormatterTest.cs, ToBase64TransformTest.cs:
294 Use [Category ("NotDotNet")] for tests failing only on the MS runtime
295 (so they are now executed on Mono).
297 2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
299 * TripleDESTest.cs: Testing weak key with null throws a NRE.
301 2005-01-06 Sebastien Pouliot <sebastien@ximian.com>
303 * DESTest.cs: Updated weak key and semi-weak key tests with more
305 * TripleDESTest.cs: Added tests when including a DES weak key into
308 2005-01-04 Sebastien Pouliot <sebastien@ximian.com>
310 * CryptoStreamTest.cs: Undo some previous fixes that have changed from
311 2.0 Nov CTP. Stream chaining was working on Nov CTP but are failing
314 2004-12-23 Sebastien Pouliot <sebastien@ximian.com>
316 * CryptoStreamTest.cs: Fixed tests to execute properly on 2.0 Nov CTP.
317 * DSACryptoServiceProviderTest.cs: Fixed tests to execute properly on
319 * PaddingModeTest.cs: Fixed tests to execute properly on 2.0 Nov CTP.
320 * RSACryptoServiceProviderTest.cs: Fixed tests to execute properly on
323 2004-12-23 Sebastien Pouliot <sebastien@ximian.com>
325 * ProtectedDataTest.cs: Moved in System.Security.dll
326 * ProtectedMemoryTest.cs: Moved in System.Security.dll
328 2004-12-06 Sebastien Pouliot <sebastien@ximian.com>
330 * RSACryptoServiceProviderTest.cs: Adjusted unit tests to show that
331 RSACryptoServiceProvider doesn't support private keys without CRT
332 parameters available - except to import the keys.
334 2004-11-09 Sebastien Pouliot <sebastien@ximian.com>
336 * PasswordDeriveBytesTest.cs: Removed test for 69036. This is a MS
337 bug that will be fixed in 2.0 beta 2.
339 2004-11-03 Sebastien Pouliot <sebastien@ximian.com>
341 * DSACryptoServiceProviderTest.cs: Fixed UseMachineKeyStore not to
342 fail if the key container directory wasn't yet created (root).
343 * PasswordDeriveBytesTest.cs: Added tests for NET_2_0, more tests
344 for all constructors, tests for properties and a test for bug 69036.
345 * RSACryptoServiceProviderTest.cs: Fixed UseMachineKeyStore not to
346 fail if the key container directory wasn't yet created (root).
348 2004-08-31 Nick Drochak <ndrochak@gol.com>
350 * DSACryptoServiceProviderTest.cs:
351 * RSACryptoServiceProviderTest.cs: Feed csc smaller bite sizes.
353 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
355 * DESTest.cs: Added a new test case to check default values.
356 * HMACSHA1.cs: Fixed bad test (and renamed it).
357 * RC2Test.cs: Added a new test case to check default values.
358 * RijndaelTest.cs: Added a new test case to check default values.
359 Convert tests from NUnit 1 to 2.2.
360 * TripleDESTest.cs: Added a new test case to check default values.
361 Convert tests to NUnit 2.2.
363 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
365 * AllTests2.cs: Updated to NUnit 2.2 Assert.
366 * CipherModeTest.cs: New. Tests supported CipherMode for all
367 SymmetricAlgorithm included in the framework (enum contains two more
368 modes that aren't implemented in any Fx version).
369 * CryptoConfigTest.cs: Ajusted new OID (for old names) in Fx 2.0.
370 * CryptoStreamTest.cs: Fixed different reported exception in Fx 2.0.
372 * CspProviderFlagsTest.cs: New. Test the values of the enum.
373 * DSACryptoServiceProviderTest.cs: Added new tests for new public
374 properties and methods added in Fx 2.0. Duplicated test to import a
375 key pair into a disposed instance (works in Fx 2.0). Removed all
376 [Ignore]s in NET_2_0 as the MS class/runtime has been fixed.
377 * DSASignatureDeformatterTest.cs: Converted from NUnit 1 to 2.2. Fixed
378 different reported exception in Fx 2.0.
379 * DSASignatureFormatterTest.cs: Converted from NUnit 1 to 2.2. Fixed
380 different reported exception in Fx 2.0.
381 * HMACRIPEMD160Test.cs: Fixed tests using TransformFinalBlock.
382 * HMACSHA1Test.cs: Fixed tests so they work on both NET_1_1 and
383 NET_2_0 profiles (as HMACSHA1 changed it's base class).
384 * HashAlgorithmTest.cs: Fixed different reported exception in Fx 2.0.
385 Removed [Ignore] in NET_2_0 as the MS class/runtime has been fixed.
386 * MACTripleDESTest.cs: Fixed tests so they work on both NET_1_1 and
388 * PKCS1MaskGenerationMethodTest.cs: Removed [Ignore] in NET_2_0 as the
389 MS class has been fixed.
390 * PaddingModeTest.cs: Added new tests for the two new padding mode
391 introduced in Fx 2.0. Converted to NUnit 2.2.
392 * PasswordDeriveBytesTest.cs: Removed [ExpectedException] for
393 StrangeBehaviour test as it is fixed in Fx 2.0.
394 * RC2Test.cs: Changed exception from CryptographicException to
395 CryptographicUnexpectedOperationException for Fx 1.1/2.0.
396 * RIPEMD160Test.cs: Fixed tests using TransformFinalBlock.
397 * RSACryptoServiceProviderTest.cs: Added new tests for new public
398 properties and methods added in Fx 2.0. Duplicated test to import a
399 key pair into a disposed instance (works in Fx 2.0). Duplicated test
400 to sign with a null OID (Fx 2.0 use SHA1 oid in this case).
401 * RSAOAEPKeyExchangeDeformatterTest.cs: Changed exception for a key
402 exchange with no key (to match Fx 2.0).
403 * RSAOAEPKeyExchangeFormatterTest.cs: Changed exception for a key
404 exchange with no key (to match Fx 2.0).
405 * RSAPKCS1KeyExchangeFormatterTest.cs: Changed exception for a key
406 exchange with no key (to match Fx 2.0). Removed [Ignore] in NET_2_0 as
407 the MS class/runtime has been fixed.
408 * RSAPKCS1SignatureDeformatterTest.cs: Null keys, in constructor or in
409 SetKey method, now throw an ArgumentNullException in Fx 2.0.
410 * RSAPKCS1SignatureFormatterTest.cs: Null keys, in constructor or in
411 SetKey method, now throw an ArgumentNullException in Fx 2.0.
412 * Rfc2898DeriveBytesTest.cs: Typecasted a null as a string.
413 * SymmetricAlgorithm2Test.cs: In Fx 2.0 an empty IV now throws a
414 CryptographicException.
415 * ToBase64TransformTest.cs: Fixed different reported exception in Fx 2.0.
416 Removed [Ignore] in NET_2_0 as the MS class/runtime has been fixed.
418 2004-06-23 Sebastien Pouliot <sebastien@ximian.com>
420 * CryptoStreamTest.cs: Added two tests for bug #60573. One shows that
421 an encryptor doesn't reduce the number of block on Write while the
422 second shows that a decryptor does reduce the number of blocks on
425 2004-06-16 Sebastien Pouliot <sebastien@ximian.com>
427 * SignatureDescriptionTest.cs: Added missing [TestFixture] :( and
428 cases for the previously undocumented .ctor(SecurityElement) - which
429 is now, backwardly, documented in VS.NET 2005.
431 2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
433 * HashAlgorithmTest.cs: Added new tests to check for more exceptions.
435 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
437 * CryptoStreamTest.cs: Added new unit tests for overflows.
438 * FromBase64Transform.cs: Added new unit tests for undocumented
439 exceptions (null, overflows...).
440 * ToBase64TransformTest.cs: Added new unit tests for negatives and
443 2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
445 * CryptoStreamTest.cs, DESCryptoServiceProviderTest.cs,
446 DSACryptoServiceProviderTest.cs, DSATest.cs, FromBase64Transform.cs,
447 HMACRIPEMD160Test.cs, MD5Test.cs, PKCS1MaskGenerationMethodTest.cs,
448 RIPEMD160ManagedTest.cs, RNGCryptoServiceProviderTest.cs,
449 RSACryptoServiceProviderTest.cs, RSAOAEPKeyExchangeDeformatterTest.cs,
450 RSAOAEPKeyExchangeFormatterTest.cs, RSAPKCS1KeyExchangeDeformatterTest.cs,
451 RSAPKCS1KeyExchangeFormatterTest.cs, RSAPKCS1SignatureDeformatterTest.cs,
452 RSAPKCS1SignatureFormatterTest.cs, RSATest.cs: SetUp/TearDown are now
453 public (required for new nunit).
455 2004-05-17 Sebastien Pouliot <sebastien@ximian.com>
457 * RNGCryptoServiceProviderTest.cs: Added new tests to see how the
458 constructor behave with null seeds or if they modify the seed.
460 2004-05-07 Sebastien Pouliot <sebastien@ximian.com>
462 * DSACryptoServiceProviderTest.cs: Added a new unit test for SignData
463 (was badly tested) and simplified test to reduce key pair generations.
464 * PasswordDerivceBytesTest.cs: Added new tests to complete
466 * RSACryptoServiceProviderTest.cs: Added new tests to complete
468 * ToBase64TransformTest.cs: Added a (legal) test where the final
469 transform receive data smaller than it's input block (padding).
471 2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
473 * RC2Test.cs: Converted to NUnit 2. Uncommented some tests that throw
474 exceptions to test exception handling (and get more coverage).
475 * RNGCryptoServiceProviderTest.cs: Updated unit tests for exception
477 * RSAOAEPKeyExchangeDeformatterTest.cs: Updated unit tests to complete
479 * RSAOAEPKeyExchangeFormatterTest.cs: Updated unit tests to complete
481 * RSAPKCS1KeyExchangeDeformatterTest.cs: Updated unit tests to
483 * RSAPKCS1KeyExchangeFormatterTest.cs: Updated unit tests to complete
485 * RSAPKCS1SignatureDeformatterTest.cs: Updated unit tests to complete
487 * RSAPKCS1SignatureFormatterTest.cs: Updated unit tests to complete
489 * RSATest.cs: Updated unit tests for importing XML key pairs.
490 * SHA256Test.cs: Corrected Setup attribtue (was [Test]).
491 * SignatureDescriptionTest.cs: Removed unimplemented constructor from
492 tests. Converted to NUnit2.
493 * SymmetricAlgorithm2Test.cs: New. Non generated unit test for better
494 coverage (like exception testing).
495 * ToBase64TransformTest.cs: New. Unit tests to complete coverage of
497 * TripleDESTest.cs: New. Unit tests to complete coverage of TripleDES.
499 2004-04-29 Sebastien Pouliot <sebastien@ximian.com>
501 * DSACryptoServiceProviderTest.cs: New unit tests fo better coverage.
502 * FromBase64Transform.cs: New unit tests for better coverage.
503 * HashAlgorithmTest.cs: New unit tests for better coverage.
504 * HMACSHA1Test.cs: New unit tests for better coverage. Updated to
506 * KeyedHashAlgorithmTest.cs: Coverage already complete. Updated to
508 * SHA1Test.cs: Coverage already complete. Updated to NUnit2.
509 * SHA1CryptoServiceProviderTest.cs: Coverage almost complete. Updated
511 * SHA256Test.cs: Coverage already complete. Updated to NUnit2.
512 * SHA256ManagedTest.cs: Coverage already complete. Updated to NUnit2.
513 * SHA384Test.cs: Coverage already complete. Updated to NUnit2.
514 * SHA384ManagedTest.cs: Coverage almost complete. Updated to NUnit2.
515 * SHA512Test.cs: Coverage already complete. Updated to NUnit2.
516 * SHA512ManagedTest.cs: Coverage almost complete. Updated to NUnit2.
518 2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
520 * DESCryptoServiceProviderTest.cs: New. Completes coverage for
521 DESCryptoServiceProvider class. Calls the FIPS 81 tests for this
523 * DESTest.cs: Added test vectors from FIPS 81.
525 2004-04-26 Sebastien Pouliot <sebastien@ximian.com>
527 * DESTest.cs: New. Unit tests for DES including checks for weak and
528 semi-weak keys (with and without parity applied on keys). Completes
529 coverage for DES class.
531 2004-04-02 Bernie Solomon <bernard@ugsolutions.com>
533 * PasswordDeriveBytesTest.cs: Add ToInt32LE so
534 it works on big endian machines.
536 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
538 * FromBase64Transform.cs: Two new unit tests showing that the
539 transform doesn't care if it's data is invalid base64. Convert class
542 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
544 * FromBase64Transform.cs: Converted to NUnit2 format. New unit tests
545 for properties, Dispose, Reuse and ignored characters.
547 2004-03-09 Atsushi Enomoto <atsushi@ximian.com>
549 * DSATest.cs : Added ToXmlString test that checks if input without
550 Seed and PgenCounter elements pass or not.
552 2004-02-12 Sebastien Pouliot <spouliot@videotron.ca>
554 * CryptoStreamTest.cs: Added new tests for [From|To]Base64Transform
555 (InputBlockSize != OutputBlockSize) and for cascading CryptoStreams.
557 2004-02-09 Sebastien Pouliot <sebastien@ximian.com>
559 * DSACryptoServiceProvider.cs: Added new unit tests for key pair
561 * RSACryptoServiceProvider.cs: Added new unit tests for key pair
564 2004-02-04 Sebastien Pouliot <spouliot@videotron.ca>
566 * CryptoStreamTest.cs: Added many more tests for every problem found
567 with CryptoStream using code samples from the internet.
569 2003-12-15 Sebastien Pouliot <spouliot@videotron.ca>
571 * CryptoConfigTest.cs: Converted unit tests to NUnit2.
572 * PaddingModeTest.cs: New. Unit tests to check every padding modes for
573 symmetric algorithms.
574 * MACTripleDESTest.cs: Updated unit tests for NUnit2 and to work for
575 both 1.0 and 1.1 framework.
577 2003-11-13 Sebastien Pouliot <spouliot@videotron.ca>
579 * ProtectedDataTest.cs: New. Unit tests for ProtectedData (1.2).
580 * ProtectedMemoryTest.cs: New. Unit tests for ProtectedMemory (1.2).
582 2003-11-11 Sebastien Pouliot <spouliot@videotron.ca>
584 * Rfc2898DeriveBytesTest.cs: More tests for Reset and keys longer than
587 2003-11-10 Sebastien Pouliot <spouliot@videotron.ca>
589 * Rfc2898DeriveBytesTest.cs: New. Unit tests for Rfc2898DeriveBytes
590 and test vectors from RFC3211.
592 2003-11-09 Sebastien Pouliot <spouliot@videotron.ca>
594 * HMACMD5Test.cs: New. Unit test for HMAC-MD5 with test vectors from
596 * HMACRIPEMD160Test.cs: New. Unit test for HMAC-RIPEMD160 with test
597 vectors from http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html.
598 * HMACSHA256Test.cs: New. Unit test for HMAC-SHA256.
600 2003-11-08 Sebastien Pouliot <spouliot@videotron.ca>
602 * RIPEMD160Test.cs: New. Unit test using RIPEMD160 test vectors.
603 * RIPEMD160Managed.cs: New. Unit tests running RIPEMD160Test using the
604 RIPEMD160Managed implementation.
606 2003-10-04 Sebastien Pouliot <spouliot@videotron.ca>
608 * CryptoStreamTest.cs: Added test case from bugzilla #49323 from
609 Carlos Guzmán Álvarez and some small tests for empty stream with
610 different PaddingMode (as found by Lluis Sanchez Gual).
612 2003-08-05 Sebastien Pouliot <spouliot@videotron.ca>
614 * CryptoStreamTest.cs: Added test case from bugzilla #40689 from
617 2003-07-31 Sebastien Pouliot <spouliot@videotron.ca>
619 * CryptoStreamTest.cs: New. Very basic test for CryptoStream + the
620 test case from bugzilla #46143 from Joerg Rosenkranz.
621 * RSACryptoServiceProviderTest.cs: Fixed some exceptions that are
622 different from .NET 1.0 and 1.1.
624 2003-07-05 Sebastien Pouliot <spouliot@videotron.ca>
626 * DSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear
627 and better test coverage (based on Zoltan's logs).
628 * DSATest.cs: Converted to NUnit2 format. Added new tests for better unit
629 test coverage (import incomplete public keys).
630 * RSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear
631 and better test coverage (based on Zoltan's logs).
632 * RSATest.cs: Converted to NUnit2 format. Added new tests for better unit
633 test coverage (import incomplete public keys).
635 2003-06-23 Nick Drochak <ndrochak@gol.com>
637 * MACTripleDESTest.cs: Adjust for .NET 1.1.
639 2003-06-11 Sebastien Pouliot <spouliot@videotron.ca>
641 * AllTests2.cs: Converted tests to NUnit2 format.
642 * RSACryptoServiceProviderTest.cs: Converted tests to NUnit2 format.
643 * RSAPKCS1KeyExchangeDeformatterTest.cs: Converted tests to NUnit2 format.
644 * RSAPKCS1KeyExchangeFormatterTest.cs: Converted tests to NUnit2 format.
645 * RSAPKCS1SignatureDeformatterTest.cs: Converted tests to NUnit2 format.
646 * RSAPKCS1SignatureFormatterTest.cs: Converted tests to NUnit2 format.
648 2003-05-29 Sebastien Pouliot <spouliot@videotron.ca>
650 * PKCS1MaskGenerationMethodTest.cs: Added [Ignore] to vector test
651 (as it's result isn't valid on both framework 1.0 and 1.1).
652 * RSAPKCS1SignatureDeformatter.cs: Splitting the test for NUnit2
653 cloned the previous error into many more tests. Hopefully fixed.
655 2003-05-28 Sebastien Pouliot <spouliot@videotron.ca>
657 * RSAPKCS1SignatureDeformatter.cs: Fixed (well I hope so) a test
658 which doesn't throw the same exception under 1.1. Also converted
659 the tests to NUnit2 format.
661 2003-05-12 Sebastien Pouliot <spouliot@videotron.ca>
663 * PKCS1MaskGenerationMethodTest.cs: Uncommented PKCS#1 v.2.1 vector
664 unit test (will work on Mono but fails with MS implementation).
665 * RSAOAEPKeyExchangeDeformatterTest.cs: Updated tests vectors for
666 both Mono and MS (under Windows XP) generated OAEP results.
667 * RSAOAEPKeyExchangeFormatterTest.cs: Update exception handling.
669 2003-04-17 Nick Drochak <ndrochak@gol.com>
671 * DSATest.cs: Use nunit version 2 style to test throw.
672 * HMACSHA1Test.cs: Eliminate compiler warning.
674 2003-03-04 Sebastien Pouliot <spouliot@videotron.ca>
676 * CryptoConfigTest.cs: Added new tests for algorithms
677 documented in book ".NET Framework Security".
679 2003-02-03 Sebastien Pouliot <spouliot@videotron.ca>
681 * PasswordDeriveBytesTest.cs: Added some new tests to complete
683 * RSAPKCS1SignatureDeformatterTest.cs: Added test for null and
684 invalid hash algorithm.
686 2003-01-19 Sebastien Pouliot <spouliot@videotron.ca>
688 * HMACSHA1Test.cs: Added tests for constructors.
689 * MACTripleDESTest.cs: Added tests for constructors.
691 2003-01-12 Sebastien Pouliot <spouliot@videotron.ca>
693 * HashAlgorithmTest.cs: Added new test for null streams.
694 * MACTripleDESTest.cs: New. Test suite par MAC using 3DES.
696 2002-12-21 Nick Drochak <ndrochak@gol.com>
698 * all: make tests build and run under nunit2
700 2002-12-21 Nick Drochak <ndrochak@gol.com>
702 * AllTests2.cs: Helper file for unit tests
704 2002-11-20 Sebastien Pouliot <spouliot@videotron.ca>
706 * RSAPKCS1SignatureDeformatterTest.cs: Removed patch from Nick -
707 as it doesn't seems to work on my system and the exception behavior
708 isn't logical (only MD5 not SHA1, ...).
710 2002-11-18 Nick Drochak <ndrochak@gol.com>
712 * RSAPKCS1SignatureDeformatterTest.cs: MS .NET throws an exception when
713 verifying a bad signature. Test for that.
715 2002-11-17 Sebastien Pouliot <spouliot@videotron.ca>
717 * AllTests.cs: Added a common RSA keypair for tests and all RSA
718 suites for new tests.
719 * RSACryptoServiceProviderTest.cs: Include tests for keygen,
720 import/export and signature (no encryption yet).
721 * RSAOAEPKeyExchangeDeformatterTest.cs: Compare results with
722 pre-generated vectors from Mono/Windows (cannot yet compare
723 with CryptoAPI/Windows as OAEP isn't available on my system).
724 * RSAOAEPKeyExchangeFormatterTest.cs: Test that the Formatter output
725 is compatible with the Deformatter.
726 * RSAPKCS1KeyExchangeDeformatterTest.cs: Compare results with
727 pre-generated vectors from Mono/Windows and CryptoAPI/Windows.
728 * RSAPKCS1KeyExchangeFormatterTest.cs: Test that the Formatter output
729 is compatible with the Deformatter.
730 * RSAPKCS1SignatureDeformatterTest.cs: Compare results with
731 pre-generated vectors from Mono/Windows and CryptoAPI/Windows.
732 * RSAPKCS1SignatureFormatterTest.cs: Test that the Formatter output
733 is compatible with the Deformatter.
735 2002-11-16 Sebastien Pouliot <spouliot@videotron.ca>
737 * AllTests.cs: Added suites for DSASignatureDeformatter,
738 DSASignatureFormatter.
739 * CryptoConfigTest.cs: Tests new URLs. This test will fail
740 if System.Security.dll isn't present (or not yet compiled).
741 * DSACryptoServiceProviderTest.cs: New. Key generation (limited
742 because it's too slow), Import/Export, Signature and Verification.
743 * DSASignatureDeformatterTest.cs: New. Test signature verification.
744 * DSASignatureFormatterTest.cs: New. Test signature creation.
745 * DSATest.cs: Comment DSA-derived test class as DSA constructor
746 is internal. Reworked the test suite.
747 * SignatureDescriptionTest.cs: Added tests for
748 DSASignatureDescription and RSAPKCS1SHA1SignatureDescription.
750 2002-11-02 Sebastien Pouliot <spouliot@videotron.ca>
752 * AllTests.cs: Added suites for SignatureDescription and
753 activated suites for SHA384Managed and SHA512Managed.
754 * SignatureDescriptionTest.cs: New. Basic tests (because I don't
755 know the context in which the class is used).
757 2002-10-28 Sebastien Pouliot <spouliot@videotron.ca>
759 * AllTests.cs: Added test suites for SHA256, SHA384 and SHA512
760 (last two partly commented until implementation is commited).
761 * SHA256Test.cs: New. Generic FIPS180-2 tests for SHA-256.
762 * SHA256ManagedTest.cs: New. Implementation tests (inherits
764 * SHA384Test.cs: New. Generic FIPS180-2 tests for SHA-384.
765 * SHA384ManagedTest.cs: New. Implementation tests (inherits
767 * SHA512Test.cs: New. Generic FIPS180-2 tests for SHA-512.
768 * SHA512ManagedTest.cs: New. Implementation tests (inherits
771 2002-10-25 Sebastien Pouliot <spouliot@videotron.ca>
773 * AllTests.cs: Added suite for PasswordDeriveBytes
774 * PasswordDeriveBytesTest.cs: New. Tests against pre-generated vectors -
775 only works for short runs (keys < HashSize) not long runs
777 2002-10-20 Sebastien Pouliot <spouliot@videotron.ca>
779 * AllTests.cs: Added suite for Rjindael
780 * RjindaelTest.cs: New. Test vectors from FIPS PUB 197 appendix.
782 2002-10-19 Sebastien Pouliot <spouliot@videotron.ca>
784 * AllTests.cs: Renabled most tests after commenting all code causing a
785 cyclic dependency (corlib->System.Xml->corlib). Some tests will fail
786 until commented code is replaced.
787 * SymmetricAlgorithm.cs: New (189) generated test cases for all default
788 algorithm implementation, all cipher modes, all padding modes, all key
789 sizes, all block sizes, feedback...
790 * PKCS1MaskGenerationMethodTest.cs: Commented vector test. Added new
791 tests to check for various exceptions
793 2002-10-16 Nick Drochak <ndrochak@gol.com>
795 * CryptoConfigTest.cs (TestCreateFromName): Disable tests for
796 algorithms that aren't in the build yet.
798 2002-10-16 Nick Drochak <ndrochak@gol.com>
800 * AllTests.cs: Disable tests that use components were are excluding
804 2002-10-14 Sebastien Pouliot <spouliot@videotron.ca>
806 * AllTests.cs: Added suite for PKCS1MaskGenerationMethod
807 * PKCS1MaskGenerationMethodTest.cs: New. Test work as per PKCS#1 but
808 result isn't the same as MS implementation !?! is MS using this class ?
810 2002-10-13 Sebastien Pouliot <spouliot@videotron.ca>
812 * AllTests.cs: Added suite for HashAlgorithm, KeyedHashAlgorithm and
814 * HashAlgorithmTest.cs: New. Test for Create and Clear
815 * KeyedHashAlgorithmTest.cs: New. Test for Create and key assignation
816 * HMACSHA1Test.cs: New. Test vectors from FIPS 198 and RFC2202
818 2002-10-12 Sebastien Pouliot <spouliot@videotron.ca>
820 * AllTests.cs: Added suite for RandomNumberGenerator, SHA1 and
821 SHA1CryptoServiceProvider
822 * RandomNumberGeneratorTest.cs: New. Tests for Create and generic
823 random quality tests (FIPS140-2)
824 * SHA1Test.cs: New. Tests for Create and generic SHA1 tests (FIPS180-1)
825 * SHA1CryptoServiceProviderTest.cs: New. Inherited SHA1Tests tests +
828 2002-10-10 Sebastien Pouliot <spouliot@videotron.ca>
830 * DSATest.cs: Added non-abstract DSA class to test To/FromXmlString()
831 * RSATest.cs: Added non-abstract RSA class to test To/FromXmlString()
832 * AllTests.cs: Added DSATest.cs and RSATest.cs in suite
834 2002-10-09 Sebastien Pouliot <spouliot@videotron.ca>
836 * CryptoConfigTest.cs: New tests
837 * AllTests.cs: Added CryptoConfigTest in suite
839 2002-10-05 Andrew Birkett <andy@nobugs.org>
841 * RC2Test.cs: New test. Only three cases are enabled - the other
842 five work fine under mono, but fail under MS corlib, so I've
845 * AllTests.cs: Added RC2Test.
847 2002-09-23 Andrew Birkett <andy@nobugs.org>
849 * RijndaelManagedTest.cs: Fixed initialization order problem
850 to match MS behaviour.
852 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
854 * MD5Test.cs: new test from Eduardo García Cebollero (kiwnix@yahoo.es).
855 * AllTests.cs: added new test.