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