4eef4920be55287152e648a9091bd457ff3e32f9
[mono.git] / mcs / class / corlib / Test / System.Security.Cryptography / ChangeLog
1 2003-11-13  Sebastien Pouliot  <spouliot@videotron.ca>
2
3         * ProtectedDataTest.cs: New. Unit tests for ProtectedData (1.2).
4         * ProtectedMemoryTest.cs: New. Unit tests for ProtectedMemory (1.2).
5
6 2003-11-11  Sebastien Pouliot  <spouliot@videotron.ca>
7
8         * Rfc2898DeriveBytesTest.cs: More tests for Reset and keys longer than
9         a single block.
10
11 2003-11-10  Sebastien Pouliot  <spouliot@videotron.ca>
12
13         * Rfc2898DeriveBytesTest.cs: New. Unit tests for Rfc2898DeriveBytes
14         and test vectors from RFC3211.
15
16 2003-11-09  Sebastien Pouliot  <spouliot@videotron.ca>
17
18         * HMACMD5Test.cs: New. Unit test for HMAC-MD5 with test vectors from 
19         RFC2104.
20         * HMACRIPEMD160Test.cs: New. Unit test for HMAC-RIPEMD160 with test 
21         vectors from http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html.
22         * HMACSHA256Test.cs: New. Unit test for HMAC-SHA256.
23
24 2003-11-08  Sebastien Pouliot  <spouliot@videotron.ca>
25
26         * RIPEMD160Test.cs: New. Unit test using RIPEMD160 test vectors.
27         * RIPEMD160Managed.cs: New. Unit tests running RIPEMD160Test using the
28         RIPEMD160Managed implementation.
29
30 2003-10-04  Sebastien Pouliot  <spouliot@videotron.ca>
31
32         * CryptoStreamTest.cs: Added test case from bugzilla #49323 from
33         Carlos Guzmán Álvarez and some small tests for empty stream with
34         different PaddingMode (as found by Lluis Sanchez Gual).
35
36 2003-08-05  Sebastien Pouliot  <spouliot@videotron.ca>
37
38         * CryptoStreamTest.cs: Added test case from bugzilla #40689 from 
39         Henning Westerholt.
40
41 2003-07-31  Sebastien Pouliot  <spouliot@videotron.ca>
42
43         * CryptoStreamTest.cs: New. Very basic test for CryptoStream + the 
44         test case from bugzilla #46143 from Joerg Rosenkranz.
45         * RSACryptoServiceProviderTest.cs: Fixed some exceptions that are
46         different from .NET 1.0 and 1.1.
47
48 2003-07-05  Sebastien Pouliot  <spouliot@videotron.ca>
49
50         * DSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear
51         and better test coverage (based on Zoltan's logs).
52         * DSATest.cs: Converted to NUnit2 format. Added new tests for better unit 
53         test coverage (import incomplete public keys).
54         * RSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear
55         and better test coverage (based on Zoltan's logs).
56         * RSATest.cs: Converted to NUnit2 format. Added new tests for better unit 
57         test coverage (import incomplete public keys).
58
59 2003-06-23  Nick Drochak <ndrochak@gol.com>
60
61         * MACTripleDESTest.cs: Adjust for .NET 1.1.
62
63 2003-06-11  Sebastien Pouliot  <spouliot@videotron.ca>
64
65         * AllTests2.cs: Converted tests to NUnit2 format.
66         * RSACryptoServiceProviderTest.cs: Converted tests to NUnit2 format.
67         * RSAPKCS1KeyExchangeDeformatterTest.cs: Converted tests to NUnit2 format.
68         * RSAPKCS1KeyExchangeFormatterTest.cs: Converted tests to NUnit2 format.
69         * RSAPKCS1SignatureDeformatterTest.cs: Converted tests to NUnit2 format.
70         * RSAPKCS1SignatureFormatterTest.cs: Converted tests to NUnit2 format.
71
72 2003-05-29  Sebastien Pouliot  <spouliot@videotron.ca>
73
74         * PKCS1MaskGenerationMethodTest.cs: Added [Ignore] to vector test
75         (as it's result isn't valid on both framework 1.0 and 1.1).
76         * RSAPKCS1SignatureDeformatter.cs: Splitting the test for NUnit2
77         cloned the previous error into many more tests. Hopefully fixed.
78
79 2003-05-28  Sebastien Pouliot  <spouliot@videotron.ca>
80
81         * RSAPKCS1SignatureDeformatter.cs: Fixed (well I hope so) a test
82         which doesn't throw the same exception under 1.1. Also converted 
83         the tests to NUnit2 format.
84
85 2003-05-12  Sebastien Pouliot  <spouliot@videotron.ca>
86
87         * PKCS1MaskGenerationMethodTest.cs: Uncommented PKCS#1 v.2.1 vector 
88         unit test (will work on Mono but fails with MS implementation).
89         * RSAOAEPKeyExchangeDeformatterTest.cs: Updated tests vectors for
90         both Mono and MS (under Windows XP) generated OAEP results.
91         * RSAOAEPKeyExchangeFormatterTest.cs: Update exception handling.
92
93 2003-04-17  Nick Drochak  <ndrochak@gol.com>
94
95         * DSATest.cs: Use nunit version 2 style to test throw.
96         * HMACSHA1Test.cs: Eliminate compiler warning.
97
98 2003-03-04  Sebastien Pouliot  <spouliot@videotron.ca>
99
100         * CryptoConfigTest.cs: Added new tests for algorithms 
101         documented in book ".NET Framework Security".
102
103 2003-02-03  Sebastien Pouliot  <spouliot@videotron.ca>
104
105         * PasswordDeriveBytesTest.cs: Added some new tests to complete 
106         coverage.
107         * RSAPKCS1SignatureDeformatterTest.cs: Added test for null and 
108         invalid hash algorithm.
109
110 2003-01-19  Sebastien Pouliot  <spouliot@videotron.ca>
111
112         * HMACSHA1Test.cs: Added tests for constructors.
113         * MACTripleDESTest.cs: Added tests for constructors.
114
115 2003-01-12  Sebastien Pouliot  <spouliot@videotron.ca>
116
117         * HashAlgorithmTest.cs: Added new test for null streams.
118         * MACTripleDESTest.cs: New. Test suite par MAC using 3DES.
119
120 2002-12-21  Nick Drochak <ndrochak@gol.com>
121
122         * all: make tests build and run under nunit2
123
124 2002-12-21  Nick Drochak  <ndrochak@gol.com>
125
126         * AllTests2.cs: Helper file for unit tests
127         
128 2002-11-20  Sebastien Pouliot  <spouliot@videotron.ca>
129
130         * RSAPKCS1SignatureDeformatterTest.cs: Removed patch from Nick - 
131         as it doesn't seems to work on my system and the exception behavior 
132         isn't logical (only MD5 not SHA1, ...).
133
134 2002-11-18  Nick Drochak  <ndrochak@gol.com>
135
136         * RSAPKCS1SignatureDeformatterTest.cs: MS .NET throws an exception when
137         verifying a bad signature.  Test for that.
138
139 2002-11-17  Sebastien Pouliot  <spouliot@videotron.ca>
140
141         * AllTests.cs: Added a common RSA keypair for tests and all RSA 
142         suites for new tests.
143         * RSACryptoServiceProviderTest.cs: Include tests for keygen,
144         import/export and signature (no encryption yet).
145         * RSAOAEPKeyExchangeDeformatterTest.cs: Compare results with 
146         pre-generated vectors from Mono/Windows (cannot yet compare 
147         with CryptoAPI/Windows as OAEP isn't available on my system).
148         * RSAOAEPKeyExchangeFormatterTest.cs: Test that the Formatter output
149         is compatible with the Deformatter.
150         * RSAPKCS1KeyExchangeDeformatterTest.cs: Compare results with 
151         pre-generated vectors from Mono/Windows and CryptoAPI/Windows.
152         * RSAPKCS1KeyExchangeFormatterTest.cs: Test that the Formatter output
153         is compatible with the Deformatter.
154         * RSAPKCS1SignatureDeformatterTest.cs: Compare results with 
155         pre-generated vectors from Mono/Windows and CryptoAPI/Windows.
156         * RSAPKCS1SignatureFormatterTest.cs: Test that the Formatter output
157         is compatible with the Deformatter.
158
159 2002-11-16  Sebastien Pouliot  <spouliot@videotron.ca>
160
161         * AllTests.cs: Added suites for DSASignatureDeformatter, 
162         DSASignatureFormatter.
163         * CryptoConfigTest.cs: Tests new URLs. This test will fail
164         if System.Security.dll isn't present (or not yet compiled).
165         * DSACryptoServiceProviderTest.cs: New. Key generation (limited
166         because it's too slow), Import/Export, Signature and Verification.
167         * DSASignatureDeformatterTest.cs: New. Test signature verification. 
168         * DSASignatureFormatterTest.cs: New. Test signature creation.
169         * DSATest.cs: Comment DSA-derived test class as DSA constructor
170         is internal. Reworked the test suite.
171         * SignatureDescriptionTest.cs: Added tests for
172         DSASignatureDescription and RSAPKCS1SHA1SignatureDescription.
173
174 2002-11-02  Sebastien Pouliot  <spouliot@videotron.ca>
175
176         * AllTests.cs: Added suites for SignatureDescription and 
177         activated suites for SHA384Managed and SHA512Managed.
178         * SignatureDescriptionTest.cs: New. Basic tests (because I don't
179         know the context in which the class is used).
180
181 2002-10-28  Sebastien Pouliot  <spouliot@videotron.ca>
182
183         * AllTests.cs: Added test suites for SHA256, SHA384 and SHA512 
184         (last two partly commented until implementation is commited).
185         * SHA256Test.cs: New. Generic FIPS180-2 tests for SHA-256.
186         * SHA256ManagedTest.cs: New. Implementation tests (inherits
187         from SHA256Test).
188         * SHA384Test.cs: New. Generic FIPS180-2 tests for SHA-384.
189         * SHA384ManagedTest.cs: New. Implementation tests (inherits
190         from SHA384Test).
191         * SHA512Test.cs: New. Generic FIPS180-2 tests for SHA-512.
192         * SHA512ManagedTest.cs: New. Implementation tests (inherits
193         from SHA512Test).
194
195 2002-10-25  Sebastien Pouliot  <spouliot@videotron.ca>
196
197         * AllTests.cs: Added suite for PasswordDeriveBytes
198         * PasswordDeriveBytesTest.cs: New. Tests against pre-generated vectors -
199         only works for short runs (keys < HashSize) not long runs
200
201 2002-10-20  Sebastien Pouliot  <spouliot@videotron.ca>
202
203         * AllTests.cs: Added suite for Rjindael
204         * RjindaelTest.cs: New. Test vectors from FIPS PUB 197 appendix.
205
206 2002-10-19  Sebastien Pouliot  <spouliot@videotron.ca>
207
208         * AllTests.cs: Renabled most tests after commenting all code causing a 
209         cyclic dependency (corlib->System.Xml->corlib). Some tests will fail 
210         until commented code is replaced.
211         * SymmetricAlgorithm.cs: New (189) generated test cases for all default
212         algorithm implementation, all cipher modes, all padding modes, all key
213         sizes, all block sizes, feedback...
214         * PKCS1MaskGenerationMethodTest.cs: Commented vector test. Added new 
215         tests to check for various exceptions
216
217 2002-10-16  Nick Drochak  <ndrochak@gol.com>
218
219         * CryptoConfigTest.cs (TestCreateFromName): Disable tests for
220         algorithms that aren't in the build yet.
221
222 2002-10-16  Nick Drochak  <ndrochak@gol.com>
223
224         * AllTests.cs: Disable tests that use components were are excluding
225         from corlib.
226         * SHA1Test.cs: same
227
228 2002-10-14  Sebastien Pouliot  <spouliot@videotron.ca>
229
230         * AllTests.cs: Added suite for PKCS1MaskGenerationMethod
231         * PKCS1MaskGenerationMethodTest.cs: New. Test work as per PKCS#1 but 
232         result isn't the same as MS implementation !?! is MS using this class ?
233
234 2002-10-13  Sebastien Pouliot  <spouliot@videotron.ca>
235
236         * AllTests.cs: Added suite for HashAlgorithm, KeyedHashAlgorithm and
237         HMACSHA1
238         * HashAlgorithmTest.cs: New. Test for Create and Clear
239         * KeyedHashAlgorithmTest.cs: New. Test for Create and key assignation
240         * HMACSHA1Test.cs: New. Test vectors from FIPS 198 and RFC2202
241
242 2002-10-12  Sebastien Pouliot  <spouliot@videotron.ca>
243
244         * AllTests.cs: Added suite for RandomNumberGenerator, SHA1 and 
245         SHA1CryptoServiceProvider
246         * RandomNumberGeneratorTest.cs: New. Tests for Create and generic 
247         random quality tests (FIPS140-2)
248         * SHA1Test.cs: New. Tests for Create and generic SHA1 tests (FIPS180-1)
249         * SHA1CryptoServiceProviderTest.cs: New. Inherited SHA1Tests tests +
250         specific tests
251
252 2002-10-10  Sebastien Pouliot  <spouliot@videotron.ca>
253
254         * DSATest.cs: Added non-abstract DSA class to test To/FromXmlString()
255         * RSATest.cs: Added non-abstract RSA class to test To/FromXmlString()
256         * AllTests.cs: Added DSATest.cs and RSATest.cs in suite
257
258 2002-10-09  Sebastien Pouliot  <spouliot@videotron.ca>
259
260         * CryptoConfigTest.cs: New tests
261         * AllTests.cs: Added CryptoConfigTest in suite
262
263 2002-10-05  Andrew Birkett  <andy@nobugs.org>
264
265         * RC2Test.cs: New test.  Only three cases are enabled - the other
266         five work fine under mono, but fail under MS corlib, so I've 
267         commented them out.
268
269         * AllTests.cs: Added RC2Test.
270
271 2002-09-23  Andrew Birkett  <andy@nobugs.org>
272
273         * RijndaelManagedTest.cs: Fixed initialization order problem 
274         to match MS behaviour.
275
276 2002-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
277
278         * MD5Test.cs: new test from Eduardo García Cebollero (kiwnix@yahoo.es).
279         * AllTests.cs: added new test.