1 2005-11-22 Sebastien Pouliot <sebastien@ximian.com>
3 * DSATest.cs: Added test case where J isn't imported. In this case we
4 don't export (our internally calculated) J and it's also not part of
7 2005-10-21 Sebastien Pouliot <sebastien@ximian.com>
9 * RC2CryptoServiceProviderTest.cs: New. Unit tests specific to this
10 implementation (not algorithm specific but required to match MS
12 * RijndaelManagedTest.cs: Added unit tests specific to this
13 implementation (not algorithm specific but required to match MS
15 * DESCryptoServiceProviderTest.cs: Added unit tests specific to this
16 implementation (not algorithm specific but required to match MS
18 * TripleDESCryptoServiceProviderTest.cs: New. Unit tests specific to
19 this implementation (not algorithm specific but required to match MS
22 2005-09-29 Sebastien Pouliot <sebastien@ximian.com>
24 * HMACSHA1Test.cs: Use the new ctor(byte[],bool) introduced in 2.0 RC
25 in some of the existing tests (under 2.0).
27 2005-04-27 Sebastien Pouliot <sebastien@ximian.com>
29 * DSACryptoServiceProviderTest.cs: Catch UnauthorizedAccessException
30 directly in UseMachineKeyStore (not just wrapped inside a
31 CryptographicException).
32 * RSACryptoServiceProviderTest.cs: Catch UnauthorizedAccessException
33 directly in UseMachineKeyStore (not just wrapped inside a
34 CryptographicException).
36 2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
38 * CryptoConfigTest.cs: Check that ArgumentNullException is throw in
39 EncodeOID for 2.0. Comment test for RSA OID (2.0).
40 * DESTest.cs: Check that null keys throws CryptographicException in
41 IsWeakKey and IsSemiWeakKey for 2.0.
42 * TripleDESTest.cs: Check that null keys throws CryptographicException
44 * SymmetricAlgorithm2Test.cs: Check that a FeedbackSize of zero throws
45 a CryptographicException in 2.0.
47 2005-04-18 Sebastien Pouliot <sebastien@ximian.com>
49 * SymmetricAlgorithm2Test.cs: Added a test case where the FeedBackSize
50 is set to 0 before starting encryption.
52 2005-03-30 Sebastien Pouliot <sebastien@ximian.com>
54 * CryptoStreamTest.cs: Added test case when when no padding is used.
56 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
58 * CryptoConfigCas.cs: New. CAS unit tests for CryptoConfig.
59 * CryptoAPITransformCas.cs: New. CAS unit tests for CryptoAPITransform.
61 2005-02-10 Sebastien Pouliot <sebastien@ximian.com>
63 * DSATest.cs: Added unit test for Counter == 0. Actualized test cases
64 for NET_2_0 now that we can inherit from DSA outside corlib.
66 2005-01-30 Sebastien Pouliot <sebastien@ximian.com>
68 * PasswordDeriveBytesTest.cs: Changed [Ignore] to [Category
69 ("NotWorking")] to reduce nunit logs.
71 2005-01-19 Sebastien Pouliot <sebastien@ximian.com>
73 * CryptoStreamTest.cs: Added [ExpectedException] for [Ignored] unit
74 tests that were converted to [Category]
76 2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
78 * CryptoConfigTest.cs: Added new RIPEMD160 hash algorithm and new HMAC
79 algorithms (HMACMD5, HMACRIPEMD160, HMACSHA256, HMACSHA384 and
80 HMACSHA512) to the tests.
81 * DSACryptoServiceProviderTest.cs: Fixed VerifySignatureWithoutKey to
82 ensure that Mono didn't create the key before starting verification.
83 * RSACryptoServiceProviderTest.cs: Added tests for PublicOnly in the
84 constructor tests and for VerifyHash with a null OID.
85 * RSAPKCS1SignatureFormatterTest.cs: Fixed signatures values for
86 SHA256, SHA384 and SHA512 for NET_2_0 profile. The older signatures
87 (working only in Mono) can't be used because 2.0 use new OID for those
88 hash algorithms. Note that this still only works with Mono in 2.0!
90 2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
92 * CryptoStreamTest.cs, DSACryptoServiceProviderTest.cs,
93 HashAlgorithmTest.cs, PKCS1MaskGenerationMethodTest.cs,
94 RSAPKCS1KeyExchangeFormatterTest.cs, ToBase64TransformTest.cs:
95 Use [Category ("NotDotNet")] for tests failing only on the MS runtime
96 (so they are now executed on Mono).
98 2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
100 * TripleDESTest.cs: Testing weak key with null throws a NRE.
102 2005-01-06 Sebastien Pouliot <sebastien@ximian.com>
104 * DESTest.cs: Updated weak key and semi-weak key tests with more
106 * TripleDESTest.cs: Added tests when including a DES weak key into
109 2005-01-04 Sebastien Pouliot <sebastien@ximian.com>
111 * CryptoStreamTest.cs: Undo some previous fixes that have changed from
112 2.0 Nov CTP. Stream chaining was working on Nov CTP but are failing
115 2004-12-23 Sebastien Pouliot <sebastien@ximian.com>
117 * CryptoStreamTest.cs: Fixed tests to execute properly on 2.0 Nov CTP.
118 * DSACryptoServiceProviderTest.cs: Fixed tests to execute properly on
120 * PaddingModeTest.cs: Fixed tests to execute properly on 2.0 Nov CTP.
121 * RSACryptoServiceProviderTest.cs: Fixed tests to execute properly on
124 2004-12-23 Sebastien Pouliot <sebastien@ximian.com>
126 * ProtectedDataTest.cs: Moved in System.Security.dll
127 * ProtectedMemoryTest.cs: Moved in System.Security.dll
129 2004-12-06 Sebastien Pouliot <sebastien@ximian.com>
131 * RSACryptoServiceProviderTest.cs: Adjusted unit tests to show that
132 RSACryptoServiceProvider doesn't support private keys without CRT
133 parameters available - except to import the keys.
135 2004-11-09 Sebastien Pouliot <sebastien@ximian.com>
137 * PasswordDeriveBytesTest.cs: Removed test for 69036. This is a MS
138 bug that will be fixed in 2.0 beta 2.
140 2004-11-03 Sebastien Pouliot <sebastien@ximian.com>
142 * DSACryptoServiceProviderTest.cs: Fixed UseMachineKeyStore not to
143 fail if the key container directory wasn't yet created (root).
144 * PasswordDeriveBytesTest.cs: Added tests for NET_2_0, more tests
145 for all constructors, tests for properties and a test for bug 69036.
146 * RSACryptoServiceProviderTest.cs: Fixed UseMachineKeyStore not to
147 fail if the key container directory wasn't yet created (root).
149 2004-08-31 Nick Drochak <ndrochak@gol.com>
151 * DSACryptoServiceProviderTest.cs:
152 * RSACryptoServiceProviderTest.cs: Feed csc smaller bite sizes.
154 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
156 * DESTest.cs: Added a new test case to check default values.
157 * HMACSHA1.cs: Fixed bad test (and renamed it).
158 * RC2Test.cs: Added a new test case to check default values.
159 * RijndaelTest.cs: Added a new test case to check default values.
160 Convert tests from NUnit 1 to 2.2.
161 * TripleDESTest.cs: Added a new test case to check default values.
162 Convert tests to NUnit 2.2.
164 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
166 * AllTests2.cs: Updated to NUnit 2.2 Assert.
167 * CipherModeTest.cs: New. Tests supported CipherMode for all
168 SymmetricAlgorithm included in the framework (enum contains two more
169 modes that aren't implemented in any Fx version).
170 * CryptoConfigTest.cs: Ajusted new OID (for old names) in Fx 2.0.
171 * CryptoStreamTest.cs: Fixed different reported exception in Fx 2.0.
173 * CspProviderFlagsTest.cs: New. Test the values of the enum.
174 * DSACryptoServiceProviderTest.cs: Added new tests for new public
175 properties and methods added in Fx 2.0. Duplicated test to import a
176 key pair into a disposed instance (works in Fx 2.0). Removed all
177 [Ignore]s in NET_2_0 as the MS class/runtime has been fixed.
178 * DSASignatureDeformatterTest.cs: Converted from NUnit 1 to 2.2. Fixed
179 different reported exception in Fx 2.0.
180 * DSASignatureFormatterTest.cs: Converted from NUnit 1 to 2.2. Fixed
181 different reported exception in Fx 2.0.
182 * HMACRIPEMD160Test.cs: Fixed tests using TransformFinalBlock.
183 * HMACSHA1Test.cs: Fixed tests so they work on both NET_1_1 and
184 NET_2_0 profiles (as HMACSHA1 changed it's base class).
185 * HashAlgorithmTest.cs: Fixed different reported exception in Fx 2.0.
186 Removed [Ignore] in NET_2_0 as the MS class/runtime has been fixed.
187 * MACTripleDESTest.cs: Fixed tests so they work on both NET_1_1 and
189 * PKCS1MaskGenerationMethodTest.cs: Removed [Ignore] in NET_2_0 as the
190 MS class has been fixed.
191 * PaddingModeTest.cs: Added new tests for the two new padding mode
192 introduced in Fx 2.0. Converted to NUnit 2.2.
193 * PasswordDeriveBytesTest.cs: Removed [ExpectedException] for
194 StrangeBehaviour test as it is fixed in Fx 2.0.
195 * RC2Test.cs: Changed exception from CryptographicException to
196 CryptographicUnexpectedOperationException for Fx 1.1/2.0.
197 * RIPEMD160Test.cs: Fixed tests using TransformFinalBlock.
198 * RSACryptoServiceProviderTest.cs: Added new tests for new public
199 properties and methods added in Fx 2.0. Duplicated test to import a
200 key pair into a disposed instance (works in Fx 2.0). Duplicated test
201 to sign with a null OID (Fx 2.0 use SHA1 oid in this case).
202 * RSAOAEPKeyExchangeDeformatterTest.cs: Changed exception for a key
203 exchange with no key (to match Fx 2.0).
204 * RSAOAEPKeyExchangeFormatterTest.cs: Changed exception for a key
205 exchange with no key (to match Fx 2.0).
206 * RSAPKCS1KeyExchangeFormatterTest.cs: Changed exception for a key
207 exchange with no key (to match Fx 2.0). Removed [Ignore] in NET_2_0 as
208 the MS class/runtime has been fixed.
209 * RSAPKCS1SignatureDeformatterTest.cs: Null keys, in constructor or in
210 SetKey method, now throw an ArgumentNullException in Fx 2.0.
211 * RSAPKCS1SignatureFormatterTest.cs: Null keys, in constructor or in
212 SetKey method, now throw an ArgumentNullException in Fx 2.0.
213 * Rfc2898DeriveBytesTest.cs: Typecasted a null as a string.
214 * SymmetricAlgorithm2Test.cs: In Fx 2.0 an empty IV now throws a
215 CryptographicException.
216 * ToBase64TransformTest.cs: Fixed different reported exception in Fx 2.0.
217 Removed [Ignore] in NET_2_0 as the MS class/runtime has been fixed.
219 2004-06-23 Sebastien Pouliot <sebastien@ximian.com>
221 * CryptoStreamTest.cs: Added two tests for bug #60573. One shows that
222 an encryptor doesn't reduce the number of block on Write while the
223 second shows that a decryptor does reduce the number of blocks on
226 2004-06-16 Sebastien Pouliot <sebastien@ximian.com>
228 * SignatureDescriptionTest.cs: Added missing [TestFixture] :( and
229 cases for the previously undocumented .ctor(SecurityElement) - which
230 is now, backwardly, documented in VS.NET 2005.
232 2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
234 * HashAlgorithmTest.cs: Added new tests to check for more exceptions.
236 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
238 * CryptoStreamTest.cs: Added new unit tests for overflows.
239 * FromBase64Transform.cs: Added new unit tests for undocumented
240 exceptions (null, overflows...).
241 * ToBase64TransformTest.cs: Added new unit tests for negatives and
244 2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
246 * CryptoStreamTest.cs, DESCryptoServiceProviderTest.cs,
247 DSACryptoServiceProviderTest.cs, DSATest.cs, FromBase64Transform.cs,
248 HMACRIPEMD160Test.cs, MD5Test.cs, PKCS1MaskGenerationMethodTest.cs,
249 RIPEMD160ManagedTest.cs, RNGCryptoServiceProviderTest.cs,
250 RSACryptoServiceProviderTest.cs, RSAOAEPKeyExchangeDeformatterTest.cs,
251 RSAOAEPKeyExchangeFormatterTest.cs, RSAPKCS1KeyExchangeDeformatterTest.cs,
252 RSAPKCS1KeyExchangeFormatterTest.cs, RSAPKCS1SignatureDeformatterTest.cs,
253 RSAPKCS1SignatureFormatterTest.cs, RSATest.cs: SetUp/TearDown are now
254 public (required for new nunit).
256 2004-05-17 Sebastien Pouliot <sebastien@ximian.com>
258 * RNGCryptoServiceProviderTest.cs: Added new tests to see how the
259 constructor behave with null seeds or if they modify the seed.
261 2004-05-07 Sebastien Pouliot <sebastien@ximian.com>
263 * DSACryptoServiceProviderTest.cs: Added a new unit test for SignData
264 (was badly tested) and simplified test to reduce key pair generations.
265 * PasswordDerivceBytesTest.cs: Added new tests to complete
267 * RSACryptoServiceProviderTest.cs: Added new tests to complete
269 * ToBase64TransformTest.cs: Added a (legal) test where the final
270 transform receive data smaller than it's input block (padding).
272 2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
274 * RC2Test.cs: Converted to NUnit 2. Uncommented some tests that throw
275 exceptions to test exception handling (and get more coverage).
276 * RNGCryptoServiceProviderTest.cs: Updated unit tests for exception
278 * RSAOAEPKeyExchangeDeformatterTest.cs: Updated unit tests to complete
280 * RSAOAEPKeyExchangeFormatterTest.cs: Updated unit tests to complete
282 * RSAPKCS1KeyExchangeDeformatterTest.cs: Updated unit tests to
284 * RSAPKCS1KeyExchangeFormatterTest.cs: Updated unit tests to complete
286 * RSAPKCS1SignatureDeformatterTest.cs: Updated unit tests to complete
288 * RSAPKCS1SignatureFormatterTest.cs: Updated unit tests to complete
290 * RSATest.cs: Updated unit tests for importing XML key pairs.
291 * SHA256Test.cs: Corrected Setup attribtue (was [Test]).
292 * SignatureDescriptionTest.cs: Removed unimplemented constructor from
293 tests. Converted to NUnit2.
294 * SymmetricAlgorithm2Test.cs: New. Non generated unit test for better
295 coverage (like exception testing).
296 * ToBase64TransformTest.cs: New. Unit tests to complete coverage of
298 * TripleDESTest.cs: New. Unit tests to complete coverage of TripleDES.
300 2004-04-29 Sebastien Pouliot <sebastien@ximian.com>
302 * DSACryptoServiceProviderTest.cs: New unit tests fo better coverage.
303 * FromBase64Transform.cs: New unit tests for better coverage.
304 * HashAlgorithmTest.cs: New unit tests for better coverage.
305 * HMACSHA1Test.cs: New unit tests for better coverage. Updated to
307 * KeyedHashAlgorithmTest.cs: Coverage already complete. Updated to
309 * SHA1Test.cs: Coverage already complete. Updated to NUnit2.
310 * SHA1CryptoServiceProviderTest.cs: Coverage almost complete. Updated
312 * SHA256Test.cs: Coverage already complete. Updated to NUnit2.
313 * SHA256ManagedTest.cs: Coverage already complete. Updated to NUnit2.
314 * SHA384Test.cs: Coverage already complete. Updated to NUnit2.
315 * SHA384ManagedTest.cs: Coverage almost complete. Updated to NUnit2.
316 * SHA512Test.cs: Coverage already complete. Updated to NUnit2.
317 * SHA512ManagedTest.cs: Coverage almost complete. Updated to NUnit2.
319 2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
321 * DESCryptoServiceProviderTest.cs: New. Completes coverage for
322 DESCryptoServiceProvider class. Calls the FIPS 81 tests for this
324 * DESTest.cs: Added test vectors from FIPS 81.
326 2004-04-26 Sebastien Pouliot <sebastien@ximian.com>
328 * DESTest.cs: New. Unit tests for DES including checks for weak and
329 semi-weak keys (with and without parity applied on keys). Completes
330 coverage for DES class.
332 2004-04-02 Bernie Solomon <bernard@ugsolutions.com>
334 * PasswordDeriveBytesTest.cs: Add ToInt32LE so
335 it works on big endian machines.
337 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
339 * FromBase64Transform.cs: Two new unit tests showing that the
340 transform doesn't care if it's data is invalid base64. Convert class
343 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
345 * FromBase64Transform.cs: Converted to NUnit2 format. New unit tests
346 for properties, Dispose, Reuse and ignored characters.
348 2004-03-09 Atsushi Enomoto <atsushi@ximian.com>
350 * DSATest.cs : Added ToXmlString test that checks if input without
351 Seed and PgenCounter elements pass or not.
353 2004-02-12 Sebastien Pouliot <spouliot@videotron.ca>
355 * CryptoStreamTest.cs: Added new tests for [From|To]Base64Transform
356 (InputBlockSize != OutputBlockSize) and for cascading CryptoStreams.
358 2004-02-09 Sebastien Pouliot <sebastien@ximian.com>
360 * DSACryptoServiceProvider.cs: Added new unit tests for key pair
362 * RSACryptoServiceProvider.cs: Added new unit tests for key pair
365 2004-02-04 Sebastien Pouliot <spouliot@videotron.ca>
367 * CryptoStreamTest.cs: Added many more tests for every problem found
368 with CryptoStream using code samples from the internet.
370 2003-12-15 Sebastien Pouliot <spouliot@videotron.ca>
372 * CryptoConfigTest.cs: Converted unit tests to NUnit2.
373 * PaddingModeTest.cs: New. Unit tests to check every padding modes for
374 symmetric algorithms.
375 * MACTripleDESTest.cs: Updated unit tests for NUnit2 and to work for
376 both 1.0 and 1.1 framework.
378 2003-11-13 Sebastien Pouliot <spouliot@videotron.ca>
380 * ProtectedDataTest.cs: New. Unit tests for ProtectedData (1.2).
381 * ProtectedMemoryTest.cs: New. Unit tests for ProtectedMemory (1.2).
383 2003-11-11 Sebastien Pouliot <spouliot@videotron.ca>
385 * Rfc2898DeriveBytesTest.cs: More tests for Reset and keys longer than
388 2003-11-10 Sebastien Pouliot <spouliot@videotron.ca>
390 * Rfc2898DeriveBytesTest.cs: New. Unit tests for Rfc2898DeriveBytes
391 and test vectors from RFC3211.
393 2003-11-09 Sebastien Pouliot <spouliot@videotron.ca>
395 * HMACMD5Test.cs: New. Unit test for HMAC-MD5 with test vectors from
397 * HMACRIPEMD160Test.cs: New. Unit test for HMAC-RIPEMD160 with test
398 vectors from http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html.
399 * HMACSHA256Test.cs: New. Unit test for HMAC-SHA256.
401 2003-11-08 Sebastien Pouliot <spouliot@videotron.ca>
403 * RIPEMD160Test.cs: New. Unit test using RIPEMD160 test vectors.
404 * RIPEMD160Managed.cs: New. Unit tests running RIPEMD160Test using the
405 RIPEMD160Managed implementation.
407 2003-10-04 Sebastien Pouliot <spouliot@videotron.ca>
409 * CryptoStreamTest.cs: Added test case from bugzilla #49323 from
410 Carlos Guzmán Álvarez and some small tests for empty stream with
411 different PaddingMode (as found by Lluis Sanchez Gual).
413 2003-08-05 Sebastien Pouliot <spouliot@videotron.ca>
415 * CryptoStreamTest.cs: Added test case from bugzilla #40689 from
418 2003-07-31 Sebastien Pouliot <spouliot@videotron.ca>
420 * CryptoStreamTest.cs: New. Very basic test for CryptoStream + the
421 test case from bugzilla #46143 from Joerg Rosenkranz.
422 * RSACryptoServiceProviderTest.cs: Fixed some exceptions that are
423 different from .NET 1.0 and 1.1.
425 2003-07-05 Sebastien Pouliot <spouliot@videotron.ca>
427 * DSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear
428 and better test coverage (based on Zoltan's logs).
429 * DSATest.cs: Converted to NUnit2 format. Added new tests for better unit
430 test coverage (import incomplete public keys).
431 * RSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear
432 and better test coverage (based on Zoltan's logs).
433 * RSATest.cs: Converted to NUnit2 format. Added new tests for better unit
434 test coverage (import incomplete public keys).
436 2003-06-23 Nick Drochak <ndrochak@gol.com>
438 * MACTripleDESTest.cs: Adjust for .NET 1.1.
440 2003-06-11 Sebastien Pouliot <spouliot@videotron.ca>
442 * AllTests2.cs: Converted tests to NUnit2 format.
443 * RSACryptoServiceProviderTest.cs: Converted tests to NUnit2 format.
444 * RSAPKCS1KeyExchangeDeformatterTest.cs: Converted tests to NUnit2 format.
445 * RSAPKCS1KeyExchangeFormatterTest.cs: Converted tests to NUnit2 format.
446 * RSAPKCS1SignatureDeformatterTest.cs: Converted tests to NUnit2 format.
447 * RSAPKCS1SignatureFormatterTest.cs: Converted tests to NUnit2 format.
449 2003-05-29 Sebastien Pouliot <spouliot@videotron.ca>
451 * PKCS1MaskGenerationMethodTest.cs: Added [Ignore] to vector test
452 (as it's result isn't valid on both framework 1.0 and 1.1).
453 * RSAPKCS1SignatureDeformatter.cs: Splitting the test for NUnit2
454 cloned the previous error into many more tests. Hopefully fixed.
456 2003-05-28 Sebastien Pouliot <spouliot@videotron.ca>
458 * RSAPKCS1SignatureDeformatter.cs: Fixed (well I hope so) a test
459 which doesn't throw the same exception under 1.1. Also converted
460 the tests to NUnit2 format.
462 2003-05-12 Sebastien Pouliot <spouliot@videotron.ca>
464 * PKCS1MaskGenerationMethodTest.cs: Uncommented PKCS#1 v.2.1 vector
465 unit test (will work on Mono but fails with MS implementation).
466 * RSAOAEPKeyExchangeDeformatterTest.cs: Updated tests vectors for
467 both Mono and MS (under Windows XP) generated OAEP results.
468 * RSAOAEPKeyExchangeFormatterTest.cs: Update exception handling.
470 2003-04-17 Nick Drochak <ndrochak@gol.com>
472 * DSATest.cs: Use nunit version 2 style to test throw.
473 * HMACSHA1Test.cs: Eliminate compiler warning.
475 2003-03-04 Sebastien Pouliot <spouliot@videotron.ca>
477 * CryptoConfigTest.cs: Added new tests for algorithms
478 documented in book ".NET Framework Security".
480 2003-02-03 Sebastien Pouliot <spouliot@videotron.ca>
482 * PasswordDeriveBytesTest.cs: Added some new tests to complete
484 * RSAPKCS1SignatureDeformatterTest.cs: Added test for null and
485 invalid hash algorithm.
487 2003-01-19 Sebastien Pouliot <spouliot@videotron.ca>
489 * HMACSHA1Test.cs: Added tests for constructors.
490 * MACTripleDESTest.cs: Added tests for constructors.
492 2003-01-12 Sebastien Pouliot <spouliot@videotron.ca>
494 * HashAlgorithmTest.cs: Added new test for null streams.
495 * MACTripleDESTest.cs: New. Test suite par MAC using 3DES.
497 2002-12-21 Nick Drochak <ndrochak@gol.com>
499 * all: make tests build and run under nunit2
501 2002-12-21 Nick Drochak <ndrochak@gol.com>
503 * AllTests2.cs: Helper file for unit tests
505 2002-11-20 Sebastien Pouliot <spouliot@videotron.ca>
507 * RSAPKCS1SignatureDeformatterTest.cs: Removed patch from Nick -
508 as it doesn't seems to work on my system and the exception behavior
509 isn't logical (only MD5 not SHA1, ...).
511 2002-11-18 Nick Drochak <ndrochak@gol.com>
513 * RSAPKCS1SignatureDeformatterTest.cs: MS .NET throws an exception when
514 verifying a bad signature. Test for that.
516 2002-11-17 Sebastien Pouliot <spouliot@videotron.ca>
518 * AllTests.cs: Added a common RSA keypair for tests and all RSA
519 suites for new tests.
520 * RSACryptoServiceProviderTest.cs: Include tests for keygen,
521 import/export and signature (no encryption yet).
522 * RSAOAEPKeyExchangeDeformatterTest.cs: Compare results with
523 pre-generated vectors from Mono/Windows (cannot yet compare
524 with CryptoAPI/Windows as OAEP isn't available on my system).
525 * RSAOAEPKeyExchangeFormatterTest.cs: Test that the Formatter output
526 is compatible with the Deformatter.
527 * RSAPKCS1KeyExchangeDeformatterTest.cs: Compare results with
528 pre-generated vectors from Mono/Windows and CryptoAPI/Windows.
529 * RSAPKCS1KeyExchangeFormatterTest.cs: Test that the Formatter output
530 is compatible with the Deformatter.
531 * RSAPKCS1SignatureDeformatterTest.cs: Compare results with
532 pre-generated vectors from Mono/Windows and CryptoAPI/Windows.
533 * RSAPKCS1SignatureFormatterTest.cs: Test that the Formatter output
534 is compatible with the Deformatter.
536 2002-11-16 Sebastien Pouliot <spouliot@videotron.ca>
538 * AllTests.cs: Added suites for DSASignatureDeformatter,
539 DSASignatureFormatter.
540 * CryptoConfigTest.cs: Tests new URLs. This test will fail
541 if System.Security.dll isn't present (or not yet compiled).
542 * DSACryptoServiceProviderTest.cs: New. Key generation (limited
543 because it's too slow), Import/Export, Signature and Verification.
544 * DSASignatureDeformatterTest.cs: New. Test signature verification.
545 * DSASignatureFormatterTest.cs: New. Test signature creation.
546 * DSATest.cs: Comment DSA-derived test class as DSA constructor
547 is internal. Reworked the test suite.
548 * SignatureDescriptionTest.cs: Added tests for
549 DSASignatureDescription and RSAPKCS1SHA1SignatureDescription.
551 2002-11-02 Sebastien Pouliot <spouliot@videotron.ca>
553 * AllTests.cs: Added suites for SignatureDescription and
554 activated suites for SHA384Managed and SHA512Managed.
555 * SignatureDescriptionTest.cs: New. Basic tests (because I don't
556 know the context in which the class is used).
558 2002-10-28 Sebastien Pouliot <spouliot@videotron.ca>
560 * AllTests.cs: Added test suites for SHA256, SHA384 and SHA512
561 (last two partly commented until implementation is commited).
562 * SHA256Test.cs: New. Generic FIPS180-2 tests for SHA-256.
563 * SHA256ManagedTest.cs: New. Implementation tests (inherits
565 * SHA384Test.cs: New. Generic FIPS180-2 tests for SHA-384.
566 * SHA384ManagedTest.cs: New. Implementation tests (inherits
568 * SHA512Test.cs: New. Generic FIPS180-2 tests for SHA-512.
569 * SHA512ManagedTest.cs: New. Implementation tests (inherits
572 2002-10-25 Sebastien Pouliot <spouliot@videotron.ca>
574 * AllTests.cs: Added suite for PasswordDeriveBytes
575 * PasswordDeriveBytesTest.cs: New. Tests against pre-generated vectors -
576 only works for short runs (keys < HashSize) not long runs
578 2002-10-20 Sebastien Pouliot <spouliot@videotron.ca>
580 * AllTests.cs: Added suite for Rjindael
581 * RjindaelTest.cs: New. Test vectors from FIPS PUB 197 appendix.
583 2002-10-19 Sebastien Pouliot <spouliot@videotron.ca>
585 * AllTests.cs: Renabled most tests after commenting all code causing a
586 cyclic dependency (corlib->System.Xml->corlib). Some tests will fail
587 until commented code is replaced.
588 * SymmetricAlgorithm.cs: New (189) generated test cases for all default
589 algorithm implementation, all cipher modes, all padding modes, all key
590 sizes, all block sizes, feedback...
591 * PKCS1MaskGenerationMethodTest.cs: Commented vector test. Added new
592 tests to check for various exceptions
594 2002-10-16 Nick Drochak <ndrochak@gol.com>
596 * CryptoConfigTest.cs (TestCreateFromName): Disable tests for
597 algorithms that aren't in the build yet.
599 2002-10-16 Nick Drochak <ndrochak@gol.com>
601 * AllTests.cs: Disable tests that use components were are excluding
605 2002-10-14 Sebastien Pouliot <spouliot@videotron.ca>
607 * AllTests.cs: Added suite for PKCS1MaskGenerationMethod
608 * PKCS1MaskGenerationMethodTest.cs: New. Test work as per PKCS#1 but
609 result isn't the same as MS implementation !?! is MS using this class ?
611 2002-10-13 Sebastien Pouliot <spouliot@videotron.ca>
613 * AllTests.cs: Added suite for HashAlgorithm, KeyedHashAlgorithm and
615 * HashAlgorithmTest.cs: New. Test for Create and Clear
616 * KeyedHashAlgorithmTest.cs: New. Test for Create and key assignation
617 * HMACSHA1Test.cs: New. Test vectors from FIPS 198 and RFC2202
619 2002-10-12 Sebastien Pouliot <spouliot@videotron.ca>
621 * AllTests.cs: Added suite for RandomNumberGenerator, SHA1 and
622 SHA1CryptoServiceProvider
623 * RandomNumberGeneratorTest.cs: New. Tests for Create and generic
624 random quality tests (FIPS140-2)
625 * SHA1Test.cs: New. Tests for Create and generic SHA1 tests (FIPS180-1)
626 * SHA1CryptoServiceProviderTest.cs: New. Inherited SHA1Tests tests +
629 2002-10-10 Sebastien Pouliot <spouliot@videotron.ca>
631 * DSATest.cs: Added non-abstract DSA class to test To/FromXmlString()
632 * RSATest.cs: Added non-abstract RSA class to test To/FromXmlString()
633 * AllTests.cs: Added DSATest.cs and RSATest.cs in suite
635 2002-10-09 Sebastien Pouliot <spouliot@videotron.ca>
637 * CryptoConfigTest.cs: New tests
638 * AllTests.cs: Added CryptoConfigTest in suite
640 2002-10-05 Andrew Birkett <andy@nobugs.org>
642 * RC2Test.cs: New test. Only three cases are enabled - the other
643 five work fine under mono, but fail under MS corlib, so I've
646 * AllTests.cs: Added RC2Test.
648 2002-09-23 Andrew Birkett <andy@nobugs.org>
650 * RijndaelManagedTest.cs: Fixed initialization order problem
651 to match MS behaviour.
653 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
655 * MD5Test.cs: new test from Eduardo García Cebollero (kiwnix@yahoo.es).
656 * AllTests.cs: added new test.