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