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