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