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