1 2006-09-05 Sebastien Pouliot <sebastien@ximian.com>
3 * RSACryptoServiceProviderTest.cs: Test case for #79269 where we
4 ensure a CryptographicException (not a NRE) when decrypting without a
7 2006-07-01 Sebastien Pouliot <sebastien@ximian.com>
9 * RSAPKCS1SignatureDeformatterTest.cs: Added test case where
10 SetHashAlgorithm isn't called and the hash algorithm name is derived
11 from the hash instance. From bug #78744 by Diego Mesa Tabares.
13 2006-06-15 Sebastien Pouliot <sebastien@ximian.com>
15 * HashAlgorithmTest.cs: Added new test cases wrt the output buffer
16 used in TransformBlock (e.g. bug #78647). Updated existing test case
17 to work under 2.0 final.
18 * HMACMD5Test.cs: Fix SetUp to allow new inherited test cases to work
20 * HMACRIPEMD160Test.cs: Fix SetUp to allow new inherited test cases to
22 * HMACSHA1Test.cs: Fix SetUp to allow new inherited test cases to
24 * HMACSHA256Test.cs: Fix SetUp to allow new inherited test cases to
26 * HMACSHA384Test.cs: New. Basic test cases that, cheaply, inherits
27 the HashAlgorithm tests.
28 * HMACSHA512Test.cs: New. Basic test cases that, cheaply, inherits
29 the HashAlgorithm tests.
30 * KeyedHashAlgorithmTest.cs: Ensure we're always using the same key
31 (required for new, inherited, test cases). Fix ToString to match
32 KeyedHashAlgorithm (and not an inherited class).
34 2006-06-01 Sebastien Pouliot <sebastien@ximian.com>
36 * RandomNumberGeneratorTest.cs: Don't forget the last run in Runs.
37 Track both 0 and 1 runs. Changed runs ranges to match FIPS140-2 Change
38 Notice #1 (fixes bug #78560). Updated test cases to NUnit 2.2 format.
40 2005-12-15 Sebastien Pouliot <sebastien@ximian.com>
42 * RijndaelTest.cs: Add test cases for cycling key sizes and block
44 * SymmetricAlgorithm2Test.cs: Added test case for re-setting the
45 BlockSize. Keeping the same value *doesn't* change the current IV
46 (while doing the same on the KeySize *does* change the key).
48 2005-11-22 Sebastien Pouliot <sebastien@ximian.com>
50 * DSATest.cs: Added test case where J isn't imported. In this case we
51 don't export (our internally calculated) J and it's also not part of
54 2005-10-21 Sebastien Pouliot <sebastien@ximian.com>
56 * RC2CryptoServiceProviderTest.cs: New. Unit tests specific to this
57 implementation (not algorithm specific but required to match MS
59 * RijndaelManagedTest.cs: Added unit tests specific to this
60 implementation (not algorithm specific but required to match MS
62 * DESCryptoServiceProviderTest.cs: Added unit tests specific to this
63 implementation (not algorithm specific but required to match MS
65 * TripleDESCryptoServiceProviderTest.cs: New. Unit tests specific to
66 this implementation (not algorithm specific but required to match MS
69 2005-09-29 Sebastien Pouliot <sebastien@ximian.com>
71 * HMACSHA1Test.cs: Use the new ctor(byte[],bool) introduced in 2.0 RC
72 in some of the existing tests (under 2.0).
74 2005-04-27 Sebastien Pouliot <sebastien@ximian.com>
76 * DSACryptoServiceProviderTest.cs: Catch UnauthorizedAccessException
77 directly in UseMachineKeyStore (not just wrapped inside a
78 CryptographicException).
79 * RSACryptoServiceProviderTest.cs: Catch UnauthorizedAccessException
80 directly in UseMachineKeyStore (not just wrapped inside a
81 CryptographicException).
83 2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
85 * CryptoConfigTest.cs: Check that ArgumentNullException is throw in
86 EncodeOID for 2.0. Comment test for RSA OID (2.0).
87 * DESTest.cs: Check that null keys throws CryptographicException in
88 IsWeakKey and IsSemiWeakKey for 2.0.
89 * TripleDESTest.cs: Check that null keys throws CryptographicException
91 * SymmetricAlgorithm2Test.cs: Check that a FeedbackSize of zero throws
92 a CryptographicException in 2.0.
94 2005-04-18 Sebastien Pouliot <sebastien@ximian.com>
96 * SymmetricAlgorithm2Test.cs: Added a test case where the FeedBackSize
97 is set to 0 before starting encryption.
99 2005-03-30 Sebastien Pouliot <sebastien@ximian.com>
101 * CryptoStreamTest.cs: Added test case when when no padding is used.
103 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
105 * CryptoConfigCas.cs: New. CAS unit tests for CryptoConfig.
106 * CryptoAPITransformCas.cs: New. CAS unit tests for CryptoAPITransform.
108 2005-02-10 Sebastien Pouliot <sebastien@ximian.com>
110 * DSATest.cs: Added unit test for Counter == 0. Actualized test cases
111 for NET_2_0 now that we can inherit from DSA outside corlib.
113 2005-01-30 Sebastien Pouliot <sebastien@ximian.com>
115 * PasswordDeriveBytesTest.cs: Changed [Ignore] to [Category
116 ("NotWorking")] to reduce nunit logs.
118 2005-01-19 Sebastien Pouliot <sebastien@ximian.com>
120 * CryptoStreamTest.cs: Added [ExpectedException] for [Ignored] unit
121 tests that were converted to [Category]
123 2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
125 * CryptoConfigTest.cs: Added new RIPEMD160 hash algorithm and new HMAC
126 algorithms (HMACMD5, HMACRIPEMD160, HMACSHA256, HMACSHA384 and
127 HMACSHA512) to the tests.
128 * DSACryptoServiceProviderTest.cs: Fixed VerifySignatureWithoutKey to
129 ensure that Mono didn't create the key before starting verification.
130 * RSACryptoServiceProviderTest.cs: Added tests for PublicOnly in the
131 constructor tests and for VerifyHash with a null OID.
132 * RSAPKCS1SignatureFormatterTest.cs: Fixed signatures values for
133 SHA256, SHA384 and SHA512 for NET_2_0 profile. The older signatures
134 (working only in Mono) can't be used because 2.0 use new OID for those
135 hash algorithms. Note that this still only works with Mono in 2.0!
137 2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
139 * CryptoStreamTest.cs, DSACryptoServiceProviderTest.cs,
140 HashAlgorithmTest.cs, PKCS1MaskGenerationMethodTest.cs,
141 RSAPKCS1KeyExchangeFormatterTest.cs, ToBase64TransformTest.cs:
142 Use [Category ("NotDotNet")] for tests failing only on the MS runtime
143 (so they are now executed on Mono).
145 2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
147 * TripleDESTest.cs: Testing weak key with null throws a NRE.
149 2005-01-06 Sebastien Pouliot <sebastien@ximian.com>
151 * DESTest.cs: Updated weak key and semi-weak key tests with more
153 * TripleDESTest.cs: Added tests when including a DES weak key into
156 2005-01-04 Sebastien Pouliot <sebastien@ximian.com>
158 * CryptoStreamTest.cs: Undo some previous fixes that have changed from
159 2.0 Nov CTP. Stream chaining was working on Nov CTP but are failing
162 2004-12-23 Sebastien Pouliot <sebastien@ximian.com>
164 * CryptoStreamTest.cs: Fixed tests to execute properly on 2.0 Nov CTP.
165 * DSACryptoServiceProviderTest.cs: Fixed tests to execute properly on
167 * PaddingModeTest.cs: Fixed tests to execute properly on 2.0 Nov CTP.
168 * RSACryptoServiceProviderTest.cs: Fixed tests to execute properly on
171 2004-12-23 Sebastien Pouliot <sebastien@ximian.com>
173 * ProtectedDataTest.cs: Moved in System.Security.dll
174 * ProtectedMemoryTest.cs: Moved in System.Security.dll
176 2004-12-06 Sebastien Pouliot <sebastien@ximian.com>
178 * RSACryptoServiceProviderTest.cs: Adjusted unit tests to show that
179 RSACryptoServiceProvider doesn't support private keys without CRT
180 parameters available - except to import the keys.
182 2004-11-09 Sebastien Pouliot <sebastien@ximian.com>
184 * PasswordDeriveBytesTest.cs: Removed test for 69036. This is a MS
185 bug that will be fixed in 2.0 beta 2.
187 2004-11-03 Sebastien Pouliot <sebastien@ximian.com>
189 * DSACryptoServiceProviderTest.cs: Fixed UseMachineKeyStore not to
190 fail if the key container directory wasn't yet created (root).
191 * PasswordDeriveBytesTest.cs: Added tests for NET_2_0, more tests
192 for all constructors, tests for properties and a test for bug 69036.
193 * RSACryptoServiceProviderTest.cs: Fixed UseMachineKeyStore not to
194 fail if the key container directory wasn't yet created (root).
196 2004-08-31 Nick Drochak <ndrochak@gol.com>
198 * DSACryptoServiceProviderTest.cs:
199 * RSACryptoServiceProviderTest.cs: Feed csc smaller bite sizes.
201 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
203 * DESTest.cs: Added a new test case to check default values.
204 * HMACSHA1.cs: Fixed bad test (and renamed it).
205 * RC2Test.cs: Added a new test case to check default values.
206 * RijndaelTest.cs: Added a new test case to check default values.
207 Convert tests from NUnit 1 to 2.2.
208 * TripleDESTest.cs: Added a new test case to check default values.
209 Convert tests to NUnit 2.2.
211 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
213 * AllTests2.cs: Updated to NUnit 2.2 Assert.
214 * CipherModeTest.cs: New. Tests supported CipherMode for all
215 SymmetricAlgorithm included in the framework (enum contains two more
216 modes that aren't implemented in any Fx version).
217 * CryptoConfigTest.cs: Ajusted new OID (for old names) in Fx 2.0.
218 * CryptoStreamTest.cs: Fixed different reported exception in Fx 2.0.
220 * CspProviderFlagsTest.cs: New. Test the values of the enum.
221 * DSACryptoServiceProviderTest.cs: Added new tests for new public
222 properties and methods added in Fx 2.0. Duplicated test to import a
223 key pair into a disposed instance (works in Fx 2.0). Removed all
224 [Ignore]s in NET_2_0 as the MS class/runtime has been fixed.
225 * DSASignatureDeformatterTest.cs: Converted from NUnit 1 to 2.2. Fixed
226 different reported exception in Fx 2.0.
227 * DSASignatureFormatterTest.cs: Converted from NUnit 1 to 2.2. Fixed
228 different reported exception in Fx 2.0.
229 * HMACRIPEMD160Test.cs: Fixed tests using TransformFinalBlock.
230 * HMACSHA1Test.cs: Fixed tests so they work on both NET_1_1 and
231 NET_2_0 profiles (as HMACSHA1 changed it's base class).
232 * HashAlgorithmTest.cs: Fixed different reported exception in Fx 2.0.
233 Removed [Ignore] in NET_2_0 as the MS class/runtime has been fixed.
234 * MACTripleDESTest.cs: Fixed tests so they work on both NET_1_1 and
236 * PKCS1MaskGenerationMethodTest.cs: Removed [Ignore] in NET_2_0 as the
237 MS class has been fixed.
238 * PaddingModeTest.cs: Added new tests for the two new padding mode
239 introduced in Fx 2.0. Converted to NUnit 2.2.
240 * PasswordDeriveBytesTest.cs: Removed [ExpectedException] for
241 StrangeBehaviour test as it is fixed in Fx 2.0.
242 * RC2Test.cs: Changed exception from CryptographicException to
243 CryptographicUnexpectedOperationException for Fx 1.1/2.0.
244 * RIPEMD160Test.cs: Fixed tests using TransformFinalBlock.
245 * RSACryptoServiceProviderTest.cs: Added new tests for new public
246 properties and methods added in Fx 2.0. Duplicated test to import a
247 key pair into a disposed instance (works in Fx 2.0). Duplicated test
248 to sign with a null OID (Fx 2.0 use SHA1 oid in this case).
249 * RSAOAEPKeyExchangeDeformatterTest.cs: Changed exception for a key
250 exchange with no key (to match Fx 2.0).
251 * RSAOAEPKeyExchangeFormatterTest.cs: Changed exception for a key
252 exchange with no key (to match Fx 2.0).
253 * RSAPKCS1KeyExchangeFormatterTest.cs: Changed exception for a key
254 exchange with no key (to match Fx 2.0). Removed [Ignore] in NET_2_0 as
255 the MS class/runtime has been fixed.
256 * RSAPKCS1SignatureDeformatterTest.cs: Null keys, in constructor or in
257 SetKey method, now throw an ArgumentNullException in Fx 2.0.
258 * RSAPKCS1SignatureFormatterTest.cs: Null keys, in constructor or in
259 SetKey method, now throw an ArgumentNullException in Fx 2.0.
260 * Rfc2898DeriveBytesTest.cs: Typecasted a null as a string.
261 * SymmetricAlgorithm2Test.cs: In Fx 2.0 an empty IV now throws a
262 CryptographicException.
263 * ToBase64TransformTest.cs: Fixed different reported exception in Fx 2.0.
264 Removed [Ignore] in NET_2_0 as the MS class/runtime has been fixed.
266 2004-06-23 Sebastien Pouliot <sebastien@ximian.com>
268 * CryptoStreamTest.cs: Added two tests for bug #60573. One shows that
269 an encryptor doesn't reduce the number of block on Write while the
270 second shows that a decryptor does reduce the number of blocks on
273 2004-06-16 Sebastien Pouliot <sebastien@ximian.com>
275 * SignatureDescriptionTest.cs: Added missing [TestFixture] :( and
276 cases for the previously undocumented .ctor(SecurityElement) - which
277 is now, backwardly, documented in VS.NET 2005.
279 2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
281 * HashAlgorithmTest.cs: Added new tests to check for more exceptions.
283 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
285 * CryptoStreamTest.cs: Added new unit tests for overflows.
286 * FromBase64Transform.cs: Added new unit tests for undocumented
287 exceptions (null, overflows...).
288 * ToBase64TransformTest.cs: Added new unit tests for negatives and
291 2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
293 * CryptoStreamTest.cs, DESCryptoServiceProviderTest.cs,
294 DSACryptoServiceProviderTest.cs, DSATest.cs, FromBase64Transform.cs,
295 HMACRIPEMD160Test.cs, MD5Test.cs, PKCS1MaskGenerationMethodTest.cs,
296 RIPEMD160ManagedTest.cs, RNGCryptoServiceProviderTest.cs,
297 RSACryptoServiceProviderTest.cs, RSAOAEPKeyExchangeDeformatterTest.cs,
298 RSAOAEPKeyExchangeFormatterTest.cs, RSAPKCS1KeyExchangeDeformatterTest.cs,
299 RSAPKCS1KeyExchangeFormatterTest.cs, RSAPKCS1SignatureDeformatterTest.cs,
300 RSAPKCS1SignatureFormatterTest.cs, RSATest.cs: SetUp/TearDown are now
301 public (required for new nunit).
303 2004-05-17 Sebastien Pouliot <sebastien@ximian.com>
305 * RNGCryptoServiceProviderTest.cs: Added new tests to see how the
306 constructor behave with null seeds or if they modify the seed.
308 2004-05-07 Sebastien Pouliot <sebastien@ximian.com>
310 * DSACryptoServiceProviderTest.cs: Added a new unit test for SignData
311 (was badly tested) and simplified test to reduce key pair generations.
312 * PasswordDerivceBytesTest.cs: Added new tests to complete
314 * RSACryptoServiceProviderTest.cs: Added new tests to complete
316 * ToBase64TransformTest.cs: Added a (legal) test where the final
317 transform receive data smaller than it's input block (padding).
319 2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
321 * RC2Test.cs: Converted to NUnit 2. Uncommented some tests that throw
322 exceptions to test exception handling (and get more coverage).
323 * RNGCryptoServiceProviderTest.cs: Updated unit tests for exception
325 * RSAOAEPKeyExchangeDeformatterTest.cs: Updated unit tests to complete
327 * RSAOAEPKeyExchangeFormatterTest.cs: Updated unit tests to complete
329 * RSAPKCS1KeyExchangeDeformatterTest.cs: Updated unit tests to
331 * RSAPKCS1KeyExchangeFormatterTest.cs: Updated unit tests to complete
333 * RSAPKCS1SignatureDeformatterTest.cs: Updated unit tests to complete
335 * RSAPKCS1SignatureFormatterTest.cs: Updated unit tests to complete
337 * RSATest.cs: Updated unit tests for importing XML key pairs.
338 * SHA256Test.cs: Corrected Setup attribtue (was [Test]).
339 * SignatureDescriptionTest.cs: Removed unimplemented constructor from
340 tests. Converted to NUnit2.
341 * SymmetricAlgorithm2Test.cs: New. Non generated unit test for better
342 coverage (like exception testing).
343 * ToBase64TransformTest.cs: New. Unit tests to complete coverage of
345 * TripleDESTest.cs: New. Unit tests to complete coverage of TripleDES.
347 2004-04-29 Sebastien Pouliot <sebastien@ximian.com>
349 * DSACryptoServiceProviderTest.cs: New unit tests fo better coverage.
350 * FromBase64Transform.cs: New unit tests for better coverage.
351 * HashAlgorithmTest.cs: New unit tests for better coverage.
352 * HMACSHA1Test.cs: New unit tests for better coverage. Updated to
354 * KeyedHashAlgorithmTest.cs: Coverage already complete. Updated to
356 * SHA1Test.cs: Coverage already complete. Updated to NUnit2.
357 * SHA1CryptoServiceProviderTest.cs: Coverage almost complete. Updated
359 * SHA256Test.cs: Coverage already complete. Updated to NUnit2.
360 * SHA256ManagedTest.cs: Coverage already complete. Updated to NUnit2.
361 * SHA384Test.cs: Coverage already complete. Updated to NUnit2.
362 * SHA384ManagedTest.cs: Coverage almost complete. Updated to NUnit2.
363 * SHA512Test.cs: Coverage already complete. Updated to NUnit2.
364 * SHA512ManagedTest.cs: Coverage almost complete. Updated to NUnit2.
366 2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
368 * DESCryptoServiceProviderTest.cs: New. Completes coverage for
369 DESCryptoServiceProvider class. Calls the FIPS 81 tests for this
371 * DESTest.cs: Added test vectors from FIPS 81.
373 2004-04-26 Sebastien Pouliot <sebastien@ximian.com>
375 * DESTest.cs: New. Unit tests for DES including checks for weak and
376 semi-weak keys (with and without parity applied on keys). Completes
377 coverage for DES class.
379 2004-04-02 Bernie Solomon <bernard@ugsolutions.com>
381 * PasswordDeriveBytesTest.cs: Add ToInt32LE so
382 it works on big endian machines.
384 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
386 * FromBase64Transform.cs: Two new unit tests showing that the
387 transform doesn't care if it's data is invalid base64. Convert class
390 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
392 * FromBase64Transform.cs: Converted to NUnit2 format. New unit tests
393 for properties, Dispose, Reuse and ignored characters.
395 2004-03-09 Atsushi Enomoto <atsushi@ximian.com>
397 * DSATest.cs : Added ToXmlString test that checks if input without
398 Seed and PgenCounter elements pass or not.
400 2004-02-12 Sebastien Pouliot <spouliot@videotron.ca>
402 * CryptoStreamTest.cs: Added new tests for [From|To]Base64Transform
403 (InputBlockSize != OutputBlockSize) and for cascading CryptoStreams.
405 2004-02-09 Sebastien Pouliot <sebastien@ximian.com>
407 * DSACryptoServiceProvider.cs: Added new unit tests for key pair
409 * RSACryptoServiceProvider.cs: Added new unit tests for key pair
412 2004-02-04 Sebastien Pouliot <spouliot@videotron.ca>
414 * CryptoStreamTest.cs: Added many more tests for every problem found
415 with CryptoStream using code samples from the internet.
417 2003-12-15 Sebastien Pouliot <spouliot@videotron.ca>
419 * CryptoConfigTest.cs: Converted unit tests to NUnit2.
420 * PaddingModeTest.cs: New. Unit tests to check every padding modes for
421 symmetric algorithms.
422 * MACTripleDESTest.cs: Updated unit tests for NUnit2 and to work for
423 both 1.0 and 1.1 framework.
425 2003-11-13 Sebastien Pouliot <spouliot@videotron.ca>
427 * ProtectedDataTest.cs: New. Unit tests for ProtectedData (1.2).
428 * ProtectedMemoryTest.cs: New. Unit tests for ProtectedMemory (1.2).
430 2003-11-11 Sebastien Pouliot <spouliot@videotron.ca>
432 * Rfc2898DeriveBytesTest.cs: More tests for Reset and keys longer than
435 2003-11-10 Sebastien Pouliot <spouliot@videotron.ca>
437 * Rfc2898DeriveBytesTest.cs: New. Unit tests for Rfc2898DeriveBytes
438 and test vectors from RFC3211.
440 2003-11-09 Sebastien Pouliot <spouliot@videotron.ca>
442 * HMACMD5Test.cs: New. Unit test for HMAC-MD5 with test vectors from
444 * HMACRIPEMD160Test.cs: New. Unit test for HMAC-RIPEMD160 with test
445 vectors from http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html.
446 * HMACSHA256Test.cs: New. Unit test for HMAC-SHA256.
448 2003-11-08 Sebastien Pouliot <spouliot@videotron.ca>
450 * RIPEMD160Test.cs: New. Unit test using RIPEMD160 test vectors.
451 * RIPEMD160Managed.cs: New. Unit tests running RIPEMD160Test using the
452 RIPEMD160Managed implementation.
454 2003-10-04 Sebastien Pouliot <spouliot@videotron.ca>
456 * CryptoStreamTest.cs: Added test case from bugzilla #49323 from
457 Carlos Guzmán Álvarez and some small tests for empty stream with
458 different PaddingMode (as found by Lluis Sanchez Gual).
460 2003-08-05 Sebastien Pouliot <spouliot@videotron.ca>
462 * CryptoStreamTest.cs: Added test case from bugzilla #40689 from
465 2003-07-31 Sebastien Pouliot <spouliot@videotron.ca>
467 * CryptoStreamTest.cs: New. Very basic test for CryptoStream + the
468 test case from bugzilla #46143 from Joerg Rosenkranz.
469 * RSACryptoServiceProviderTest.cs: Fixed some exceptions that are
470 different from .NET 1.0 and 1.1.
472 2003-07-05 Sebastien Pouliot <spouliot@videotron.ca>
474 * DSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear
475 and better test coverage (based on Zoltan's logs).
476 * DSATest.cs: Converted to NUnit2 format. Added new tests for better unit
477 test coverage (import incomplete public keys).
478 * RSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear
479 and better test coverage (based on Zoltan's logs).
480 * RSATest.cs: Converted to NUnit2 format. Added new tests for better unit
481 test coverage (import incomplete public keys).
483 2003-06-23 Nick Drochak <ndrochak@gol.com>
485 * MACTripleDESTest.cs: Adjust for .NET 1.1.
487 2003-06-11 Sebastien Pouliot <spouliot@videotron.ca>
489 * AllTests2.cs: Converted tests to NUnit2 format.
490 * RSACryptoServiceProviderTest.cs: Converted tests to NUnit2 format.
491 * RSAPKCS1KeyExchangeDeformatterTest.cs: Converted tests to NUnit2 format.
492 * RSAPKCS1KeyExchangeFormatterTest.cs: Converted tests to NUnit2 format.
493 * RSAPKCS1SignatureDeformatterTest.cs: Converted tests to NUnit2 format.
494 * RSAPKCS1SignatureFormatterTest.cs: Converted tests to NUnit2 format.
496 2003-05-29 Sebastien Pouliot <spouliot@videotron.ca>
498 * PKCS1MaskGenerationMethodTest.cs: Added [Ignore] to vector test
499 (as it's result isn't valid on both framework 1.0 and 1.1).
500 * RSAPKCS1SignatureDeformatter.cs: Splitting the test for NUnit2
501 cloned the previous error into many more tests. Hopefully fixed.
503 2003-05-28 Sebastien Pouliot <spouliot@videotron.ca>
505 * RSAPKCS1SignatureDeformatter.cs: Fixed (well I hope so) a test
506 which doesn't throw the same exception under 1.1. Also converted
507 the tests to NUnit2 format.
509 2003-05-12 Sebastien Pouliot <spouliot@videotron.ca>
511 * PKCS1MaskGenerationMethodTest.cs: Uncommented PKCS#1 v.2.1 vector
512 unit test (will work on Mono but fails with MS implementation).
513 * RSAOAEPKeyExchangeDeformatterTest.cs: Updated tests vectors for
514 both Mono and MS (under Windows XP) generated OAEP results.
515 * RSAOAEPKeyExchangeFormatterTest.cs: Update exception handling.
517 2003-04-17 Nick Drochak <ndrochak@gol.com>
519 * DSATest.cs: Use nunit version 2 style to test throw.
520 * HMACSHA1Test.cs: Eliminate compiler warning.
522 2003-03-04 Sebastien Pouliot <spouliot@videotron.ca>
524 * CryptoConfigTest.cs: Added new tests for algorithms
525 documented in book ".NET Framework Security".
527 2003-02-03 Sebastien Pouliot <spouliot@videotron.ca>
529 * PasswordDeriveBytesTest.cs: Added some new tests to complete
531 * RSAPKCS1SignatureDeformatterTest.cs: Added test for null and
532 invalid hash algorithm.
534 2003-01-19 Sebastien Pouliot <spouliot@videotron.ca>
536 * HMACSHA1Test.cs: Added tests for constructors.
537 * MACTripleDESTest.cs: Added tests for constructors.
539 2003-01-12 Sebastien Pouliot <spouliot@videotron.ca>
541 * HashAlgorithmTest.cs: Added new test for null streams.
542 * MACTripleDESTest.cs: New. Test suite par MAC using 3DES.
544 2002-12-21 Nick Drochak <ndrochak@gol.com>
546 * all: make tests build and run under nunit2
548 2002-12-21 Nick Drochak <ndrochak@gol.com>
550 * AllTests2.cs: Helper file for unit tests
552 2002-11-20 Sebastien Pouliot <spouliot@videotron.ca>
554 * RSAPKCS1SignatureDeformatterTest.cs: Removed patch from Nick -
555 as it doesn't seems to work on my system and the exception behavior
556 isn't logical (only MD5 not SHA1, ...).
558 2002-11-18 Nick Drochak <ndrochak@gol.com>
560 * RSAPKCS1SignatureDeformatterTest.cs: MS .NET throws an exception when
561 verifying a bad signature. Test for that.
563 2002-11-17 Sebastien Pouliot <spouliot@videotron.ca>
565 * AllTests.cs: Added a common RSA keypair for tests and all RSA
566 suites for new tests.
567 * RSACryptoServiceProviderTest.cs: Include tests for keygen,
568 import/export and signature (no encryption yet).
569 * RSAOAEPKeyExchangeDeformatterTest.cs: Compare results with
570 pre-generated vectors from Mono/Windows (cannot yet compare
571 with CryptoAPI/Windows as OAEP isn't available on my system).
572 * RSAOAEPKeyExchangeFormatterTest.cs: Test that the Formatter output
573 is compatible with the Deformatter.
574 * RSAPKCS1KeyExchangeDeformatterTest.cs: Compare results with
575 pre-generated vectors from Mono/Windows and CryptoAPI/Windows.
576 * RSAPKCS1KeyExchangeFormatterTest.cs: Test that the Formatter output
577 is compatible with the Deformatter.
578 * RSAPKCS1SignatureDeformatterTest.cs: Compare results with
579 pre-generated vectors from Mono/Windows and CryptoAPI/Windows.
580 * RSAPKCS1SignatureFormatterTest.cs: Test that the Formatter output
581 is compatible with the Deformatter.
583 2002-11-16 Sebastien Pouliot <spouliot@videotron.ca>
585 * AllTests.cs: Added suites for DSASignatureDeformatter,
586 DSASignatureFormatter.
587 * CryptoConfigTest.cs: Tests new URLs. This test will fail
588 if System.Security.dll isn't present (or not yet compiled).
589 * DSACryptoServiceProviderTest.cs: New. Key generation (limited
590 because it's too slow), Import/Export, Signature and Verification.
591 * DSASignatureDeformatterTest.cs: New. Test signature verification.
592 * DSASignatureFormatterTest.cs: New. Test signature creation.
593 * DSATest.cs: Comment DSA-derived test class as DSA constructor
594 is internal. Reworked the test suite.
595 * SignatureDescriptionTest.cs: Added tests for
596 DSASignatureDescription and RSAPKCS1SHA1SignatureDescription.
598 2002-11-02 Sebastien Pouliot <spouliot@videotron.ca>
600 * AllTests.cs: Added suites for SignatureDescription and
601 activated suites for SHA384Managed and SHA512Managed.
602 * SignatureDescriptionTest.cs: New. Basic tests (because I don't
603 know the context in which the class is used).
605 2002-10-28 Sebastien Pouliot <spouliot@videotron.ca>
607 * AllTests.cs: Added test suites for SHA256, SHA384 and SHA512
608 (last two partly commented until implementation is commited).
609 * SHA256Test.cs: New. Generic FIPS180-2 tests for SHA-256.
610 * SHA256ManagedTest.cs: New. Implementation tests (inherits
612 * SHA384Test.cs: New. Generic FIPS180-2 tests for SHA-384.
613 * SHA384ManagedTest.cs: New. Implementation tests (inherits
615 * SHA512Test.cs: New. Generic FIPS180-2 tests for SHA-512.
616 * SHA512ManagedTest.cs: New. Implementation tests (inherits
619 2002-10-25 Sebastien Pouliot <spouliot@videotron.ca>
621 * AllTests.cs: Added suite for PasswordDeriveBytes
622 * PasswordDeriveBytesTest.cs: New. Tests against pre-generated vectors -
623 only works for short runs (keys < HashSize) not long runs
625 2002-10-20 Sebastien Pouliot <spouliot@videotron.ca>
627 * AllTests.cs: Added suite for Rjindael
628 * RjindaelTest.cs: New. Test vectors from FIPS PUB 197 appendix.
630 2002-10-19 Sebastien Pouliot <spouliot@videotron.ca>
632 * AllTests.cs: Renabled most tests after commenting all code causing a
633 cyclic dependency (corlib->System.Xml->corlib). Some tests will fail
634 until commented code is replaced.
635 * SymmetricAlgorithm.cs: New (189) generated test cases for all default
636 algorithm implementation, all cipher modes, all padding modes, all key
637 sizes, all block sizes, feedback...
638 * PKCS1MaskGenerationMethodTest.cs: Commented vector test. Added new
639 tests to check for various exceptions
641 2002-10-16 Nick Drochak <ndrochak@gol.com>
643 * CryptoConfigTest.cs (TestCreateFromName): Disable tests for
644 algorithms that aren't in the build yet.
646 2002-10-16 Nick Drochak <ndrochak@gol.com>
648 * AllTests.cs: Disable tests that use components were are excluding
652 2002-10-14 Sebastien Pouliot <spouliot@videotron.ca>
654 * AllTests.cs: Added suite for PKCS1MaskGenerationMethod
655 * PKCS1MaskGenerationMethodTest.cs: New. Test work as per PKCS#1 but
656 result isn't the same as MS implementation !?! is MS using this class ?
658 2002-10-13 Sebastien Pouliot <spouliot@videotron.ca>
660 * AllTests.cs: Added suite for HashAlgorithm, KeyedHashAlgorithm and
662 * HashAlgorithmTest.cs: New. Test for Create and Clear
663 * KeyedHashAlgorithmTest.cs: New. Test for Create and key assignation
664 * HMACSHA1Test.cs: New. Test vectors from FIPS 198 and RFC2202
666 2002-10-12 Sebastien Pouliot <spouliot@videotron.ca>
668 * AllTests.cs: Added suite for RandomNumberGenerator, SHA1 and
669 SHA1CryptoServiceProvider
670 * RandomNumberGeneratorTest.cs: New. Tests for Create and generic
671 random quality tests (FIPS140-2)
672 * SHA1Test.cs: New. Tests for Create and generic SHA1 tests (FIPS180-1)
673 * SHA1CryptoServiceProviderTest.cs: New. Inherited SHA1Tests tests +
676 2002-10-10 Sebastien Pouliot <spouliot@videotron.ca>
678 * DSATest.cs: Added non-abstract DSA class to test To/FromXmlString()
679 * RSATest.cs: Added non-abstract RSA class to test To/FromXmlString()
680 * AllTests.cs: Added DSATest.cs and RSATest.cs in suite
682 2002-10-09 Sebastien Pouliot <spouliot@videotron.ca>
684 * CryptoConfigTest.cs: New tests
685 * AllTests.cs: Added CryptoConfigTest in suite
687 2002-10-05 Andrew Birkett <andy@nobugs.org>
689 * RC2Test.cs: New test. Only three cases are enabled - the other
690 five work fine under mono, but fail under MS corlib, so I've
693 * AllTests.cs: Added RC2Test.
695 2002-09-23 Andrew Birkett <andy@nobugs.org>
697 * RijndaelManagedTest.cs: Fixed initialization order problem
698 to match MS behaviour.
700 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
702 * MD5Test.cs: new test from Eduardo García Cebollero (kiwnix@yahoo.es).
703 * AllTests.cs: added new test.