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