1 2006-09-08 Sebastien Pouliot <sebastien@ximian.com>
3 * RSACryptoServiceProviderTest.cs: Added test cases for decoding bad
4 PKCS1 and OAEP padding - both resulting in a CryptographicException.
5 * RSAOAEPKeyExchangeDeformatterTest.cs: Add test case for bad padding.
6 * RSAPKCS1KeyExchangeDeformatterTest.cs: Add test case for bad padding
8 2006-09-05 Sebastien Pouliot <sebastien@ximian.com>
10 * RSACryptoServiceProviderTest.cs: Test case for #79269 where we
11 ensure a CryptographicException (not a NRE) when decrypting without a
14 2006-07-01 Sebastien Pouliot <sebastien@ximian.com>
16 * RSAPKCS1SignatureDeformatterTest.cs: Added test case where
17 SetHashAlgorithm isn't called and the hash algorithm name is derived
18 from the hash instance. From bug #78744 by Diego Mesa Tabares.
20 2006-06-15 Sebastien Pouliot <sebastien@ximian.com>
22 * HashAlgorithmTest.cs: Added new test cases wrt the output buffer
23 used in TransformBlock (e.g. bug #78647). Updated existing test case
24 to work under 2.0 final.
25 * HMACMD5Test.cs: Fix SetUp to allow new inherited test cases to work
27 * HMACRIPEMD160Test.cs: Fix SetUp to allow new inherited test cases to
29 * HMACSHA1Test.cs: Fix SetUp to allow new inherited test cases to
31 * HMACSHA256Test.cs: Fix SetUp to allow new inherited test cases to
33 * HMACSHA384Test.cs: New. Basic test cases that, cheaply, inherits
34 the HashAlgorithm tests.
35 * HMACSHA512Test.cs: New. Basic test cases that, cheaply, inherits
36 the HashAlgorithm tests.
37 * KeyedHashAlgorithmTest.cs: Ensure we're always using the same key
38 (required for new, inherited, test cases). Fix ToString to match
39 KeyedHashAlgorithm (and not an inherited class).
41 2006-06-01 Sebastien Pouliot <sebastien@ximian.com>
43 * RandomNumberGeneratorTest.cs: Don't forget the last run in Runs.
44 Track both 0 and 1 runs. Changed runs ranges to match FIPS140-2 Change
45 Notice #1 (fixes bug #78560). Updated test cases to NUnit 2.2 format.
47 2005-12-15 Sebastien Pouliot <sebastien@ximian.com>
49 * RijndaelTest.cs: Add test cases for cycling key sizes and block
51 * SymmetricAlgorithm2Test.cs: Added test case for re-setting the
52 BlockSize. Keeping the same value *doesn't* change the current IV
53 (while doing the same on the KeySize *does* change the key).
55 2005-11-22 Sebastien Pouliot <sebastien@ximian.com>
57 * DSATest.cs: Added test case where J isn't imported. In this case we
58 don't export (our internally calculated) J and it's also not part of
61 2005-10-21 Sebastien Pouliot <sebastien@ximian.com>
63 * RC2CryptoServiceProviderTest.cs: New. Unit tests specific to this
64 implementation (not algorithm specific but required to match MS
66 * RijndaelManagedTest.cs: Added unit tests specific to this
67 implementation (not algorithm specific but required to match MS
69 * DESCryptoServiceProviderTest.cs: Added unit tests specific to this
70 implementation (not algorithm specific but required to match MS
72 * TripleDESCryptoServiceProviderTest.cs: New. Unit tests specific to
73 this implementation (not algorithm specific but required to match MS
76 2005-09-29 Sebastien Pouliot <sebastien@ximian.com>
78 * HMACSHA1Test.cs: Use the new ctor(byte[],bool) introduced in 2.0 RC
79 in some of the existing tests (under 2.0).
81 2005-04-27 Sebastien Pouliot <sebastien@ximian.com>
83 * DSACryptoServiceProviderTest.cs: Catch UnauthorizedAccessException
84 directly in UseMachineKeyStore (not just wrapped inside a
85 CryptographicException).
86 * RSACryptoServiceProviderTest.cs: Catch UnauthorizedAccessException
87 directly in UseMachineKeyStore (not just wrapped inside a
88 CryptographicException).
90 2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
92 * CryptoConfigTest.cs: Check that ArgumentNullException is throw in
93 EncodeOID for 2.0. Comment test for RSA OID (2.0).
94 * DESTest.cs: Check that null keys throws CryptographicException in
95 IsWeakKey and IsSemiWeakKey for 2.0.
96 * TripleDESTest.cs: Check that null keys throws CryptographicException
98 * SymmetricAlgorithm2Test.cs: Check that a FeedbackSize of zero throws
99 a CryptographicException in 2.0.
101 2005-04-18 Sebastien Pouliot <sebastien@ximian.com>
103 * SymmetricAlgorithm2Test.cs: Added a test case where the FeedBackSize
104 is set to 0 before starting encryption.
106 2005-03-30 Sebastien Pouliot <sebastien@ximian.com>
108 * CryptoStreamTest.cs: Added test case when when no padding is used.
110 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
112 * CryptoConfigCas.cs: New. CAS unit tests for CryptoConfig.
113 * CryptoAPITransformCas.cs: New. CAS unit tests for CryptoAPITransform.
115 2005-02-10 Sebastien Pouliot <sebastien@ximian.com>
117 * DSATest.cs: Added unit test for Counter == 0. Actualized test cases
118 for NET_2_0 now that we can inherit from DSA outside corlib.
120 2005-01-30 Sebastien Pouliot <sebastien@ximian.com>
122 * PasswordDeriveBytesTest.cs: Changed [Ignore] to [Category
123 ("NotWorking")] to reduce nunit logs.
125 2005-01-19 Sebastien Pouliot <sebastien@ximian.com>
127 * CryptoStreamTest.cs: Added [ExpectedException] for [Ignored] unit
128 tests that were converted to [Category]
130 2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
132 * CryptoConfigTest.cs: Added new RIPEMD160 hash algorithm and new HMAC
133 algorithms (HMACMD5, HMACRIPEMD160, HMACSHA256, HMACSHA384 and
134 HMACSHA512) to the tests.
135 * DSACryptoServiceProviderTest.cs: Fixed VerifySignatureWithoutKey to
136 ensure that Mono didn't create the key before starting verification.
137 * RSACryptoServiceProviderTest.cs: Added tests for PublicOnly in the
138 constructor tests and for VerifyHash with a null OID.
139 * RSAPKCS1SignatureFormatterTest.cs: Fixed signatures values for
140 SHA256, SHA384 and SHA512 for NET_2_0 profile. The older signatures
141 (working only in Mono) can't be used because 2.0 use new OID for those
142 hash algorithms. Note that this still only works with Mono in 2.0!
144 2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
146 * CryptoStreamTest.cs, DSACryptoServiceProviderTest.cs,
147 HashAlgorithmTest.cs, PKCS1MaskGenerationMethodTest.cs,
148 RSAPKCS1KeyExchangeFormatterTest.cs, ToBase64TransformTest.cs:
149 Use [Category ("NotDotNet")] for tests failing only on the MS runtime
150 (so they are now executed on Mono).
152 2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
154 * TripleDESTest.cs: Testing weak key with null throws a NRE.
156 2005-01-06 Sebastien Pouliot <sebastien@ximian.com>
158 * DESTest.cs: Updated weak key and semi-weak key tests with more
160 * TripleDESTest.cs: Added tests when including a DES weak key into
163 2005-01-04 Sebastien Pouliot <sebastien@ximian.com>
165 * CryptoStreamTest.cs: Undo some previous fixes that have changed from
166 2.0 Nov CTP. Stream chaining was working on Nov CTP but are failing
169 2004-12-23 Sebastien Pouliot <sebastien@ximian.com>
171 * CryptoStreamTest.cs: Fixed tests to execute properly on 2.0 Nov CTP.
172 * DSACryptoServiceProviderTest.cs: Fixed tests to execute properly on
174 * PaddingModeTest.cs: Fixed tests to execute properly on 2.0 Nov CTP.
175 * RSACryptoServiceProviderTest.cs: Fixed tests to execute properly on
178 2004-12-23 Sebastien Pouliot <sebastien@ximian.com>
180 * ProtectedDataTest.cs: Moved in System.Security.dll
181 * ProtectedMemoryTest.cs: Moved in System.Security.dll
183 2004-12-06 Sebastien Pouliot <sebastien@ximian.com>
185 * RSACryptoServiceProviderTest.cs: Adjusted unit tests to show that
186 RSACryptoServiceProvider doesn't support private keys without CRT
187 parameters available - except to import the keys.
189 2004-11-09 Sebastien Pouliot <sebastien@ximian.com>
191 * PasswordDeriveBytesTest.cs: Removed test for 69036. This is a MS
192 bug that will be fixed in 2.0 beta 2.
194 2004-11-03 Sebastien Pouliot <sebastien@ximian.com>
196 * DSACryptoServiceProviderTest.cs: Fixed UseMachineKeyStore not to
197 fail if the key container directory wasn't yet created (root).
198 * PasswordDeriveBytesTest.cs: Added tests for NET_2_0, more tests
199 for all constructors, tests for properties and a test for bug 69036.
200 * RSACryptoServiceProviderTest.cs: Fixed UseMachineKeyStore not to
201 fail if the key container directory wasn't yet created (root).
203 2004-08-31 Nick Drochak <ndrochak@gol.com>
205 * DSACryptoServiceProviderTest.cs:
206 * RSACryptoServiceProviderTest.cs: Feed csc smaller bite sizes.
208 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
210 * DESTest.cs: Added a new test case to check default values.
211 * HMACSHA1.cs: Fixed bad test (and renamed it).
212 * RC2Test.cs: Added a new test case to check default values.
213 * RijndaelTest.cs: Added a new test case to check default values.
214 Convert tests from NUnit 1 to 2.2.
215 * TripleDESTest.cs: Added a new test case to check default values.
216 Convert tests to NUnit 2.2.
218 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
220 * AllTests2.cs: Updated to NUnit 2.2 Assert.
221 * CipherModeTest.cs: New. Tests supported CipherMode for all
222 SymmetricAlgorithm included in the framework (enum contains two more
223 modes that aren't implemented in any Fx version).
224 * CryptoConfigTest.cs: Ajusted new OID (for old names) in Fx 2.0.
225 * CryptoStreamTest.cs: Fixed different reported exception in Fx 2.0.
227 * CspProviderFlagsTest.cs: New. Test the values of the enum.
228 * DSACryptoServiceProviderTest.cs: Added new tests for new public
229 properties and methods added in Fx 2.0. Duplicated test to import a
230 key pair into a disposed instance (works in Fx 2.0). Removed all
231 [Ignore]s in NET_2_0 as the MS class/runtime has been fixed.
232 * DSASignatureDeformatterTest.cs: Converted from NUnit 1 to 2.2. Fixed
233 different reported exception in Fx 2.0.
234 * DSASignatureFormatterTest.cs: Converted from NUnit 1 to 2.2. Fixed
235 different reported exception in Fx 2.0.
236 * HMACRIPEMD160Test.cs: Fixed tests using TransformFinalBlock.
237 * HMACSHA1Test.cs: Fixed tests so they work on both NET_1_1 and
238 NET_2_0 profiles (as HMACSHA1 changed it's base class).
239 * HashAlgorithmTest.cs: Fixed different reported exception in Fx 2.0.
240 Removed [Ignore] in NET_2_0 as the MS class/runtime has been fixed.
241 * MACTripleDESTest.cs: Fixed tests so they work on both NET_1_1 and
243 * PKCS1MaskGenerationMethodTest.cs: Removed [Ignore] in NET_2_0 as the
244 MS class has been fixed.
245 * PaddingModeTest.cs: Added new tests for the two new padding mode
246 introduced in Fx 2.0. Converted to NUnit 2.2.
247 * PasswordDeriveBytesTest.cs: Removed [ExpectedException] for
248 StrangeBehaviour test as it is fixed in Fx 2.0.
249 * RC2Test.cs: Changed exception from CryptographicException to
250 CryptographicUnexpectedOperationException for Fx 1.1/2.0.
251 * RIPEMD160Test.cs: Fixed tests using TransformFinalBlock.
252 * RSACryptoServiceProviderTest.cs: Added new tests for new public
253 properties and methods added in Fx 2.0. Duplicated test to import a
254 key pair into a disposed instance (works in Fx 2.0). Duplicated test
255 to sign with a null OID (Fx 2.0 use SHA1 oid in this case).
256 * RSAOAEPKeyExchangeDeformatterTest.cs: Changed exception for a key
257 exchange with no key (to match Fx 2.0).
258 * RSAOAEPKeyExchangeFormatterTest.cs: Changed exception for a key
259 exchange with no key (to match Fx 2.0).
260 * RSAPKCS1KeyExchangeFormatterTest.cs: Changed exception for a key
261 exchange with no key (to match Fx 2.0). Removed [Ignore] in NET_2_0 as
262 the MS class/runtime has been fixed.
263 * RSAPKCS1SignatureDeformatterTest.cs: Null keys, in constructor or in
264 SetKey method, now throw an ArgumentNullException in Fx 2.0.
265 * RSAPKCS1SignatureFormatterTest.cs: Null keys, in constructor or in
266 SetKey method, now throw an ArgumentNullException in Fx 2.0.
267 * Rfc2898DeriveBytesTest.cs: Typecasted a null as a string.
268 * SymmetricAlgorithm2Test.cs: In Fx 2.0 an empty IV now throws a
269 CryptographicException.
270 * ToBase64TransformTest.cs: Fixed different reported exception in Fx 2.0.
271 Removed [Ignore] in NET_2_0 as the MS class/runtime has been fixed.
273 2004-06-23 Sebastien Pouliot <sebastien@ximian.com>
275 * CryptoStreamTest.cs: Added two tests for bug #60573. One shows that
276 an encryptor doesn't reduce the number of block on Write while the
277 second shows that a decryptor does reduce the number of blocks on
280 2004-06-16 Sebastien Pouliot <sebastien@ximian.com>
282 * SignatureDescriptionTest.cs: Added missing [TestFixture] :( and
283 cases for the previously undocumented .ctor(SecurityElement) - which
284 is now, backwardly, documented in VS.NET 2005.
286 2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
288 * HashAlgorithmTest.cs: Added new tests to check for more exceptions.
290 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
292 * CryptoStreamTest.cs: Added new unit tests for overflows.
293 * FromBase64Transform.cs: Added new unit tests for undocumented
294 exceptions (null, overflows...).
295 * ToBase64TransformTest.cs: Added new unit tests for negatives and
298 2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
300 * CryptoStreamTest.cs, DESCryptoServiceProviderTest.cs,
301 DSACryptoServiceProviderTest.cs, DSATest.cs, FromBase64Transform.cs,
302 HMACRIPEMD160Test.cs, MD5Test.cs, PKCS1MaskGenerationMethodTest.cs,
303 RIPEMD160ManagedTest.cs, RNGCryptoServiceProviderTest.cs,
304 RSACryptoServiceProviderTest.cs, RSAOAEPKeyExchangeDeformatterTest.cs,
305 RSAOAEPKeyExchangeFormatterTest.cs, RSAPKCS1KeyExchangeDeformatterTest.cs,
306 RSAPKCS1KeyExchangeFormatterTest.cs, RSAPKCS1SignatureDeformatterTest.cs,
307 RSAPKCS1SignatureFormatterTest.cs, RSATest.cs: SetUp/TearDown are now
308 public (required for new nunit).
310 2004-05-17 Sebastien Pouliot <sebastien@ximian.com>
312 * RNGCryptoServiceProviderTest.cs: Added new tests to see how the
313 constructor behave with null seeds or if they modify the seed.
315 2004-05-07 Sebastien Pouliot <sebastien@ximian.com>
317 * DSACryptoServiceProviderTest.cs: Added a new unit test for SignData
318 (was badly tested) and simplified test to reduce key pair generations.
319 * PasswordDerivceBytesTest.cs: Added new tests to complete
321 * RSACryptoServiceProviderTest.cs: Added new tests to complete
323 * ToBase64TransformTest.cs: Added a (legal) test where the final
324 transform receive data smaller than it's input block (padding).
326 2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
328 * RC2Test.cs: Converted to NUnit 2. Uncommented some tests that throw
329 exceptions to test exception handling (and get more coverage).
330 * RNGCryptoServiceProviderTest.cs: Updated unit tests for exception
332 * RSAOAEPKeyExchangeDeformatterTest.cs: Updated unit tests to complete
334 * RSAOAEPKeyExchangeFormatterTest.cs: Updated unit tests to complete
336 * RSAPKCS1KeyExchangeDeformatterTest.cs: Updated unit tests to
338 * RSAPKCS1KeyExchangeFormatterTest.cs: Updated unit tests to complete
340 * RSAPKCS1SignatureDeformatterTest.cs: Updated unit tests to complete
342 * RSAPKCS1SignatureFormatterTest.cs: Updated unit tests to complete
344 * RSATest.cs: Updated unit tests for importing XML key pairs.
345 * SHA256Test.cs: Corrected Setup attribtue (was [Test]).
346 * SignatureDescriptionTest.cs: Removed unimplemented constructor from
347 tests. Converted to NUnit2.
348 * SymmetricAlgorithm2Test.cs: New. Non generated unit test for better
349 coverage (like exception testing).
350 * ToBase64TransformTest.cs: New. Unit tests to complete coverage of
352 * TripleDESTest.cs: New. Unit tests to complete coverage of TripleDES.
354 2004-04-29 Sebastien Pouliot <sebastien@ximian.com>
356 * DSACryptoServiceProviderTest.cs: New unit tests fo better coverage.
357 * FromBase64Transform.cs: New unit tests for better coverage.
358 * HashAlgorithmTest.cs: New unit tests for better coverage.
359 * HMACSHA1Test.cs: New unit tests for better coverage. Updated to
361 * KeyedHashAlgorithmTest.cs: Coverage already complete. Updated to
363 * SHA1Test.cs: Coverage already complete. Updated to NUnit2.
364 * SHA1CryptoServiceProviderTest.cs: Coverage almost complete. Updated
366 * SHA256Test.cs: Coverage already complete. Updated to NUnit2.
367 * SHA256ManagedTest.cs: Coverage already complete. Updated to NUnit2.
368 * SHA384Test.cs: Coverage already complete. Updated to NUnit2.
369 * SHA384ManagedTest.cs: Coverage almost complete. Updated to NUnit2.
370 * SHA512Test.cs: Coverage already complete. Updated to NUnit2.
371 * SHA512ManagedTest.cs: Coverage almost complete. Updated to NUnit2.
373 2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
375 * DESCryptoServiceProviderTest.cs: New. Completes coverage for
376 DESCryptoServiceProvider class. Calls the FIPS 81 tests for this
378 * DESTest.cs: Added test vectors from FIPS 81.
380 2004-04-26 Sebastien Pouliot <sebastien@ximian.com>
382 * DESTest.cs: New. Unit tests for DES including checks for weak and
383 semi-weak keys (with and without parity applied on keys). Completes
384 coverage for DES class.
386 2004-04-02 Bernie Solomon <bernard@ugsolutions.com>
388 * PasswordDeriveBytesTest.cs: Add ToInt32LE so
389 it works on big endian machines.
391 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
393 * FromBase64Transform.cs: Two new unit tests showing that the
394 transform doesn't care if it's data is invalid base64. Convert class
397 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
399 * FromBase64Transform.cs: Converted to NUnit2 format. New unit tests
400 for properties, Dispose, Reuse and ignored characters.
402 2004-03-09 Atsushi Enomoto <atsushi@ximian.com>
404 * DSATest.cs : Added ToXmlString test that checks if input without
405 Seed and PgenCounter elements pass or not.
407 2004-02-12 Sebastien Pouliot <spouliot@videotron.ca>
409 * CryptoStreamTest.cs: Added new tests for [From|To]Base64Transform
410 (InputBlockSize != OutputBlockSize) and for cascading CryptoStreams.
412 2004-02-09 Sebastien Pouliot <sebastien@ximian.com>
414 * DSACryptoServiceProvider.cs: Added new unit tests for key pair
416 * RSACryptoServiceProvider.cs: Added new unit tests for key pair
419 2004-02-04 Sebastien Pouliot <spouliot@videotron.ca>
421 * CryptoStreamTest.cs: Added many more tests for every problem found
422 with CryptoStream using code samples from the internet.
424 2003-12-15 Sebastien Pouliot <spouliot@videotron.ca>
426 * CryptoConfigTest.cs: Converted unit tests to NUnit2.
427 * PaddingModeTest.cs: New. Unit tests to check every padding modes for
428 symmetric algorithms.
429 * MACTripleDESTest.cs: Updated unit tests for NUnit2 and to work for
430 both 1.0 and 1.1 framework.
432 2003-11-13 Sebastien Pouliot <spouliot@videotron.ca>
434 * ProtectedDataTest.cs: New. Unit tests for ProtectedData (1.2).
435 * ProtectedMemoryTest.cs: New. Unit tests for ProtectedMemory (1.2).
437 2003-11-11 Sebastien Pouliot <spouliot@videotron.ca>
439 * Rfc2898DeriveBytesTest.cs: More tests for Reset and keys longer than
442 2003-11-10 Sebastien Pouliot <spouliot@videotron.ca>
444 * Rfc2898DeriveBytesTest.cs: New. Unit tests for Rfc2898DeriveBytes
445 and test vectors from RFC3211.
447 2003-11-09 Sebastien Pouliot <spouliot@videotron.ca>
449 * HMACMD5Test.cs: New. Unit test for HMAC-MD5 with test vectors from
451 * HMACRIPEMD160Test.cs: New. Unit test for HMAC-RIPEMD160 with test
452 vectors from http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html.
453 * HMACSHA256Test.cs: New. Unit test for HMAC-SHA256.
455 2003-11-08 Sebastien Pouliot <spouliot@videotron.ca>
457 * RIPEMD160Test.cs: New. Unit test using RIPEMD160 test vectors.
458 * RIPEMD160Managed.cs: New. Unit tests running RIPEMD160Test using the
459 RIPEMD160Managed implementation.
461 2003-10-04 Sebastien Pouliot <spouliot@videotron.ca>
463 * CryptoStreamTest.cs: Added test case from bugzilla #49323 from
464 Carlos Guzmán Álvarez and some small tests for empty stream with
465 different PaddingMode (as found by Lluis Sanchez Gual).
467 2003-08-05 Sebastien Pouliot <spouliot@videotron.ca>
469 * CryptoStreamTest.cs: Added test case from bugzilla #40689 from
472 2003-07-31 Sebastien Pouliot <spouliot@videotron.ca>
474 * CryptoStreamTest.cs: New. Very basic test for CryptoStream + the
475 test case from bugzilla #46143 from Joerg Rosenkranz.
476 * RSACryptoServiceProviderTest.cs: Fixed some exceptions that are
477 different from .NET 1.0 and 1.1.
479 2003-07-05 Sebastien Pouliot <spouliot@videotron.ca>
481 * DSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear
482 and better test coverage (based on Zoltan's logs).
483 * DSATest.cs: Converted to NUnit2 format. Added new tests for better unit
484 test coverage (import incomplete public keys).
485 * RSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear
486 and better test coverage (based on Zoltan's logs).
487 * RSATest.cs: Converted to NUnit2 format. Added new tests for better unit
488 test coverage (import incomplete public keys).
490 2003-06-23 Nick Drochak <ndrochak@gol.com>
492 * MACTripleDESTest.cs: Adjust for .NET 1.1.
494 2003-06-11 Sebastien Pouliot <spouliot@videotron.ca>
496 * AllTests2.cs: Converted tests to NUnit2 format.
497 * RSACryptoServiceProviderTest.cs: Converted tests to NUnit2 format.
498 * RSAPKCS1KeyExchangeDeformatterTest.cs: Converted tests to NUnit2 format.
499 * RSAPKCS1KeyExchangeFormatterTest.cs: Converted tests to NUnit2 format.
500 * RSAPKCS1SignatureDeformatterTest.cs: Converted tests to NUnit2 format.
501 * RSAPKCS1SignatureFormatterTest.cs: Converted tests to NUnit2 format.
503 2003-05-29 Sebastien Pouliot <spouliot@videotron.ca>
505 * PKCS1MaskGenerationMethodTest.cs: Added [Ignore] to vector test
506 (as it's result isn't valid on both framework 1.0 and 1.1).
507 * RSAPKCS1SignatureDeformatter.cs: Splitting the test for NUnit2
508 cloned the previous error into many more tests. Hopefully fixed.
510 2003-05-28 Sebastien Pouliot <spouliot@videotron.ca>
512 * RSAPKCS1SignatureDeformatter.cs: Fixed (well I hope so) a test
513 which doesn't throw the same exception under 1.1. Also converted
514 the tests to NUnit2 format.
516 2003-05-12 Sebastien Pouliot <spouliot@videotron.ca>
518 * PKCS1MaskGenerationMethodTest.cs: Uncommented PKCS#1 v.2.1 vector
519 unit test (will work on Mono but fails with MS implementation).
520 * RSAOAEPKeyExchangeDeformatterTest.cs: Updated tests vectors for
521 both Mono and MS (under Windows XP) generated OAEP results.
522 * RSAOAEPKeyExchangeFormatterTest.cs: Update exception handling.
524 2003-04-17 Nick Drochak <ndrochak@gol.com>
526 * DSATest.cs: Use nunit version 2 style to test throw.
527 * HMACSHA1Test.cs: Eliminate compiler warning.
529 2003-03-04 Sebastien Pouliot <spouliot@videotron.ca>
531 * CryptoConfigTest.cs: Added new tests for algorithms
532 documented in book ".NET Framework Security".
534 2003-02-03 Sebastien Pouliot <spouliot@videotron.ca>
536 * PasswordDeriveBytesTest.cs: Added some new tests to complete
538 * RSAPKCS1SignatureDeformatterTest.cs: Added test for null and
539 invalid hash algorithm.
541 2003-01-19 Sebastien Pouliot <spouliot@videotron.ca>
543 * HMACSHA1Test.cs: Added tests for constructors.
544 * MACTripleDESTest.cs: Added tests for constructors.
546 2003-01-12 Sebastien Pouliot <spouliot@videotron.ca>
548 * HashAlgorithmTest.cs: Added new test for null streams.
549 * MACTripleDESTest.cs: New. Test suite par MAC using 3DES.
551 2002-12-21 Nick Drochak <ndrochak@gol.com>
553 * all: make tests build and run under nunit2
555 2002-12-21 Nick Drochak <ndrochak@gol.com>
557 * AllTests2.cs: Helper file for unit tests
559 2002-11-20 Sebastien Pouliot <spouliot@videotron.ca>
561 * RSAPKCS1SignatureDeformatterTest.cs: Removed patch from Nick -
562 as it doesn't seems to work on my system and the exception behavior
563 isn't logical (only MD5 not SHA1, ...).
565 2002-11-18 Nick Drochak <ndrochak@gol.com>
567 * RSAPKCS1SignatureDeformatterTest.cs: MS .NET throws an exception when
568 verifying a bad signature. Test for that.
570 2002-11-17 Sebastien Pouliot <spouliot@videotron.ca>
572 * AllTests.cs: Added a common RSA keypair for tests and all RSA
573 suites for new tests.
574 * RSACryptoServiceProviderTest.cs: Include tests for keygen,
575 import/export and signature (no encryption yet).
576 * RSAOAEPKeyExchangeDeformatterTest.cs: Compare results with
577 pre-generated vectors from Mono/Windows (cannot yet compare
578 with CryptoAPI/Windows as OAEP isn't available on my system).
579 * RSAOAEPKeyExchangeFormatterTest.cs: Test that the Formatter output
580 is compatible with the Deformatter.
581 * RSAPKCS1KeyExchangeDeformatterTest.cs: Compare results with
582 pre-generated vectors from Mono/Windows and CryptoAPI/Windows.
583 * RSAPKCS1KeyExchangeFormatterTest.cs: Test that the Formatter output
584 is compatible with the Deformatter.
585 * RSAPKCS1SignatureDeformatterTest.cs: Compare results with
586 pre-generated vectors from Mono/Windows and CryptoAPI/Windows.
587 * RSAPKCS1SignatureFormatterTest.cs: Test that the Formatter output
588 is compatible with the Deformatter.
590 2002-11-16 Sebastien Pouliot <spouliot@videotron.ca>
592 * AllTests.cs: Added suites for DSASignatureDeformatter,
593 DSASignatureFormatter.
594 * CryptoConfigTest.cs: Tests new URLs. This test will fail
595 if System.Security.dll isn't present (or not yet compiled).
596 * DSACryptoServiceProviderTest.cs: New. Key generation (limited
597 because it's too slow), Import/Export, Signature and Verification.
598 * DSASignatureDeformatterTest.cs: New. Test signature verification.
599 * DSASignatureFormatterTest.cs: New. Test signature creation.
600 * DSATest.cs: Comment DSA-derived test class as DSA constructor
601 is internal. Reworked the test suite.
602 * SignatureDescriptionTest.cs: Added tests for
603 DSASignatureDescription and RSAPKCS1SHA1SignatureDescription.
605 2002-11-02 Sebastien Pouliot <spouliot@videotron.ca>
607 * AllTests.cs: Added suites for SignatureDescription and
608 activated suites for SHA384Managed and SHA512Managed.
609 * SignatureDescriptionTest.cs: New. Basic tests (because I don't
610 know the context in which the class is used).
612 2002-10-28 Sebastien Pouliot <spouliot@videotron.ca>
614 * AllTests.cs: Added test suites for SHA256, SHA384 and SHA512
615 (last two partly commented until implementation is commited).
616 * SHA256Test.cs: New. Generic FIPS180-2 tests for SHA-256.
617 * SHA256ManagedTest.cs: New. Implementation tests (inherits
619 * SHA384Test.cs: New. Generic FIPS180-2 tests for SHA-384.
620 * SHA384ManagedTest.cs: New. Implementation tests (inherits
622 * SHA512Test.cs: New. Generic FIPS180-2 tests for SHA-512.
623 * SHA512ManagedTest.cs: New. Implementation tests (inherits
626 2002-10-25 Sebastien Pouliot <spouliot@videotron.ca>
628 * AllTests.cs: Added suite for PasswordDeriveBytes
629 * PasswordDeriveBytesTest.cs: New. Tests against pre-generated vectors -
630 only works for short runs (keys < HashSize) not long runs
632 2002-10-20 Sebastien Pouliot <spouliot@videotron.ca>
634 * AllTests.cs: Added suite for Rjindael
635 * RjindaelTest.cs: New. Test vectors from FIPS PUB 197 appendix.
637 2002-10-19 Sebastien Pouliot <spouliot@videotron.ca>
639 * AllTests.cs: Renabled most tests after commenting all code causing a
640 cyclic dependency (corlib->System.Xml->corlib). Some tests will fail
641 until commented code is replaced.
642 * SymmetricAlgorithm.cs: New (189) generated test cases for all default
643 algorithm implementation, all cipher modes, all padding modes, all key
644 sizes, all block sizes, feedback...
645 * PKCS1MaskGenerationMethodTest.cs: Commented vector test. Added new
646 tests to check for various exceptions
648 2002-10-16 Nick Drochak <ndrochak@gol.com>
650 * CryptoConfigTest.cs (TestCreateFromName): Disable tests for
651 algorithms that aren't in the build yet.
653 2002-10-16 Nick Drochak <ndrochak@gol.com>
655 * AllTests.cs: Disable tests that use components were are excluding
659 2002-10-14 Sebastien Pouliot <spouliot@videotron.ca>
661 * AllTests.cs: Added suite for PKCS1MaskGenerationMethod
662 * PKCS1MaskGenerationMethodTest.cs: New. Test work as per PKCS#1 but
663 result isn't the same as MS implementation !?! is MS using this class ?
665 2002-10-13 Sebastien Pouliot <spouliot@videotron.ca>
667 * AllTests.cs: Added suite for HashAlgorithm, KeyedHashAlgorithm and
669 * HashAlgorithmTest.cs: New. Test for Create and Clear
670 * KeyedHashAlgorithmTest.cs: New. Test for Create and key assignation
671 * HMACSHA1Test.cs: New. Test vectors from FIPS 198 and RFC2202
673 2002-10-12 Sebastien Pouliot <spouliot@videotron.ca>
675 * AllTests.cs: Added suite for RandomNumberGenerator, SHA1 and
676 SHA1CryptoServiceProvider
677 * RandomNumberGeneratorTest.cs: New. Tests for Create and generic
678 random quality tests (FIPS140-2)
679 * SHA1Test.cs: New. Tests for Create and generic SHA1 tests (FIPS180-1)
680 * SHA1CryptoServiceProviderTest.cs: New. Inherited SHA1Tests tests +
683 2002-10-10 Sebastien Pouliot <spouliot@videotron.ca>
685 * DSATest.cs: Added non-abstract DSA class to test To/FromXmlString()
686 * RSATest.cs: Added non-abstract RSA class to test To/FromXmlString()
687 * AllTests.cs: Added DSATest.cs and RSATest.cs in suite
689 2002-10-09 Sebastien Pouliot <spouliot@videotron.ca>
691 * CryptoConfigTest.cs: New tests
692 * AllTests.cs: Added CryptoConfigTest in suite
694 2002-10-05 Andrew Birkett <andy@nobugs.org>
696 * RC2Test.cs: New test. Only three cases are enabled - the other
697 five work fine under mono, but fail under MS corlib, so I've
700 * AllTests.cs: Added RC2Test.
702 2002-09-23 Andrew Birkett <andy@nobugs.org>
704 * RijndaelManagedTest.cs: Fixed initialization order problem
705 to match MS behaviour.
707 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
709 * MD5Test.cs: new test from Eduardo García Cebollero (kiwnix@yahoo.es).
710 * AllTests.cs: added new test.