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