1 2007-05-16 Sebastien Pouliot <sebastien@ximian.com>
3 * CryptoStreamTest.cs: Add test cases for WriteByte.
5 2007-05-08 Randolph Chung <tausq@debian.org>
7 * DSACryptoServiceProviderTest.cs: Remove "NotWorking" annotation
8 for the blob tests that should now pass.
10 2007-05-08 Sebastien Pouliot <sebastien@ximian.com>
12 * DSATest.cs: Add test case where we import a key that has a null Y
13 (public part) but where X (private part) is available - and usable
16 2007-03-22 Sebastien Pouliot <sebastien@ximian.com>
18 * CryptoConfigTest.cs: Fix upper/lower/mixed cases tests as they work
20 * CryptoStreamTest.cs: Fixed some test cases to work properly on MS
22 * DSACryptoServiceProviderTest.cs: Normalize line endings.
23 * PasswordDeriveBytesTest.cs: Fix test case that used Reset (as the
24 method was fixed to reset the state in fx 2.0).
25 * Rfc2898DeriveBytesTest.cs: Add test case to trigger an endian bug.
26 * RSACryptoServiceProviderTest.cs: Normalize line endings.
27 * SymmetricAlgorithmTransformTest.cs: Change/split test cases so that
28 they work properly under both MS 1.1 and 2.0. In some cases tests are
29 marked as NotWorking because Mono implements the, more consistent, 2.0
30 behavior for all transforms.
32 2007-03-15 Roei Erez <roeie@mainsoft.com>
34 * Adding some TARGET_JVM tags.
36 2007-03-05 Sebastien Pouliot <sebastien@ximian.com>
38 * SymmetricAlgorithmTransformTest.cs: Add test cases for #81008 by
39 looking at the encrypted/decrypted block length when TransformBlock is
40 called with different MoO and paddings.
42 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
44 * HashAlgorithmTest.cs: Convert to NUnit 2.2 format.
45 * HMACMD5Test.cs: Convert to NUnit 2.2 format.
46 * HMACRIPEMD160Test.cs: Convert to NUnit 2.2 format.
47 * HMACSHA1Test.cs: Convert to NUnit 2.2 format.
48 * HMACSHA256Test.cs: Convert to NUnit 2.2 format.
49 * HMACSHA384Test.cs: Convert to NUnit 2.2 format. Add test cases from
50 RFC4231 using the correct block size (128) and the "legacy" size (64).
51 * HMACSHA512Test.cs: Convert to NUnit 2.2 format. . Add test cases from
52 RFC4231 using the correct block size (128) and the "legacy" size (64).
53 * KeyedHashAlgorithmTest.cs: Convert to NUnit 2.2 format.
54 * SHA1CryptoServiceProviderTest.cs: Convert to NUnit 2.2 format.
55 * SHA1Test.cs: Convert to NUnit 2.2 format.
56 * SHA256ManagedTest.cs: Convert to NUnit 2.2 format.
57 * SHA256Test.cs: Convert to NUnit 2.2 format.
58 * SHA384ManagedTest.cs: Convert to NUnit 2.2 format.
59 * SHA384Test.cs: Convert to NUnit 2.2 format.
60 * SHA512ManagedTest.cs: Convert to NUnit 2.2 format.
61 * SHA512Test.cs: Convert to NUnit 2.2 format.
63 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
65 * CryptoConfigTest.cs: Adjust line-endings.
66 * CryptoStreamTest.cs: Adjust line-endings.
67 * DESTest.cs: Adjust line-endings.
68 * DSACryptoServiceProviderTest.cs: Adjust line-endings.
69 * DSATest.cs: Adjust line-endings.
70 * RSACryptoServiceProviderTest.cs: Adjust line-endings.
72 2007-01-08 Sebastien Pouliot <sebastien@ximian.com>
74 * DESCryptoServiceProviderTest.cs: Remove test cases for bug #80439
75 as they are more general than DES and the default padding.
76 * SymmetricAlgorithmTransformTest.cs: New. Extensive test cases for
77 bug #80439, all symmtric ciphers (all block size), all mode of
78 operations and all supported padding modes.
80 2007-01-04 Sebastien Pouliot <sebastien@ximian.com>
82 * DESCryptoServiceProviderTest.cs: Update and add new test cases for
85 2007-01-03 Sebastien Pouliot <sebastien@ximian.com>
87 * DESCryptoServiceProviderTest.cs: Add tests for bug #80439 where
88 inputCount is reduced to fit into the output buffer (for any mode).
90 2006-11-24 Sebastien Pouliot <sebastien@ximian.com>
92 * CryptoConfigTest.cs: Added test case for X509Chain.
94 2006-11-16 Sebastien Pouliot <sebastien@ximian.com>
96 * PasswordDeriveBytesTest.cs: Added test case for bug #79499
98 2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
100 * CryptoConfigTest.cs: Added test cases to ensure lower/mixed-case of
101 algorithm names are supported by CreateFromName and MapNameToOID (fix
102 bug #79641). Updated some OID that were changed (well nulled) in the
103 final 2.0 release of MS framework.
105 2006-09-08 Sebastien Pouliot <sebastien@ximian.com>
107 * RSACryptoServiceProviderTest.cs: Added test cases for decoding bad
108 PKCS1 and OAEP padding - both resulting in a CryptographicException.
109 * RSAOAEPKeyExchangeDeformatterTest.cs: Add test case for bad padding.
110 * RSAPKCS1KeyExchangeDeformatterTest.cs: Add test case for bad padding
112 2006-09-05 Sebastien Pouliot <sebastien@ximian.com>
114 * RSACryptoServiceProviderTest.cs: Test case for #79269 where we
115 ensure a CryptographicException (not a NRE) when decrypting without a
118 2006-07-01 Sebastien Pouliot <sebastien@ximian.com>
120 * RSAPKCS1SignatureDeformatterTest.cs: Added test case where
121 SetHashAlgorithm isn't called and the hash algorithm name is derived
122 from the hash instance. From bug #78744 by Diego Mesa Tabares.
124 2006-06-15 Sebastien Pouliot <sebastien@ximian.com>
126 * HashAlgorithmTest.cs: Added new test cases wrt the output buffer
127 used in TransformBlock (e.g. bug #78647). Updated existing test case
128 to work under 2.0 final.
129 * HMACMD5Test.cs: Fix SetUp to allow new inherited test cases to work
131 * HMACRIPEMD160Test.cs: Fix SetUp to allow new inherited test cases to
133 * HMACSHA1Test.cs: Fix SetUp to allow new inherited test cases to
135 * HMACSHA256Test.cs: Fix SetUp to allow new inherited test cases to
137 * HMACSHA384Test.cs: New. Basic test cases that, cheaply, inherits
138 the HashAlgorithm tests.
139 * HMACSHA512Test.cs: New. Basic test cases that, cheaply, inherits
140 the HashAlgorithm tests.
141 * KeyedHashAlgorithmTest.cs: Ensure we're always using the same key
142 (required for new, inherited, test cases). Fix ToString to match
143 KeyedHashAlgorithm (and not an inherited class).
145 2006-06-01 Sebastien Pouliot <sebastien@ximian.com>
147 * RandomNumberGeneratorTest.cs: Don't forget the last run in Runs.
148 Track both 0 and 1 runs. Changed runs ranges to match FIPS140-2 Change
149 Notice #1 (fixes bug #78560). Updated test cases to NUnit 2.2 format.
151 2005-12-15 Sebastien Pouliot <sebastien@ximian.com>
153 * RijndaelTest.cs: Add test cases for cycling key sizes and block
155 * SymmetricAlgorithm2Test.cs: Added test case for re-setting the
156 BlockSize. Keeping the same value *doesn't* change the current IV
157 (while doing the same on the KeySize *does* change the key).
159 2005-11-22 Sebastien Pouliot <sebastien@ximian.com>
161 * DSATest.cs: Added test case where J isn't imported. In this case we
162 don't export (our internally calculated) J and it's also not part of
165 2005-10-21 Sebastien Pouliot <sebastien@ximian.com>
167 * RC2CryptoServiceProviderTest.cs: New. Unit tests specific to this
168 implementation (not algorithm specific but required to match MS
170 * RijndaelManagedTest.cs: Added unit tests specific to this
171 implementation (not algorithm specific but required to match MS
173 * DESCryptoServiceProviderTest.cs: Added unit tests specific to this
174 implementation (not algorithm specific but required to match MS
176 * TripleDESCryptoServiceProviderTest.cs: New. Unit tests specific to
177 this implementation (not algorithm specific but required to match MS
180 2005-09-29 Sebastien Pouliot <sebastien@ximian.com>
182 * HMACSHA1Test.cs: Use the new ctor(byte[],bool) introduced in 2.0 RC
183 in some of the existing tests (under 2.0).
185 2005-04-27 Sebastien Pouliot <sebastien@ximian.com>
187 * DSACryptoServiceProviderTest.cs: Catch UnauthorizedAccessException
188 directly in UseMachineKeyStore (not just wrapped inside a
189 CryptographicException).
190 * RSACryptoServiceProviderTest.cs: Catch UnauthorizedAccessException
191 directly in UseMachineKeyStore (not just wrapped inside a
192 CryptographicException).
194 2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
196 * CryptoConfigTest.cs: Check that ArgumentNullException is throw in
197 EncodeOID for 2.0. Comment test for RSA OID (2.0).
198 * DESTest.cs: Check that null keys throws CryptographicException in
199 IsWeakKey and IsSemiWeakKey for 2.0.
200 * TripleDESTest.cs: Check that null keys throws CryptographicException
201 in IsWeakKey for 2.0.
202 * SymmetricAlgorithm2Test.cs: Check that a FeedbackSize of zero throws
203 a CryptographicException in 2.0.
205 2005-04-18 Sebastien Pouliot <sebastien@ximian.com>
207 * SymmetricAlgorithm2Test.cs: Added a test case where the FeedBackSize
208 is set to 0 before starting encryption.
210 2005-03-30 Sebastien Pouliot <sebastien@ximian.com>
212 * CryptoStreamTest.cs: Added test case when when no padding is used.
214 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
216 * CryptoConfigCas.cs: New. CAS unit tests for CryptoConfig.
217 * CryptoAPITransformCas.cs: New. CAS unit tests for CryptoAPITransform.
219 2005-02-10 Sebastien Pouliot <sebastien@ximian.com>
221 * DSATest.cs: Added unit test for Counter == 0. Actualized test cases
222 for NET_2_0 now that we can inherit from DSA outside corlib.
224 2005-01-30 Sebastien Pouliot <sebastien@ximian.com>
226 * PasswordDeriveBytesTest.cs: Changed [Ignore] to [Category
227 ("NotWorking")] to reduce nunit logs.
229 2005-01-19 Sebastien Pouliot <sebastien@ximian.com>
231 * CryptoStreamTest.cs: Added [ExpectedException] for [Ignored] unit
232 tests that were converted to [Category]
234 2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
236 * CryptoConfigTest.cs: Added new RIPEMD160 hash algorithm and new HMAC
237 algorithms (HMACMD5, HMACRIPEMD160, HMACSHA256, HMACSHA384 and
238 HMACSHA512) to the tests.
239 * DSACryptoServiceProviderTest.cs: Fixed VerifySignatureWithoutKey to
240 ensure that Mono didn't create the key before starting verification.
241 * RSACryptoServiceProviderTest.cs: Added tests for PublicOnly in the
242 constructor tests and for VerifyHash with a null OID.
243 * RSAPKCS1SignatureFormatterTest.cs: Fixed signatures values for
244 SHA256, SHA384 and SHA512 for NET_2_0 profile. The older signatures
245 (working only in Mono) can't be used because 2.0 use new OID for those
246 hash algorithms. Note that this still only works with Mono in 2.0!
248 2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
250 * CryptoStreamTest.cs, DSACryptoServiceProviderTest.cs,
251 HashAlgorithmTest.cs, PKCS1MaskGenerationMethodTest.cs,
252 RSAPKCS1KeyExchangeFormatterTest.cs, ToBase64TransformTest.cs:
253 Use [Category ("NotDotNet")] for tests failing only on the MS runtime
254 (so they are now executed on Mono).
256 2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
258 * TripleDESTest.cs: Testing weak key with null throws a NRE.
260 2005-01-06 Sebastien Pouliot <sebastien@ximian.com>
262 * DESTest.cs: Updated weak key and semi-weak key tests with more
264 * TripleDESTest.cs: Added tests when including a DES weak key into
267 2005-01-04 Sebastien Pouliot <sebastien@ximian.com>
269 * CryptoStreamTest.cs: Undo some previous fixes that have changed from
270 2.0 Nov CTP. Stream chaining was working on Nov CTP but are failing
273 2004-12-23 Sebastien Pouliot <sebastien@ximian.com>
275 * CryptoStreamTest.cs: Fixed tests to execute properly on 2.0 Nov CTP.
276 * DSACryptoServiceProviderTest.cs: Fixed tests to execute properly on
278 * PaddingModeTest.cs: Fixed tests to execute properly on 2.0 Nov CTP.
279 * RSACryptoServiceProviderTest.cs: Fixed tests to execute properly on
282 2004-12-23 Sebastien Pouliot <sebastien@ximian.com>
284 * ProtectedDataTest.cs: Moved in System.Security.dll
285 * ProtectedMemoryTest.cs: Moved in System.Security.dll
287 2004-12-06 Sebastien Pouliot <sebastien@ximian.com>
289 * RSACryptoServiceProviderTest.cs: Adjusted unit tests to show that
290 RSACryptoServiceProvider doesn't support private keys without CRT
291 parameters available - except to import the keys.
293 2004-11-09 Sebastien Pouliot <sebastien@ximian.com>
295 * PasswordDeriveBytesTest.cs: Removed test for 69036. This is a MS
296 bug that will be fixed in 2.0 beta 2.
298 2004-11-03 Sebastien Pouliot <sebastien@ximian.com>
300 * DSACryptoServiceProviderTest.cs: Fixed UseMachineKeyStore not to
301 fail if the key container directory wasn't yet created (root).
302 * PasswordDeriveBytesTest.cs: Added tests for NET_2_0, more tests
303 for all constructors, tests for properties and a test for bug 69036.
304 * RSACryptoServiceProviderTest.cs: Fixed UseMachineKeyStore not to
305 fail if the key container directory wasn't yet created (root).
307 2004-08-31 Nick Drochak <ndrochak@gol.com>
309 * DSACryptoServiceProviderTest.cs:
310 * RSACryptoServiceProviderTest.cs: Feed csc smaller bite sizes.
312 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
314 * DESTest.cs: Added a new test case to check default values.
315 * HMACSHA1.cs: Fixed bad test (and renamed it).
316 * RC2Test.cs: Added a new test case to check default values.
317 * RijndaelTest.cs: Added a new test case to check default values.
318 Convert tests from NUnit 1 to 2.2.
319 * TripleDESTest.cs: Added a new test case to check default values.
320 Convert tests to NUnit 2.2.
322 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
324 * AllTests2.cs: Updated to NUnit 2.2 Assert.
325 * CipherModeTest.cs: New. Tests supported CipherMode for all
326 SymmetricAlgorithm included in the framework (enum contains two more
327 modes that aren't implemented in any Fx version).
328 * CryptoConfigTest.cs: Ajusted new OID (for old names) in Fx 2.0.
329 * CryptoStreamTest.cs: Fixed different reported exception in Fx 2.0.
331 * CspProviderFlagsTest.cs: New. Test the values of the enum.
332 * DSACryptoServiceProviderTest.cs: Added new tests for new public
333 properties and methods added in Fx 2.0. Duplicated test to import a
334 key pair into a disposed instance (works in Fx 2.0). Removed all
335 [Ignore]s in NET_2_0 as the MS class/runtime has been fixed.
336 * DSASignatureDeformatterTest.cs: Converted from NUnit 1 to 2.2. Fixed
337 different reported exception in Fx 2.0.
338 * DSASignatureFormatterTest.cs: Converted from NUnit 1 to 2.2. Fixed
339 different reported exception in Fx 2.0.
340 * HMACRIPEMD160Test.cs: Fixed tests using TransformFinalBlock.
341 * HMACSHA1Test.cs: Fixed tests so they work on both NET_1_1 and
342 NET_2_0 profiles (as HMACSHA1 changed it's base class).
343 * HashAlgorithmTest.cs: Fixed different reported exception in Fx 2.0.
344 Removed [Ignore] in NET_2_0 as the MS class/runtime has been fixed.
345 * MACTripleDESTest.cs: Fixed tests so they work on both NET_1_1 and
347 * PKCS1MaskGenerationMethodTest.cs: Removed [Ignore] in NET_2_0 as the
348 MS class has been fixed.
349 * PaddingModeTest.cs: Added new tests for the two new padding mode
350 introduced in Fx 2.0. Converted to NUnit 2.2.
351 * PasswordDeriveBytesTest.cs: Removed [ExpectedException] for
352 StrangeBehaviour test as it is fixed in Fx 2.0.
353 * RC2Test.cs: Changed exception from CryptographicException to
354 CryptographicUnexpectedOperationException for Fx 1.1/2.0.
355 * RIPEMD160Test.cs: Fixed tests using TransformFinalBlock.
356 * RSACryptoServiceProviderTest.cs: Added new tests for new public
357 properties and methods added in Fx 2.0. Duplicated test to import a
358 key pair into a disposed instance (works in Fx 2.0). Duplicated test
359 to sign with a null OID (Fx 2.0 use SHA1 oid in this case).
360 * RSAOAEPKeyExchangeDeformatterTest.cs: Changed exception for a key
361 exchange with no key (to match Fx 2.0).
362 * RSAOAEPKeyExchangeFormatterTest.cs: Changed exception for a key
363 exchange with no key (to match Fx 2.0).
364 * RSAPKCS1KeyExchangeFormatterTest.cs: Changed exception for a key
365 exchange with no key (to match Fx 2.0). Removed [Ignore] in NET_2_0 as
366 the MS class/runtime has been fixed.
367 * RSAPKCS1SignatureDeformatterTest.cs: Null keys, in constructor or in
368 SetKey method, now throw an ArgumentNullException in Fx 2.0.
369 * RSAPKCS1SignatureFormatterTest.cs: Null keys, in constructor or in
370 SetKey method, now throw an ArgumentNullException in Fx 2.0.
371 * Rfc2898DeriveBytesTest.cs: Typecasted a null as a string.
372 * SymmetricAlgorithm2Test.cs: In Fx 2.0 an empty IV now throws a
373 CryptographicException.
374 * ToBase64TransformTest.cs: Fixed different reported exception in Fx 2.0.
375 Removed [Ignore] in NET_2_0 as the MS class/runtime has been fixed.
377 2004-06-23 Sebastien Pouliot <sebastien@ximian.com>
379 * CryptoStreamTest.cs: Added two tests for bug #60573. One shows that
380 an encryptor doesn't reduce the number of block on Write while the
381 second shows that a decryptor does reduce the number of blocks on
384 2004-06-16 Sebastien Pouliot <sebastien@ximian.com>
386 * SignatureDescriptionTest.cs: Added missing [TestFixture] :( and
387 cases for the previously undocumented .ctor(SecurityElement) - which
388 is now, backwardly, documented in VS.NET 2005.
390 2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
392 * HashAlgorithmTest.cs: Added new tests to check for more exceptions.
394 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
396 * CryptoStreamTest.cs: Added new unit tests for overflows.
397 * FromBase64Transform.cs: Added new unit tests for undocumented
398 exceptions (null, overflows...).
399 * ToBase64TransformTest.cs: Added new unit tests for negatives and
402 2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
404 * CryptoStreamTest.cs, DESCryptoServiceProviderTest.cs,
405 DSACryptoServiceProviderTest.cs, DSATest.cs, FromBase64Transform.cs,
406 HMACRIPEMD160Test.cs, MD5Test.cs, PKCS1MaskGenerationMethodTest.cs,
407 RIPEMD160ManagedTest.cs, RNGCryptoServiceProviderTest.cs,
408 RSACryptoServiceProviderTest.cs, RSAOAEPKeyExchangeDeformatterTest.cs,
409 RSAOAEPKeyExchangeFormatterTest.cs, RSAPKCS1KeyExchangeDeformatterTest.cs,
410 RSAPKCS1KeyExchangeFormatterTest.cs, RSAPKCS1SignatureDeformatterTest.cs,
411 RSAPKCS1SignatureFormatterTest.cs, RSATest.cs: SetUp/TearDown are now
412 public (required for new nunit).
414 2004-05-17 Sebastien Pouliot <sebastien@ximian.com>
416 * RNGCryptoServiceProviderTest.cs: Added new tests to see how the
417 constructor behave with null seeds or if they modify the seed.
419 2004-05-07 Sebastien Pouliot <sebastien@ximian.com>
421 * DSACryptoServiceProviderTest.cs: Added a new unit test for SignData
422 (was badly tested) and simplified test to reduce key pair generations.
423 * PasswordDerivceBytesTest.cs: Added new tests to complete
425 * RSACryptoServiceProviderTest.cs: Added new tests to complete
427 * ToBase64TransformTest.cs: Added a (legal) test where the final
428 transform receive data smaller than it's input block (padding).
430 2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
432 * RC2Test.cs: Converted to NUnit 2. Uncommented some tests that throw
433 exceptions to test exception handling (and get more coverage).
434 * RNGCryptoServiceProviderTest.cs: Updated unit tests for exception
436 * RSAOAEPKeyExchangeDeformatterTest.cs: Updated unit tests to complete
438 * RSAOAEPKeyExchangeFormatterTest.cs: Updated unit tests to complete
440 * RSAPKCS1KeyExchangeDeformatterTest.cs: Updated unit tests to
442 * RSAPKCS1KeyExchangeFormatterTest.cs: Updated unit tests to complete
444 * RSAPKCS1SignatureDeformatterTest.cs: Updated unit tests to complete
446 * RSAPKCS1SignatureFormatterTest.cs: Updated unit tests to complete
448 * RSATest.cs: Updated unit tests for importing XML key pairs.
449 * SHA256Test.cs: Corrected Setup attribtue (was [Test]).
450 * SignatureDescriptionTest.cs: Removed unimplemented constructor from
451 tests. Converted to NUnit2.
452 * SymmetricAlgorithm2Test.cs: New. Non generated unit test for better
453 coverage (like exception testing).
454 * ToBase64TransformTest.cs: New. Unit tests to complete coverage of
456 * TripleDESTest.cs: New. Unit tests to complete coverage of TripleDES.
458 2004-04-29 Sebastien Pouliot <sebastien@ximian.com>
460 * DSACryptoServiceProviderTest.cs: New unit tests fo better coverage.
461 * FromBase64Transform.cs: New unit tests for better coverage.
462 * HashAlgorithmTest.cs: New unit tests for better coverage.
463 * HMACSHA1Test.cs: New unit tests for better coverage. Updated to
465 * KeyedHashAlgorithmTest.cs: Coverage already complete. Updated to
467 * SHA1Test.cs: Coverage already complete. Updated to NUnit2.
468 * SHA1CryptoServiceProviderTest.cs: Coverage almost complete. Updated
470 * SHA256Test.cs: Coverage already complete. Updated to NUnit2.
471 * SHA256ManagedTest.cs: Coverage already complete. Updated to NUnit2.
472 * SHA384Test.cs: Coverage already complete. Updated to NUnit2.
473 * SHA384ManagedTest.cs: Coverage almost complete. Updated to NUnit2.
474 * SHA512Test.cs: Coverage already complete. Updated to NUnit2.
475 * SHA512ManagedTest.cs: Coverage almost complete. Updated to NUnit2.
477 2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
479 * DESCryptoServiceProviderTest.cs: New. Completes coverage for
480 DESCryptoServiceProvider class. Calls the FIPS 81 tests for this
482 * DESTest.cs: Added test vectors from FIPS 81.
484 2004-04-26 Sebastien Pouliot <sebastien@ximian.com>
486 * DESTest.cs: New. Unit tests for DES including checks for weak and
487 semi-weak keys (with and without parity applied on keys). Completes
488 coverage for DES class.
490 2004-04-02 Bernie Solomon <bernard@ugsolutions.com>
492 * PasswordDeriveBytesTest.cs: Add ToInt32LE so
493 it works on big endian machines.
495 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
497 * FromBase64Transform.cs: Two new unit tests showing that the
498 transform doesn't care if it's data is invalid base64. Convert class
501 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
503 * FromBase64Transform.cs: Converted to NUnit2 format. New unit tests
504 for properties, Dispose, Reuse and ignored characters.
506 2004-03-09 Atsushi Enomoto <atsushi@ximian.com>
508 * DSATest.cs : Added ToXmlString test that checks if input without
509 Seed and PgenCounter elements pass or not.
511 2004-02-12 Sebastien Pouliot <spouliot@videotron.ca>
513 * CryptoStreamTest.cs: Added new tests for [From|To]Base64Transform
514 (InputBlockSize != OutputBlockSize) and for cascading CryptoStreams.
516 2004-02-09 Sebastien Pouliot <sebastien@ximian.com>
518 * DSACryptoServiceProvider.cs: Added new unit tests for key pair
520 * RSACryptoServiceProvider.cs: Added new unit tests for key pair
523 2004-02-04 Sebastien Pouliot <spouliot@videotron.ca>
525 * CryptoStreamTest.cs: Added many more tests for every problem found
526 with CryptoStream using code samples from the internet.
528 2003-12-15 Sebastien Pouliot <spouliot@videotron.ca>
530 * CryptoConfigTest.cs: Converted unit tests to NUnit2.
531 * PaddingModeTest.cs: New. Unit tests to check every padding modes for
532 symmetric algorithms.
533 * MACTripleDESTest.cs: Updated unit tests for NUnit2 and to work for
534 both 1.0 and 1.1 framework.
536 2003-11-13 Sebastien Pouliot <spouliot@videotron.ca>
538 * ProtectedDataTest.cs: New. Unit tests for ProtectedData (1.2).
539 * ProtectedMemoryTest.cs: New. Unit tests for ProtectedMemory (1.2).
541 2003-11-11 Sebastien Pouliot <spouliot@videotron.ca>
543 * Rfc2898DeriveBytesTest.cs: More tests for Reset and keys longer than
546 2003-11-10 Sebastien Pouliot <spouliot@videotron.ca>
548 * Rfc2898DeriveBytesTest.cs: New. Unit tests for Rfc2898DeriveBytes
549 and test vectors from RFC3211.
551 2003-11-09 Sebastien Pouliot <spouliot@videotron.ca>
553 * HMACMD5Test.cs: New. Unit test for HMAC-MD5 with test vectors from
555 * HMACRIPEMD160Test.cs: New. Unit test for HMAC-RIPEMD160 with test
556 vectors from http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html.
557 * HMACSHA256Test.cs: New. Unit test for HMAC-SHA256.
559 2003-11-08 Sebastien Pouliot <spouliot@videotron.ca>
561 * RIPEMD160Test.cs: New. Unit test using RIPEMD160 test vectors.
562 * RIPEMD160Managed.cs: New. Unit tests running RIPEMD160Test using the
563 RIPEMD160Managed implementation.
565 2003-10-04 Sebastien Pouliot <spouliot@videotron.ca>
567 * CryptoStreamTest.cs: Added test case from bugzilla #49323 from
568 Carlos Guzmán Álvarez and some small tests for empty stream with
569 different PaddingMode (as found by Lluis Sanchez Gual).
571 2003-08-05 Sebastien Pouliot <spouliot@videotron.ca>
573 * CryptoStreamTest.cs: Added test case from bugzilla #40689 from
576 2003-07-31 Sebastien Pouliot <spouliot@videotron.ca>
578 * CryptoStreamTest.cs: New. Very basic test for CryptoStream + the
579 test case from bugzilla #46143 from Joerg Rosenkranz.
580 * RSACryptoServiceProviderTest.cs: Fixed some exceptions that are
581 different from .NET 1.0 and 1.1.
583 2003-07-05 Sebastien Pouliot <spouliot@videotron.ca>
585 * DSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear
586 and better test coverage (based on Zoltan's logs).
587 * DSATest.cs: Converted to NUnit2 format. Added new tests for better unit
588 test coverage (import incomplete public keys).
589 * RSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear
590 and better test coverage (based on Zoltan's logs).
591 * RSATest.cs: Converted to NUnit2 format. Added new tests for better unit
592 test coverage (import incomplete public keys).
594 2003-06-23 Nick Drochak <ndrochak@gol.com>
596 * MACTripleDESTest.cs: Adjust for .NET 1.1.
598 2003-06-11 Sebastien Pouliot <spouliot@videotron.ca>
600 * AllTests2.cs: Converted tests to NUnit2 format.
601 * RSACryptoServiceProviderTest.cs: Converted tests to NUnit2 format.
602 * RSAPKCS1KeyExchangeDeformatterTest.cs: Converted tests to NUnit2 format.
603 * RSAPKCS1KeyExchangeFormatterTest.cs: Converted tests to NUnit2 format.
604 * RSAPKCS1SignatureDeformatterTest.cs: Converted tests to NUnit2 format.
605 * RSAPKCS1SignatureFormatterTest.cs: Converted tests to NUnit2 format.
607 2003-05-29 Sebastien Pouliot <spouliot@videotron.ca>
609 * PKCS1MaskGenerationMethodTest.cs: Added [Ignore] to vector test
610 (as it's result isn't valid on both framework 1.0 and 1.1).
611 * RSAPKCS1SignatureDeformatter.cs: Splitting the test for NUnit2
612 cloned the previous error into many more tests. Hopefully fixed.
614 2003-05-28 Sebastien Pouliot <spouliot@videotron.ca>
616 * RSAPKCS1SignatureDeformatter.cs: Fixed (well I hope so) a test
617 which doesn't throw the same exception under 1.1. Also converted
618 the tests to NUnit2 format.
620 2003-05-12 Sebastien Pouliot <spouliot@videotron.ca>
622 * PKCS1MaskGenerationMethodTest.cs: Uncommented PKCS#1 v.2.1 vector
623 unit test (will work on Mono but fails with MS implementation).
624 * RSAOAEPKeyExchangeDeformatterTest.cs: Updated tests vectors for
625 both Mono and MS (under Windows XP) generated OAEP results.
626 * RSAOAEPKeyExchangeFormatterTest.cs: Update exception handling.
628 2003-04-17 Nick Drochak <ndrochak@gol.com>
630 * DSATest.cs: Use nunit version 2 style to test throw.
631 * HMACSHA1Test.cs: Eliminate compiler warning.
633 2003-03-04 Sebastien Pouliot <spouliot@videotron.ca>
635 * CryptoConfigTest.cs: Added new tests for algorithms
636 documented in book ".NET Framework Security".
638 2003-02-03 Sebastien Pouliot <spouliot@videotron.ca>
640 * PasswordDeriveBytesTest.cs: Added some new tests to complete
642 * RSAPKCS1SignatureDeformatterTest.cs: Added test for null and
643 invalid hash algorithm.
645 2003-01-19 Sebastien Pouliot <spouliot@videotron.ca>
647 * HMACSHA1Test.cs: Added tests for constructors.
648 * MACTripleDESTest.cs: Added tests for constructors.
650 2003-01-12 Sebastien Pouliot <spouliot@videotron.ca>
652 * HashAlgorithmTest.cs: Added new test for null streams.
653 * MACTripleDESTest.cs: New. Test suite par MAC using 3DES.
655 2002-12-21 Nick Drochak <ndrochak@gol.com>
657 * all: make tests build and run under nunit2
659 2002-12-21 Nick Drochak <ndrochak@gol.com>
661 * AllTests2.cs: Helper file for unit tests
663 2002-11-20 Sebastien Pouliot <spouliot@videotron.ca>
665 * RSAPKCS1SignatureDeformatterTest.cs: Removed patch from Nick -
666 as it doesn't seems to work on my system and the exception behavior
667 isn't logical (only MD5 not SHA1, ...).
669 2002-11-18 Nick Drochak <ndrochak@gol.com>
671 * RSAPKCS1SignatureDeformatterTest.cs: MS .NET throws an exception when
672 verifying a bad signature. Test for that.
674 2002-11-17 Sebastien Pouliot <spouliot@videotron.ca>
676 * AllTests.cs: Added a common RSA keypair for tests and all RSA
677 suites for new tests.
678 * RSACryptoServiceProviderTest.cs: Include tests for keygen,
679 import/export and signature (no encryption yet).
680 * RSAOAEPKeyExchangeDeformatterTest.cs: Compare results with
681 pre-generated vectors from Mono/Windows (cannot yet compare
682 with CryptoAPI/Windows as OAEP isn't available on my system).
683 * RSAOAEPKeyExchangeFormatterTest.cs: Test that the Formatter output
684 is compatible with the Deformatter.
685 * RSAPKCS1KeyExchangeDeformatterTest.cs: Compare results with
686 pre-generated vectors from Mono/Windows and CryptoAPI/Windows.
687 * RSAPKCS1KeyExchangeFormatterTest.cs: Test that the Formatter output
688 is compatible with the Deformatter.
689 * RSAPKCS1SignatureDeformatterTest.cs: Compare results with
690 pre-generated vectors from Mono/Windows and CryptoAPI/Windows.
691 * RSAPKCS1SignatureFormatterTest.cs: Test that the Formatter output
692 is compatible with the Deformatter.
694 2002-11-16 Sebastien Pouliot <spouliot@videotron.ca>
696 * AllTests.cs: Added suites for DSASignatureDeformatter,
697 DSASignatureFormatter.
698 * CryptoConfigTest.cs: Tests new URLs. This test will fail
699 if System.Security.dll isn't present (or not yet compiled).
700 * DSACryptoServiceProviderTest.cs: New. Key generation (limited
701 because it's too slow), Import/Export, Signature and Verification.
702 * DSASignatureDeformatterTest.cs: New. Test signature verification.
703 * DSASignatureFormatterTest.cs: New. Test signature creation.
704 * DSATest.cs: Comment DSA-derived test class as DSA constructor
705 is internal. Reworked the test suite.
706 * SignatureDescriptionTest.cs: Added tests for
707 DSASignatureDescription and RSAPKCS1SHA1SignatureDescription.
709 2002-11-02 Sebastien Pouliot <spouliot@videotron.ca>
711 * AllTests.cs: Added suites for SignatureDescription and
712 activated suites for SHA384Managed and SHA512Managed.
713 * SignatureDescriptionTest.cs: New. Basic tests (because I don't
714 know the context in which the class is used).
716 2002-10-28 Sebastien Pouliot <spouliot@videotron.ca>
718 * AllTests.cs: Added test suites for SHA256, SHA384 and SHA512
719 (last two partly commented until implementation is commited).
720 * SHA256Test.cs: New. Generic FIPS180-2 tests for SHA-256.
721 * SHA256ManagedTest.cs: New. Implementation tests (inherits
723 * SHA384Test.cs: New. Generic FIPS180-2 tests for SHA-384.
724 * SHA384ManagedTest.cs: New. Implementation tests (inherits
726 * SHA512Test.cs: New. Generic FIPS180-2 tests for SHA-512.
727 * SHA512ManagedTest.cs: New. Implementation tests (inherits
730 2002-10-25 Sebastien Pouliot <spouliot@videotron.ca>
732 * AllTests.cs: Added suite for PasswordDeriveBytes
733 * PasswordDeriveBytesTest.cs: New. Tests against pre-generated vectors -
734 only works for short runs (keys < HashSize) not long runs
736 2002-10-20 Sebastien Pouliot <spouliot@videotron.ca>
738 * AllTests.cs: Added suite for Rjindael
739 * RjindaelTest.cs: New. Test vectors from FIPS PUB 197 appendix.
741 2002-10-19 Sebastien Pouliot <spouliot@videotron.ca>
743 * AllTests.cs: Renabled most tests after commenting all code causing a
744 cyclic dependency (corlib->System.Xml->corlib). Some tests will fail
745 until commented code is replaced.
746 * SymmetricAlgorithm.cs: New (189) generated test cases for all default
747 algorithm implementation, all cipher modes, all padding modes, all key
748 sizes, all block sizes, feedback...
749 * PKCS1MaskGenerationMethodTest.cs: Commented vector test. Added new
750 tests to check for various exceptions
752 2002-10-16 Nick Drochak <ndrochak@gol.com>
754 * CryptoConfigTest.cs (TestCreateFromName): Disable tests for
755 algorithms that aren't in the build yet.
757 2002-10-16 Nick Drochak <ndrochak@gol.com>
759 * AllTests.cs: Disable tests that use components were are excluding
763 2002-10-14 Sebastien Pouliot <spouliot@videotron.ca>
765 * AllTests.cs: Added suite for PKCS1MaskGenerationMethod
766 * PKCS1MaskGenerationMethodTest.cs: New. Test work as per PKCS#1 but
767 result isn't the same as MS implementation !?! is MS using this class ?
769 2002-10-13 Sebastien Pouliot <spouliot@videotron.ca>
771 * AllTests.cs: Added suite for HashAlgorithm, KeyedHashAlgorithm and
773 * HashAlgorithmTest.cs: New. Test for Create and Clear
774 * KeyedHashAlgorithmTest.cs: New. Test for Create and key assignation
775 * HMACSHA1Test.cs: New. Test vectors from FIPS 198 and RFC2202
777 2002-10-12 Sebastien Pouliot <spouliot@videotron.ca>
779 * AllTests.cs: Added suite for RandomNumberGenerator, SHA1 and
780 SHA1CryptoServiceProvider
781 * RandomNumberGeneratorTest.cs: New. Tests for Create and generic
782 random quality tests (FIPS140-2)
783 * SHA1Test.cs: New. Tests for Create and generic SHA1 tests (FIPS180-1)
784 * SHA1CryptoServiceProviderTest.cs: New. Inherited SHA1Tests tests +
787 2002-10-10 Sebastien Pouliot <spouliot@videotron.ca>
789 * DSATest.cs: Added non-abstract DSA class to test To/FromXmlString()
790 * RSATest.cs: Added non-abstract RSA class to test To/FromXmlString()
791 * AllTests.cs: Added DSATest.cs and RSATest.cs in suite
793 2002-10-09 Sebastien Pouliot <spouliot@videotron.ca>
795 * CryptoConfigTest.cs: New tests
796 * AllTests.cs: Added CryptoConfigTest in suite
798 2002-10-05 Andrew Birkett <andy@nobugs.org>
800 * RC2Test.cs: New test. Only three cases are enabled - the other
801 five work fine under mono, but fail under MS corlib, so I've
804 * AllTests.cs: Added RC2Test.
806 2002-09-23 Andrew Birkett <andy@nobugs.org>
808 * RijndaelManagedTest.cs: Fixed initialization order problem
809 to match MS behaviour.
811 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
813 * MD5Test.cs: new test from Eduardo García Cebollero (kiwnix@yahoo.es).
814 * AllTests.cs: added new test.