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