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