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