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