2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
[mono.git] / mcs / class / corlib / System.Security.Cryptography / ChangeLog
1 2004-05-26  Sebastien Pouliot  <sebastien@ximian.com>
2
3         * RNGCryptoServiceProvider.cs: Changed RNG interface with the runtime
4         so it could be used in a thread-safe way with CryptoAPI.
5
6 2004-05-07  Sebastien Pouliot  <sebastien@ximian.com>
7
8         * CipherMode.cs: Moved XML comments to monodoc.
9         * CryptoConfig.cs: Changed Array.Copy to Buffer.BlockCopy.
10         * CryptoStream.cs: Changed Array.Copy to Buffer.BlockCopy.
11         * DSA.cs: Changed Array.Copy to Buffer.BlockCopy.
12         * DSACryptoServiceProvider.cs: Fixed SignData to hash data before 
13         signing it (thanks to Jens Thiel for spotting this).
14         * ICryptoTransform.cs: Moved XML comments to monodoc.
15         * PasswordDeriveBytes.cs: Changed Array.Copy to Buffer.BlockCopy.
16         * FromBase64Transform.cs: Moved XML comments to monodoc.
17         * RSACryptoServiceProvider.cs: Fixed OID related exception in SignData.
18         * ToBase64Transform.cs: Input block may be smaller than a full block
19         when calling TransformFinalBlock (fix 2 CryptoStream unit tests).
20
21 2004-05-06  Sebastien Pouliot  <sebastien@ximian.com>
22
23         * RSAOAEPKeyExchangeDeformatter.cs: Fixed wrt completed unit tests.
24         * RSAOAEPKeyExchangeFormatter.cs: Fixed wrt completed unit tests.
25         * RSAPKCS1KeyExchangeDeformatter.cs: Fixed wrt completed unit tests.
26         Added globalization to exceptions.
27         * RSAPKCS1KeyExchangeFormatter.cs: Fixed wrt completed unit tests.
28         * RSAPKCS1SignatureDeformatter.cs: Fixed wrt completed unit tests.
29         Added globalization to exceptions.
30         * RSAPKCS1SignatureFormatter.cs: Fixed wrt completed unit tests.
31         Added globalization to exceptions.
32         
33 2004-05-06  Sebastien Pouliot  <sebastien@ximian.com>
34
35         * RC2.cs: Fixed KeySize to change it's value and the EffectiveKeySize
36         when the key is changed.
37         * RC2CryptoServiceProvider.cs: Added globalization to exceptions. 
38         Fixed the KeySize must be equal with EffectiveKeySize to match MS 
39         implementation.
40         * Rijndael.cs: Source clean up.
41         * RijndaelManaged.cs: Moved XML comments to monodoc. Added 
42         globalization to exceptions. 
43         * RNGCryptoServiceProvider.cs: Removed TODO and documented them in
44         mono doc. Now call runtime when a seed is provided.
45         * RSA.cs: Added globalization to exceptions. Removed check for 
46         <RSAKeyValue> as it is not checked by MS implementation.
47         * SHA1.cs: Moved XML comments to monodoc.
48         * SHA1CryptoServiceProvider.cs: Moved XML comments to monodoc. Removed
49         CLSCompliance attributes from private fields. 
50         * SHA256.cs: Moved XML comments to monodoc.
51         * SHA256Managed.cs: Moved XML comments to monodoc. Removed 
52         CLSCompliance attributes from   private fields.
53         * SHA384.cs: Moved XML comments to monodoc.
54         * SHA512.cs: Moved XML comments to monodoc.
55         * SignatureDescription.cs: Moved XML comments to monodoc. Added 
56         globalization to exceptions. Removed TODO and added notes to monodoc.
57         * SymmetricAlgorithm.cs: Moved XML comments to monodoc. Added 
58         globalization to exceptions.
59         * ToBase64Tranform.cs: Added missing exception handling. Moved XML 
60         comments to monodoc.
61         * TripleDES.cs: Added globalization to exceptions.
62         * TripleDESCryptoServiceProvider.cs: Changed Array.Copy to 
63         Buffer.BlockCopy. Zeroize decrypted data.
64
65 2004-05-05  Sebastien Pouliot  <sebastien@ximian.com>
66
67         * HashAlgorithm.cs: Moved XML comments to monodoc. Added globalization
68         to exceptions.
69         * KeyedHashAlgorithm.cs: Added globalization to exceptions.
70         * KeySizes.cs: Moved XML comments to monodoc.
71         * MaskGenerationMethod.cs: Source clean up.
72         * MD5.cs: Moved XML comments to monodoc.
73         * MD5CryptoServiceProvider.cs: Removed CLSCompliance attributes from
74         private fields. Changed constants from enum to array. Zeroize data on
75         Dispose.
76         * PaddingMode.cs: Moved XML comments to monodoc.
77         * PasswordDeriveBytes.cs: Added globalization to exceptions. Removed 
78         TODO and documented as "not supported" in MonoDoc.
79         * RandomNumberGenerator.cs: Source clean up.
80
81 2004-05-05  Sebastien Pouliot  <sebastien@ximian.com>
82
83         * DSACryptoServiceProvider.cs: Added globalization to exceptions.
84         * HMACSHA1.cs: Cleanup.
85         * SHA1CryptoServiceProvider.cs: Removed unused private methods.
86         * SHA1Managed.cs: Removed unused private methods.
87         * SHA384Managed.cs: Don't zeroize buffer on first initialization.
88         * SHA512Managed.cs: Don't zeroize buffer on first initialization.
89         
90 2004-05-05  Sebastien Pouliot  <sebastien@ximian.com>
91
92         * Base64Constants.cs: New. Convert code into tables for better base64
93         performance.
94         * FromBase64Transform.cs: Updated to use the new tables. Source code
95         cleanup.
96         * SHA256Managed.cs: Updated to use shared constants.
97         * SHA384Managed.cs: Updated to use shared constants.
98         * SHA512Managed.cs: Updated to use shared constants.
99         * SHAConstants.cs: New. Shared constants for SHA implementations.
100         * ToBase64Transform.cs: Updated to use the new tables. Added 
101         globalization. Commented finalizer as it isn't required in this case.
102
103 2004-05-03  Sebastien Pouliot  <sebastien@ximian.com>
104
105         * CryptoConfig.cs: Specify version and public key token when loading
106         System.Security.dll for XML Digital Signature classes.
107
108 2004-04-29 Ben Maurer  <bmaurer@users.sourceforge.net>
109
110         * DES.cs:
111         * DESCryptoServiceProvider.cs:
112         * RC2CryptoServiceProvider.cs:
113         * RijndaelManaged.cs:
114         * SHA384Managed.cs:
115         * SHA512Managed.cs:
116         * ToBase64Transform.cs:
117         Readonly/Constify.
118
119 2004-04-29  Sebastien Pouliot  <sebastien@ximian.com>
120
121         * DES.cs: Removed redundant weak/semi-weak key check in Key property.
122         * DESCryptoServiceProvider.cs: Implementation already had 100% 
123         coverage.
124
125 2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>
126
127         * DSACryptoServiceProvider.cs: Changed delegate signature.
128         * RSACryptoServiceProvider.cs: Changed delegate signature.
129
130 2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>
131
132         * DSA.cs: Moved XML comments to monodoc. Added globalization to 
133         exceptions. Already had 100% coverage.
134         * DSAParameters.cs: Moved XML comments to monodoc.
135         * DSASignatureDeformetter.cs: Added globalization to exceptions. 
136         Limited catch to expected exception. Already had 100% coverage.
137         * DSASignatureFormatter.cs: Added globalization to exceptions. Limited
138         catch to expected exception. Already had 100% coverage.
139
140 2004-04-26  Sebastien Pouliot  <sebastien@ximian.com>
141
142         * AsymmetricAlgorithm.cs: Moved XML comments to monodoc. Added 
143         globalization to exceptions. Already had 100% coverage.
144         * AsymmetricKeyExchangeDeformatter.cs: Moved XML comments to monodoc.
145         Already had 100% coverage.
146         * AsymmetricKeyExchangeFormatter.cs: Moved XML comments to monodoc.
147         Already had 100% coverage.
148         * AsymmetricSignatureDeformatter.cs: Moved XML comments to monodoc.
149         Already had 100% coverage.
150         * AsymmetricSignatureFormatter.cs: Moved XML comments to monodoc.
151         Already had 100% coverage.
152         * CryptoAPITransform.cs: Unused by Mono (added note to monodoc).
153         Class will stay at 0% coverage.
154         * CryptoConfig.cs: Added globalization to exceptions. 98% coverage.
155         * CryptographicException.cs: Added globalization to exceptions. 
156         Already had 100% coverage.
157         * CryptoStream.cs: Added globalization to exceptions. Removed (unused)
158         field _previousBlock to get 100% coverage.
159         * CspParameters.cs: Moved XML comments to monodoc. Already had 100% 
160         coverage.
161         * CspProviderFlags.cs: Moved XML comments to monodoc.
162         * DeriveBytes.cs: Moved XML comments to monodoc. Already had 100% 
163         coverage.
164         * DES.cs: Fixes to weak/semi-weak checking to pass new unit tests (it
165         requires to set odd parity on keys before comparing).
166
167 2004-04-25  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
168
169         * DSACryptoServiceProvider.cs: Call invariant compare
170
171 2004-04-08  Bernie Solomon  <bernard@ugsolutions.com>
172
173         * DSA.cs: Use Mono.Security.BitConverterLE
174
175 2004-04-05  Bernie Solomon  <bernard@ugsolutions.com>
176
177         * DESCryptoServiceProvider.cs: Use BitConverter.IsLittleEndian
178         to fix for big endian machines.
179
180 2004-03-10  Sebastien Pouliot  <sebastien@ximian.com>
181
182         * FromBase64Transform.cs: Now throws ObjectDisposedException and
183         return true for CanReuseTransform (as MS implementation).
184
185 2004-03-09  Atsushi Enomoto  <atsushi@ximian.com>
186
187         * DSA.cs : fixed incorrectly modified catch for debugging.
188
189 2004-03-09  Atsushi Enomoto  <atsushi@ximian.com>
190
191         * DSA.cs : In ToXmlString(), sequence of Seed and PgenCounter is
192           optional.
193
194 2004-02-26  Sebastien Pouliot  <sebastien@ximian.com>
195
196         * DES.cs: Same fix as for SymmetricAlgorithm (get_Key is 
197         overridden to check for weak keys). Also ensured that no weak keys
198         would be generated.
199         * SymmetricAlgorithm.cs: Return a copy of the key (and IV) so it 
200         doesn't get destroyed when dispose is called (in this case the key
201         zeroization is the caller's responsability). Match MS implementation.
202         * TripleDES.cs: Same fix as for SymmetricAlgorithm (get_Key is 
203         overridden to check for weak keys). Fix bugzilla #54868.
204
205 2004-02-12  Sebastien Pouliot  <sebastien@ximian.com>
206
207         * CryptoStream.cs: Remove the _blockSize assumptions because some 
208         Transforms could be different on Input/Output. Added a special case
209         for cascading CryptoStreams in FlushFinalBlock.
210
211 2004-02-09  Sebastien Pouliot  <sebastien@ximian.com>
212
213         * DSACryptoServiceProvider.cs: Fixed support for key pair persistence.
214         It now requires (like MS) to call Clear to delete an existing 
215         container. PersistKeyInCsp default value also changes if a 
216         CspParameters is supplied (or not) to the constructor.
217         * RSACryptoServiceProvider.cs: Same fixes as DSA.
218         * SymmetricAlgorithm.cs: Reintroduced the patch from 2003-08-24 to fix
219         IV length exception for stream ciphers (e.g. RC4). I overwrote it by
220         accident some time ago :(
221
222 2004-02-08  Sebastien Pouliot  <sebastien@ximian.com>
223
224         * HashAlgorithm.cs: Changed the ComputeHash(Stream) method to (a) not
225         allocate the whole stream memory (big memory saver as suggested by
226         Peter Williams in bugzilla entry #54022) and (b) to never use Stream.
227         Length and Stream.Position because they aren't implemented for every
228         stream class (similar issue to the CryptoStream patch).
229         * MD5CryptoServiceProvider.cs: Moved a buffer allocation from 
230         ProcessBlock to constructor to reduce memory allocation. Optimization
231         suggested by Peter Williams in bugzilla entry #54024.
232
233 2004-02-06  Sebastien Pouliot  <sebastien@ximian.com>
234
235         * DSACryptoServiceProvider.cs: Added keypair persistence support.
236         Corrected dispose so object cannot be disposed multiple time. Added
237         PublicOnly property (as internal before 1.2, public after).
238         * RSACryptoServiceProvider.cs: Added keypair persistence support.
239         Corrected dispose so object cannot be disposed multiple time. Added
240         PublicOnly property (as internal before 1.2, public after).
241         * SymmetricAlgorithm.cs: Removed class SymmetricTransform from file
242         and moved it to Mono.Security.Cryptography namespace. The transform
243         class will also be included in Mono.Security assembly.
244
245 2004-02-06  David Sheldon <dave-mono@earth.li>
246
247   * FromBase64Transform.cs: Improved code layout to match coding style, 
248    and removed the Byte comparison with -1.
249
250 2004-02-04  Sebastien Pouliot  <sebastien@ximian.com>
251
252         * CryptoStream.cs: New implementation - should fix all known issues
253         with the class (Read/WriteByte, reading by non-multiple of the
254         block size, using Stream.Length and Stream.Position ...).
255         * SymmetricAlgorithm.cs: Return an empty array when there's nothing
256         to return (required for CryptoStream to work).
257
258 2004-01-31  David Sheldon      <dave-mono@earth.li>
259
260         * FromBase64Transform.cs: Removed needless catch and rethrow.
261
262 2004-01-31  David Sheldon      <dave-mono@earth.li>
263
264         * FromBase64Transform.cs: Fixes to what happens if a character in the
265         input stream is not in the lookup table. IndexOutOfRangeException was 
266         wrong.
267
268 2003-12-15  Sebastien Pouliot  <spouliot@videotron.ca>
269
270         * CryptoConfig.cs: Now use internal Environment.GetMachineConfigPath()
271         to find machine.config. Initialization removed from static constructor
272         to speed up 98% of software that do not requires it.
273         * SymmetricAlgorithm.cs: Fixed padding for None and Zeros modes. Unit
274         tests for padding modes are now in PaddingModeTest.cs.
275
276 2003-12-10  Zoltan Varga  <vargaz@freemail.hu>
277
278         * HMAC.cs: Fix compilation warnings.
279
280 2003-12-10  Mark Crichton  <crichton@gimp.org>
281
282         * RNGCryptoServiceProvider.cs: Removed icall to GetNonZeroBytes. Now
283         done with managed code.
284
285 2003-11-13  Sebastien Pouliot  <spouliot@videotron.ca>
286
287         * ProtectedData.cs: Added exceptions - core is still TODO.
288         * ProtectedMemory.cs: Added exceptions - core is still TODO.
289
290 2003-11-11  Sebastien Pouliot  <spouliot@videotron.ca>
291
292         * Rfc2898DeriveBytes.cs: Now handle resets and keys longer than 160 
293         bits (HMACSHA1 block size). Removed TODO.
294         * SymmetricAlgorithm.cs: Fixed decryption when inputOffset > 0.
295         [#50826].
296
297 2003-11-10  Sebastien Pouliot  <spouliot@videotron.ca>
298
299         * Rfc2898DeriveBytes.cs: Implementation for PKCS5 PBKDF2. It works
300         except for the Reset() part - which implies some kind of Resume.
301
302 2003-11-09  Sebastien Pouliot  <spouliot@videotron.ca>
303
304         * CryptoConfig.cs: Updated for RIPEMD160 and HMAC.
305         * CspKeyContainerInfo.cs: New (1.2). Information about CSP based key
306         containers.
307         * DataProtectionScope.cs: New (1.2). Enumeration for ProtectedData.
308         * HMAC.cs: New (1.2). Base class for all HMAC. Code is mostly copied 
309         from internal Mono.Security.Cryptography.HMACAlgorith.cs.
310         * HMACMD5.cs: New (1.2). HMAC implementation using MD5.
311         * HMACRIPEMD160.cs: New (1.2). HMAC implementation using RIPEMD160.
312         * HMACSHA1.cs: Modified to derive from HMAC for .NET 1.2.
313         * HMACSHA256.cs: New (1.2). HMAC implementation using SHA256.
314         * HMACSHA384.cs: New (1.2). HMAC implementation using SHA384.
315         * HMACSHA512.cs: New (1.2). HMAC implementation using SHA512.
316         * ICspAsymmetricAlgorithm.cs: New (1.2). Interface for CSP based 
317         asymmetric algorithm.
318         * KeyNumber.cs: New (1.2). Enumeration for CspKeyContainerInfo.
319         * MemoryProtectionScope.cs: New (1.2). Enumeration for ProtectedMemory.
320         * PaddingMode.cs: Added two new padding modes to enumeration (for 1.2).
321         * ProtectedData.cs: New (1.2). ProtectedData without protection (TODO).
322         * ProtectedMemory.cs: New (1.2). Stub for ProtectedMemory.
323         * Rfc2898DeriveBytes.cs: New (1.2). Stub for PKCS5 PBKDF2.
324
325 2003-11-08  Sebastien Pouliot  <spouliot@videotron.ca>
326
327         * RIPEMD160.cs: New (1.2). Abstract class for RIPEMD160 hash from 
328         Pieter Philippaerts (Pieter@mentalis.org)
329         * RIPEMD160Managed.cs: New (1.2). Implementation of the RIPEMD160 hash
330         algorithm from Pieter Philippaerts (Pieter@mentalis.org)
331
332 2003-10-07  Sebastien Pouliot  <spouliot@videotron.ca>
333
334         * CryptoStream.cs: Commented CanTransformMultipleBlocks
335         optimization - it simply doesn't work :(
336
337 2003-10-04  Sebastien Pouliot  <spouliot@videotron.ca>
338
339         * CryptoStream.cs: Fixed bug 49323. The CanTransformMultipleBlocks
340         optimization in Read has been fixed for partial blocks.
341
342 2003-09-11  Lluis Sanchez Gual  <lluis@ximian.com>
343
344         * CryptoStream.cs: Added [In,Out] attributes to Read method.
345
346 2003-08-24  Sebastien Pouliot  <spouliot@videotron.ca>
347
348         * SymmetricAlgorithm.cs: Fixed IV length exception for stream ciphers
349         (e.g. RC4) which don't uses IV. This needs more tests for small IV...
350
351 2003-08-09  Sebastien Pouliot  <spouliot@videotron.ca>
352
353         * SymmetricAlgorithm.cs: Re-introduced Lluis patch for PaddingMode.None 
354         and PaddingMode.Zeros (not PaddingMode.PKCS7).
355
356 2003-08-05  Sebastien Pouliot  <spouliot@videotron.ca>
357
358         * CryptoStream.cs: Closing bug #40689. The Write method was re-written.
359         * SymmetricAlgorithm.cs: Removed Lluis previous patch (it fails a unit
360         test) and corrected a bug in FinalDecrypt.
361         * RSACryptoServiceProvider.cs: Fixed different exceptions from .NET 1.0
362         and 1.1.
363
364 2003-07-31  Sebastien Pouliot  <spouliot@videotron.ca>
365
366         * CryptoStream.cs: Closing bug #46143. The Read method was re-written.
367
368 2003-07-30  Sebastien Pouliot  <spouliot@videotron.ca>
369
370         * CryptoStream.cs: Fixed bug #46143 (exception) - however we dont 
371         returns the same result as MS. Class needs to be re-written.
372
373 2003-07-09  Lluis Sanchez Gual  <lluis@ximian.com>
374
375         * SymmetricAlgorithm.cs: Fixed FinalEncrypt. Return empty array if inputCount is 0.
376
377 2003-07-05  Sebastien Pouliot  <spouliot@videotron.ca>
378
379         * AsymmetricAlgorithm.cs: Removed AsymmetricParameters (IReader) class. 
380         Now uses the new Mono.Xml.SecurityParser (xml -> SecurityElement)
381         * CryptoConfig.cs: Removed CorlibHandler and CorlibReader classes. Now 
382         uses the new Mono.Xml.SecurityParser (xml -> SecurityElement)
383         * DSA.cs: Removed DSAHandler (IHandler) class. Now uses the new 
384         Mono.Xml.SecurityParser (xml -> SecurityElement)
385         * DSACryptoServiceProvider.cs: Added ObjectDisposedException support
386         and fixed bugs found in new unit tests.
387         * RSA.cs: Removed DSAHandler (IHandler) class. Now uses the new 
388         Mono.Xml.SecurityParser (xml -> SecurityElement)
389         * RSACryptoServiceProvider.cs: Added ObjectDisposedException support
390         and fixed bugs found in new unit tests.
391
392 2003-06-22  Sebastien Pouliot <spouliot@motus.com>
393
394         * DSACryptoServiceProvider.cs: Added UseMachineKeyStore property (1.1).
395         * RSACryptoServiceProvider.cs: Added UseMachineKeyStore property (1.1).
396
397 2003-06-11  Sebastien Pouliot <spouliot@motus.com>
398
399         * DSACryptoServiceProvider.cs: Refactored from orginal by splitting 
400         much core functionalities into DSAManaged. 
401         * RSACryptoServiceProvider.cs: Refactored from orginal by splitting 
402         much core functionalities into RSAManaged. 
403         * RSAPKCS1SignatureDeformatter.cs: Updated to use the new PKCS#1 API.
404         Now works with any hash algorithm (which OID is defined in machine.config)
405         * RSAPKCS1SignatureFormatter.cs: Updated to use the new PKCS#1 API.
406         Now works with any hash algorithm (which OID is defined in machine.config)
407
408 2003-06-09  Sebastien Pouliot <spouliot@motus.com>
409
410         * CryptoConfig.cs: Now support OID in machine.config.
411         * DSACryptoServiceProvider.cs: Changed USE_VERSION_1_0 for NET_1_0.
412         * KeySizes.cs: Changed USE_VERSION_1_0 for NET_1_0.
413         * MD5CryptoServiceProvider.cs: Changed USE_VERSION_1_0 for NET_1_0.
414         * RNGCryptoServiceProvider.cs: Changed USE_VERSION_1_0 for NET_1_0.
415
416 2003-05-12  Sebastien Pouliot  <spouliot@videotron.ca>
417
418         * PKCS1MaskGenerationMethod.cs: Added comment to justify why
419         the class is no more compatible with MS implementation (the bug
420         was preventing OAEP to work properly).
421
422 2003-05-09  Sebastien Pouliot  <spouliot@videotron.ca>
423
424         * DSACryptoServiceProvider.cs: Class is now sealed in v.1.1.
425         * KeySizes.cs: Class is now sealed in v.1.1.
426         * MD5CryptoServiceProvider.cs: Class is now sealed in v.1.1.
427         * RNGCryptoServiceProvider.cs: Class is now sealed in v.1.1.
428
429 2003-04-22  Sebastien Pouliot  <spouliot@videotron.ca>
430
431         * DSACryptoServiceProvider.cs: Changed key generation to use the
432         new BigInteger class (commited for Ben Maurer).
433         * RSACryptoServiceProvider.cs: Changed key generation to use the
434         new BigInteger class (commited for Ben Maurer).
435
436 2003-04-06  Sebastien Pouliot  <spouliot@videotron.ca>
437
438         * AsymmetricAlgorithm.cs: Moved IsLegalKeySize to KeySizes.cs.
439         * DSACryptoServiceProvider.cs: Fix bug where key generation always
440         resulted in 1024 bits keypair.
441         * KeySizes.cs: Added internal IsLegalKeySize and IsLegal to avoid
442         duplication in both AsymmetricAlgorithm and SymmetricAlgorithm.
443         * RC2.cs: Modified to use IsLegalKeySize from KeySizes.cs.
444         * RSACryptoServiceProvider.cs: Fix bug where key generation always
445         resulted in 1024 bits keypair. Should fix unit test failure under
446         Linux.
447         * SymmetricAlgorithm.cs: Moved IsLegalKeySize to KeySizes.cs.
448
449 2003-04-06  Sebastien Pouliot  <spouliot@videotron.ca>
450
451         * CryptoStream.cs: Partial fix for bug #40689 (workaround). Does not 
452         throw a NotSupportedException on closing a CryptoStream in read mode
453         (like MS does but unlike MS documents).
454
455 2003-03-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
456
457         * CryptoStream.cs: fixed the previous fix. MS throws a NotSupportedExc
458         when FlushFinalBlock is called twice. I've moved a few lines from Close
459         to FlushFinalBlock and added the exception check.
460
461 2003-03-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
462
463         * CryptoStream.cs: don't Close the underlying stream in FlushFinalBlock.
464         Fixes bug #40394.
465
466 2003-03-03  Sebastien Pouliot  <spouliot@videotron.ca>
467
468         * RSACryptoServiceProvider.cs: Delay keypair generation event when 
469         keysize is a constructor parameter (major speed improvment when
470         importing keys). Removed NotSupportedException when CspParameter is
471         used in constructor (required for forthcoming security tools).
472
473 2003-02-08  Sebastien Pouliot  <spouliot@videotron.ca>
474
475         * Changes to refer Mono.Math and Mono.Security.Cryptography
476         * Changes to refer Mono.Xml
477
478 2003-02-04  Sebastien Pouliot  <spouliot@videotron.ca>
479
480         * CryptoConfig.cs: Added initital support for "machine.config" 
481         (limited to algorithms, not OIDs). Modified CreateFromName to use
482         the fully qualified class names (and removed xmldsig hack). Added
483         algorithm names documented in book ".NET Framework Security".
484
485 2003-02-03  Sebastien Pouliot  <spouliot@videotron.ca>
486
487         * PasswordDeriveBytes.cs: Finally got the derivation right. The
488         class can now derive keys up to 1000 * HashSize (same limit as MS).
489         * RSAPKCS1SignatureDeformatter.cs: No need to create the hash object
490         in this class - the OID is enough.
491
492 2003-02-01  Sebastien Pouliot  <spouliot@videotron.ca>
493
494         * AsymmetricSignatureFormatter.cs: Call abstract SetHashAlgorithm
495         when CreateSignature(hash) is called.
496         * CryptoStream.cs: Fixed some issues in constructor.
497         * DSACryptoServiceProvider.cs: Fixed a bug (1 chance in 256) that
498         a signature could be less than 40 bytes (which is invalid).
499
500 2003-01-25  Sebastien Pouliot  <spouliot@videotron.ca>
501
502         * CryptographicException.cs: Default HResult to CORSEC_E_CRYPTO
503         (0x80131430) as documented.
504         * CryptographicUnexpectedOperationException.cs: Default HResult
505         to CORSEC_E_CRYPTO_UNEX_OPER (0x80131431) as documented.
506
507 2003-01-20  Sebastien Pouliot  <spouliot@videotron.ca>
508
509         * CipherMode.cs: Added missing [Serializable] to enum.
510         * CspProviderFlags.cs: Added missing [Serializable] to enum.
511         * FromBase64Transform.cs: Added missing [Serializable] to enum.
512         * PaddingMode.cs: Added missing [Serializable] to enum.
513
514 2003-01-19  Sebastien Pouliot  <spouliot@videotron.ca>
515
516         * CryptoTools.cs: Added internal class BlockProcessor to help
517         implementation of block-based algorithms (like MAC and HMAC).
518         * HMACSHA1.cs: Refactored to remove dependencies on CryptoStream,
519         better constructors and Dispose support.
520         * MACTripleDES.cs: Refactored to reuse new HMACSHA1 stuff, better
521         constructors.
522
523 2003-01-18  Sebastien Pouliot  <spouliot@videotron.ca>
524
525         * HMACSHA1.cs: Now use KeyBuilder to build the default key.
526
527 2003-01-12  Sebastien Pouliot  <spouliot@videotron.ca>
528
529         * MACTripleDES.cs: Now working (the problem was with my stream usage
530         which was removed for performance reason).
531         * TripleDES.cs: Fixed key generation (wasn't called and returned
532         null).
533
534 2003-01-09  Sebastien Pouliot  <spouliot@videotron.ca>
535
536         * RNGCryptoServiceProvider.cs: Changed methods interacting with 
537         the runtime as Internal<MethodName>. This will allow to make the
538         class Windows-compatible by doing a switch at runtime.
539
540 2003-01-05  Sebastien Pouliot  <spouliot@videotron.ca>
541
542         * CryptoAPITransform.cs: Removed all TODO. This class will not be
543         used by Mono. MS uses it with <algo>CryptoServiceProvider classes 
544         to provide a common ICryptoTransform access to CryptoAPI. 
545
546 2003-01-03  Sebastien Pouliot  <spouliot@videotron.ca>
547
548         * RC2CryptoServiceProvider.cs: Now about 2 time faster by inlining 
549         methods and changing to UInt16 (instead of UInt32). 
550
551 2003-01-02  Sebastien Pouliot  <spouliot@videotron.ca>
552
553         * RijndaelManaged.cs: Now 7 (encrypt) to 10 (decrypt) times faster 
554         by removing allocation inside intensively called methods, using pre-
555         calculated tables instead of Mult_GF methods and inlining most methods.
556
557 2002-12-31  Sebastien Pouliot  <spouliot@videotron.ca>
558
559         * AsymmetricAlgorithm.cs: Removed ValidKeySize (method only present
560         in SymmetricAlgorithm).
561         * DSA.cs: Change ZeroizePrivateKey from protected to internal.
562         * DSACryptoServiceProvider.cs: Added some case where we need to check 
563         for keypairGenerated.
564         * RSA.cs: Change ZeroizePrivateKey from protected to internal.
565         * RSACryptoServiceProvider.cs: Key were never generated with the default
566         (no parameter) constructor. Now checks for keypairGenerated in methods.
567         * SignatureDescription.cs: Added CreateDeformatter in RSAPKCS1SHA1-
568         SignatureDescription to please corcompare (it just call it's ancestor).
569
570 2002-12-30  Sebastien Pouliot  <spouliot@videotron.ca>
571
572         * CryptoStream.cs: Implemented core. Not sure about many details - 
573         but it run the samples now (#30256).
574         * CryptoStreamMode.cs: Added [Serializable] to enum declaration.
575         * SymmetricAlgorithm.cs: Made some changes required for CryptoStream 
576         and to match more closely MS implementation. Also added little
577         optimizations in TransformBlock.
578
579 2002-12-27  Sebastien Pouliot  <spouliot@videotron.ca>
580
581         * CryptoTools.cs: New. Shared classes for cryptography. Now
582         includes a KeyBuilder to generate symmetric keys and IV.
583         * DES.cs: Modified Key validation.
584         * DESCryptoServiceProvider.cs: Implemented Key and IV using
585         KeyBuilder.
586         * RC2CryptoServiceProvider.cs: Implemented Key and IV using
587         KeyBuilder (and removed TODO).
588         * RijndaelManaged.cs: Implemented Key and IV using KeyBuilder 
589         (and removed TODO).
590         * SHA384Managed.cs: Changed code to remove compiler warning.
591         * SHA512Managed.cs: Changed code to remove compiler warning.
592         * SymmetricAlgorithm.cs: Removed TODO on IV.
593         * TripleDESCryptoServiceProvider.cs: Implemented Key and IV
594         using KeyBuilder (and removed TODO).
595
596 2002-11-20  Sebastien Pouliot  <spouliot@videotron.ca>
597
598         * AsymmetricSignatureDeformatter.cs: Added exception handling in
599         VerifySignature (moved from RSAPKCS1SignatureDeformatter).
600         * AsymmetricSignatureFormatter.cs: Added exception handling in
601         CreateSignature (moved from RSAPKCS1SignatureFormatter).
602         * CryptoAPITransform.cs: Removed "= false" assignation from a private
603         member (because this created an unwanted "ghost" constructor) and 
604         modified Dispose declaration.
605         * HashAlgorithm.cs: Removed destructor. Disposing unmanaged 
606         ressources is the responsability of each class (not an abstract class).
607         * RSAPKCS1SignatureDeformatter.cs: Removed a VerifySignature method
608         which was present in the base class AsymmetricSignatureDeformatter.
609         * RSAPKCS1SignatureFormatter.cs: Removed a CreateSignature method
610         which was present in the base class AsymmetricSignatureFormatter.
611         * SHA1Managed.cs: Removed sealed from class declaration. Removed 
612         destructor and Dispose method as class is fully managed.
613         * ToBase64Transform.cs: Added virtual to property CanReuseTransform.
614
615 2002-11-17  Sebastien Pouliot  <spouliot@videotron.ca>
616
617         * CryptoConfig.cs: Added full classes name for MapNameToOID.
618         * PKCS1.cs: New. Internal class for the various primitives defined
619         in PKCS#1 v.2.1.
620         * PKCS1MaskGenerationFunction.cs: Modified to use PKCS1.cs.
621         * RSA.cs: Added internal class RSAHandler (which implements IHandler
622         interface for MiniParser) to import RSA keypairs from XML strings.
623         * RSACryptoServiceProvider.cs: Crypto implemented using BigInteger. 
624         Key generation is VERY LONG.
625         * RSAOAEPKeyExchangeDeformatter.cs: Completed using PKCS1. Not sure 
626         of the results as this is not available in all versions of Windows.
627         * RSAOAEPKeyExchangeFormatter.cs: Completed using PKCS1. Not sure 
628         of the results as this is not available in all versions of Windows.
629         * RSAPKCS1KeyExchangeDeformatter.cs: Completed using PKCS1.
630         * RSAPKCS1KeyExchangeFormatter.cs: Completed using PKCS1.
631         * RSAPKCS1SignatureDeformatter.cs: Completed using PKCS1.
632         * RSAPKCS1SignatureFormatter.cs: Completed using PKCS1.
633
634 2002-11-17  Sebastien Pouliot  <spouliot@videotron.ca>
635
636         * MiniParser.cs: Added explicit cast in order to compile with mcs.
637
638 2002-11-16  Sebastien Pouliot  <spouliot@videotron.ca>
639
640         * AsymmetricAlgorithm.cs: Added internal class AsymmetricParameters
641         (which implements the IReader interface for MiniParser). Corrected
642         Dispose declaration.
643         * BigInteger.cs: New. Internal class for handling BIG integers for 
644         asymmetric crypto (both RSA and DSA). Thanks to Chew Keong TAN !
645         * CryptoConfig.cs: Added XMLDSIG URLs in CreateFromName.
646         Will dynamically load System.Security.dll, when required,
647         to return instance of those classes. Also CryptoConfig can now
648         create any object (e.g. System.IO.MemoryStream) !
649         * DSA.cs: Added internal class DSAHandler (which implements IHandler
650         interface for MiniParser) to import DSA keypairs from XML strings.
651         * DSACryptoServiceProvider.cs: Crypto fully implemented using 
652         BigInteger. Key generation (group) is VERY long.
653         * MiniParser.cs: New. Minimal XML parser by Sergey Chaban. Used to 
654         import keypairs in XML strings.
655         * SignatureDescription.cs: Removed local CreateFromName (to use
656         CryptoConfig - which actually can create anything). Added internal
657         classes DSASignatureDescription and RSAPKCS1SHA1SignatureDescription.
658
659 2002-11-15  Sebastien Pouliot  <spouliot@videotron.ca>
660
661         * CryptographicUnexpectedOperationException.cs: Forgot it last time!
662         * FromBase64Transform.cs: Added missing virtual to CanReuseTransform.
663         Changed Dispose().
664         * HashAlgorithm.cs: Changed Dispose().
665         * MD5CryptoServiceProvider.cs: Added destructor and Dipose(bool).
666         * PasswordDeriveBytes.cs: Changed some declaration from
667         protected to private.
668         * RC2.cs: Added valid keysize check in EffectiveKeySize.
669         * RC2CryptoServiceProvider.cs: Overriden EffectiveKeySize to match
670         corlib declarations.
671         * RSAOAEPKeyExchangeDeformatter.cs: Changed some declaration from
672         protected to private.
673         * RSAOAEPKeyExchangeFormatter.cs: Changed some declaration from
674         protected to private.
675         * RSAPKCS1KeyExchangeDeformatter.cs: Changed some declaration from
676         protected to private.
677         * RSAPKCS1KeyExchangeFormatter.cs: Changed some declaration from
678         protected to private.
679         * RSAPKCS1SignatureDeformatter.cs: Changed some declaration from
680         protected to private.
681         * RSAPKCS1SignatureFormatter.cs: Changed some declaration from
682         protected to private.
683         * SHA1CryptoServiceProvider.cs: Moved SHA1 code to SHA1Internal.
684         SHA1CryptoServiceProvider now use SHA1Internal. Added Dispose and
685         destructor.
686         * SHA1Managed.cs: New. Use SHA1Internal. Same as 
687         SHA1CryptoServiceProvider but is required for binary compatibility.
688         * SHA256Managed.cs: Changed some declaration from protected to private.
689         * SHA384Managed.cs: Changed some declaration from protected to private.
690         * SHA512Managed.cs: Changed some declaration from protected to private.
691         * SymmetricAlgorithm.cs: Added Clear(), changed Dispose() and added
692         virtual to Dispose(bool).
693         * ToBase64Transform.cs: Added missing virtual to CanReuseTransform.
694         Changed Dispose().
695         * TripleDESCryptoServiceProvider.cs: Added missing sealed to class
696         declaration.
697
698 2002-11-03  Sebastien Pouliot  <spouliot@videotron.ca>
699
700         * CryptoAPITransform.cs: Added missing CanReuseTransform property,
701         Clear method, destructor and IDisposable support.
702         * CryptographicException.cs: Added missing protected constructor.
703         * CryptographicUnexpectedOperationException.cs: Added missing 
704         protected constructor.
705         * ICryptoTransform.cs: Added missing CanReuseTransform property.
706         * FromBase64Transform.cs: Added missing CanReuseTransform property,
707         Clear method, destructor and IDisposable support.
708         * SymmetricAlgorithm.cs: Implement IDisposable.
709         * ToBase64Transform.cs: Added missing CanReuseTransform property,
710         Clear method, destructor and IDisposable support.
711
712 2002-11-02  Sebastien Pouliot  <spouliot@videotron.ca>
713
714         * SignatureDescription.cs: Updated class to match unit test results
715         * X509Certificate.cs: REMOVED! Wrong namespace. An almost complete
716         implementation is now in System.Security.Cryptography.X509Certificates
717
718 2002-11-01  Sebastien Pouliot  <spouliot@videotron.ca>
719
720         * bouncycastle.txt: Bouncy Castle JCE License.
721         * SHA384Managed.cs: Hash implementation based on BouncyCastle JCE.
722         * SHA512Managed.cs: Hash implementation based on BouncyCastle JCE.
723
724 2002-10-30  Sebastien Pouliot  <spouliot@videotron.ca>
725
726         * DSASignatureDeformatter.cs: Fully implemented - however it 
727         requires a functionnal DSA implementation to work.
728         * DSASignatureFormatter.cs: Fully implemented - however it 
729         requires a functionnal DSA implementation to work.
730
731 2002-10-25  Sebastien Pouliot  <spouliot@videotron.ca>
732
733         * PasswordDeriveBytes.cs: New. PKCS#5 key derivation (PBKDF1) works up to
734         HashSize length (but MS support longer keys)
735
736 2002-10-24  Sebastien Pouliot  <spouliot@videotron.ca>
737
738         * RSACryptoServiceProvider.cs: New. Implemented most logic expect crypto 
739         * RSAOAEPKeyExchangeDeformatter.cs: New. Stub.
740         * RSAOAEPKeyExchangeFormatter.cs: New. Stub.
741         * RSAPKCS1KeyExchangeDeformatter.cs: New. Stub.
742         * RSAPKCS1KeyExchangeFormatter.cs: New. 98% implemented but still
743         require RSA.DecryptValue (not supported in MS .NET Framework)
744         * RSAPKCS1SignatureDeformatter.cs: New. Stub.
745         * RSAPKCS1SignatureFormatter.cs: New. Stub.
746
747 2002-10-23  Sebastien Pouliot  <spouliot@videotron.ca>
748
749         * SymmetricAlgorithm.cs: Fixed CFB mode (do encryption while decrypting!)
750         * TripleDESCryptoServiceProvider.cs: Ajusted for CFB.
751
752 2002-10-22  Sebastien Pouliot  <spouliot@videotron.ca>
753
754         * RjindaelManaged.cs: Fixed decryption for 192 and 256 bit block size
755
756 2002-10-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
757
758         * RC2CryptoServiceProvider.cs: fixed end of lines (changed from \r
759         to \n).
760
761 2002-10-20  Sebastien Pouliot  <spouliot@videotron.ca>
762
763         * SymmetricAlgorithm.cs: Added better Dispose support
764         * DES.cs: Now only contains the abstract DES class.
765         * DESCryptoServiceProvider.cs: Added the DESTransform class (inherited
766         from SymmetricTransform) based the old DESCore and DESTransformBase code
767         * RC2.cs: Fixed EffectiveKeySize == 0
768         * RC2CryptoServiceProvider.cs: Added the RC2Transform class (inherited
769         from SymmetricTransform) based on the old RC2lImpl code. Unrolled some loops.
770         * RjindaelManaged.cs: Few more optimizations while looking for decrypting bug
771         * TripleDESCryptoServiceProvider.cs: New. Implement TripleDESTransform from 
772         DESTransform (non-optimal but working :-).
773
774 2002-10-19  Sebastien Pouliot  <spouliot@videotron.ca>
775
776         * SymmetricAlgorithm.cs: Added new class SymmetricTransform to avoid
777         duplicating CipherMode (currently ECB, CBC) and PaddingMode functionalities
778         in every crytographic algorithm implementation.
779         * RijndaelManaged.cs: Added the RjindaelTransform class (inherited
780         from SymmetricTransform) based the old RijndaelImpl / RijndaelController 
781         code. Fixed encryption for block size 192, 256, there is still a problem
782         decrypting block size 192, 256. Unrolled some loops + littl'optimizations
783         * PKCS1MaskGenerationMethod.cs: Removed Array.Reverse in I2OSP to be
784         compatible with MS implementation (however we are now failing the PKCS#1
785         test vector) + added some more checks (null, overflow, ...)
786         * AsymmetricAlgorithm.cs: Commented XMLDocument stuff to end the cyclic
787         dependency (corlib->System.Xml->corlib)
788         * RSA.cs: Commented FromXmlString stuff to end the cyclic dependency
789         * DSA.cs: Commented FromXmlString stuff to end the cyclic dependency
790         * RC2.cs: Create using CryptoConfig
791         * TripleDES.cs: Marked class public. Added LegalKeySizes and LegalBlockSizes
792
793 2002-10-14  Sebastien Pouliot  <spouliot@videotron.ca>
794
795         * MD5.cs: Create using CryptoConfig, set HashSizeValue, removed TODO.
796         * Rijndael.cs: Create using CryptoConfig. Removed TODO.
797         * RSAParameters.cs: Modulus must be serialized. Removed TODO.
798         * SHA256.cs: Create using CryptoConfig, set HashSizeValue, removed TODO.
799         * SHA384.cs: Create using CryptoConfig, set HashSizeValue, removed TODO.
800         * SHA512.cs: Create using CryptoConfig, set HashSizeValue, removed TODO.
801         * FromBase64Transform.cs: Removed ToString()
802         * ToBase64Transform.cs: Removed ToString()
803         * SymmetricAlgorithm.cs: Create using CryptoConfig, set default Mode and 
804         Padding, added Clear, Dispose
805         * TripleDES.cs: New. Abstract class.
806         * MaskGenerationMethod.cs: New. Abstract class.
807         * PKCS1MaskGenerationMethod.cs: New. Implement PKCS#1 MGF (currently not 
808         compatible with MS implementation - but not sure the bug is mine!).
809
810 2002-10-13  Sebastien Pouliot  <spouliot@videotron.ca>
811
812         * HashAlgorithm.cs: Added Dispose() to HashAlgorithm because it 
813         inherits ICryptoTransform
814         * KeyedHashAlgorithm.cs: New implementation
815         * HMACSHA1.cs: New (include a generic HMACAlgorithm as internal class)
816         * MACTripleDES.cs: New (missing core implementation on generic MACAlgorithm)
817         * CryptoStream.cs: Added limited functionalities to support HMACSHA1
818
819 2002-10-12  Sebastien Pouliot  <spouliot@videotron.ca>
820
821         * DSA.cs: changed constructor to public from internal (like MS)
822         * HashAlgorithm.cs: Completed ComputeHash methods
823         * SHA1.cs: Added HashSizeValue = 160
824
825 2002-10-12  Sebastien Pouliot  <spouliot@videotron.ca>
826
827         * ICryptoTransform.cs: Now inherits from IDisposable
828         * RC2CryptoServiceProvider.cs: Added Dispose() to RC2Impl because it inherits ICryptoTransform
829         * CryptoAPITransform.cs: Added Dispose() to CryptoAPITransform... ICryptoTransform
830         * RijndaelManaged.cs: Added Dispose() to RijndaelController...ICryptoTransform
831         * FromBase64Transform.cs: Added Dispose() to FromBase64Transform...ICryptoTransform
832         * ToBase64Transform.cs: Added Dispose() to ToBase64Transform...ICryptoTransform
833         * DESCryptoServiceProvider.cs: Added Dispose() to DESTransformBase...ICryptoTransform
834
835 2002-10-11  Duncan Mak  <duncan@ximian.com>
836
837         * DESCryptoServiceProvider.cs: Removed unnecessary Dispose ().
838
839 2002-10-11  Sebastien Pouliot  <spouliot@videotron.ca>
840
841         * DES.cs: Create() using CryptoConfig, fix #30256
842         * DESCryptoServiceProvider.cs: fix #30256
843         * RandomNumberGenerator.cs: uncomment in Create(rng) for CryptoConfig
844
845 2002-10-10  Sebastien Pouliot  <spouliot@videotron.ca>
846
847         * AsymmetricAlgorithm.cs: Inherit from IDisposable, common support from XML import
848         * DSA.cs: FromXmlString() keypair import, Create() using CryptoConfig
849         * RSA.cs: FromXmlString() keypair import, Create() using CryptoConfig
850         * DSACryptoServiceProvider.cs: Added Dispose()
851
852 2002-10-09  Sebastien Pouliot  <spouliot@videotron.ca>
853
854         * CryptoConfig.cs: New implementation
855
856 2002-10-05  Andrew Birkett  <andy@nobugs.org>
857
858         * RC2CryptoServiceProvider.cs: New implementation
859         * RC2.cs: New implementation
860
861 2002-09-22  Andrew Birkett  <andy@nobugs.org>
862
863         * RijndaelManaged.cs: Added faster case for multiplication by 2 in GF(8)
864         
865 2002-09-22  Andrew Birkett  <andy@nobugs.org>
866
867         * RijndaelManaged.cs: BlockSize now reports size in bytes.
868         * ICryptoTransform.cs: Updated comments - BlockSizes are in bytes, unlike elsewhere.
869
870 2002-09-19  Andrew Birkett  <andy@nobugs.org>
871
872         * Rijndael.cs: Create() now gives you a RijndaelManaged object
873         * RijndaelManaged.cs: Added dummy GenerateKey until we have a proper RNG.
874         * SymmetricAlgorithm.cs: Updated comments
875
876 2002-09-15  Andrew Birkett  <andy@nobugs.org>
877
878         * RijndaelManaged.cs: Added support for CBC-mode, PKCS7/Zero padding.
879         * SymmetricAlgorithm.cs: IV size must match block size, not key size.  
880           Key property now sets KeySizeValue correctly in bits.
881
882 2002-09-11  Andrew Birkett  <andy@nobugs.org>
883
884         * RijndaelManaged.cs: Implemented ECB-mode Rijndael cipher.
885         * Rijndael.cs: Set valid key/block sizes.
886         * SymmetricAlgorithm.cs: Remove throw from ctr so we can instantiate
887           derived classes.  Fixes to key sizes so they are measured in bits.
888         * KeySizes.cs: Updated comments to emphasize that sizes are in bits.
889
890 2002-06-29  Martin Baulig  <martin@gnome.org>
891
892         * AsymmetricAlgorithm.cs: Removed a duplicate semicolon to make it compile.
893
894 2002-05-19  Martin Baulig  <martin@gnome.org>
895
896         * FromBase64Transform.cs (TransformFinalBlock): The return value of
897         `DoTransform' tells us the number of bytes actually written - if it's
898         smaller than `res', copy it to a smaller array.
899
900 2002-02-21  Mark Crichton <crichton@gimp.org>
901
902         * RNGCryptoServiceProvider.cs: New file.
903         * RandomNumberGenerator.cs: Constructor is now marked public.
904
905 2002-02-13  Dan Lewis <dihlewis@yahoo.co.uk>
906
907         * DSACryptoServiceProvider.cs, SHA384Managed.cs, SHA512Managed.cs,
908         Rijndael.cs, RSA.cs, RSAParameters.cs : New files (stubs)
909
910 Mon Feb 11 13:26:17 CET 2002 Paolo Molaro <lupus@ximian.com>
911
912         * X509Certificates: dummy class.
913
914 2002-01-10  Duco Fijma <duco@lorentz.xs4all.nl>
915         * Create (trivial) implementation of RandomNumberGenerator
916
917 2002-01-05  Ravi Pratap  <ravi@ximian.com>
918
919         * CryptoAPITransform.cs, DESCryptoProvider.cs : MonoTODO attribute
920         decoration.
921
922         * HashAlgorithm.cs, MD5.cs, SHA1.cs, SHA256.cs, SHA384.cs : Ditto.
923
924         * SHA512.cs, SymmetricAlgorithm.cs, ToBase64Transform.cs, 
925         AsymmetricAlgorithm.cs, CryptoStream.cs, DSA.cs, DSASignatureDeformatter.cs,
926         DSASignatureFormatter.cs, SignatureDescription.cs : Ditto.
927         
928 Wed Nov 14 17:04:30 CET 2001 Paolo Molaro <lupus@ximian.com>
929
930         * MD5CryptoServiceProvider.cs, SHA1CryptoServiceProvider.cs,
931         SHA256Managed.cs: CLSCompliant updates.
932
933 2001-10-11  Thomas Neidhart <tome@sbox.tugraz.at>
934
935         * CryptoAPITransform.cs: Initial version
936         * CryptoStream.cs: Initial version
937         * CspParameter.cs: Initial version
938         * CspProviderFlags.cs: Initial version
939         * DSA.cs: Initial version
940         * DSAParameters.cs: Initial version
941         * DSASignatureDeformatter.cs: Initial version
942         * DSASignatureFormatter.cs: Initial version
943         * DeriveBytes.cs: Initial version
944
945 2001-10-06  Thomas Neidhart <tome@sbox.tugraz.at>
946
947     * AsymmetricAlgorithm.cs: Inital version
948         * AsymmetricKeyExchangeDeformatter.cs: Initial version
949         * AsymmetricKeyExchangeFormatter.cs: Initial version
950         * AsymmetricSignatureDeformatter.cs: Initial version
951         * AsymmetricSignatureFormatter.cs: Initial version
952         * PaddingMode.cs: Added PaddingMode.None
953         * SignatureDescription.cs: Initial version
954     * CryptographicException.cs: Initial version
955         * CryptographicUnknownOperationException.cs: Initial version
956         * SymmetricAlgorithm.cs: Implemented CreateDecryptor, CreateEncryptor
957           and Create() methods.
958         
959 2001-08-20  Sergey Chaban <serge@wildwestsoftware.com>
960
961         * DES.cs encryption core is about 30% faster than previous version.
962         * DESCryptoServiceProvider.cs added PKCS-5 padding.
963
964 2001-08-09  Sergey Chaban <serge@wildwestsoftware.com>
965
966         * ToBase64Transform.cs: Base64Table now supports both encoding
967           and decoding tables. As a result Table was renamed to EncodeTable
968           and DecodeTable was added.
969         * FromBase64Transform.cs: Initial check-in.
970         * DES.cs: Initial check-in.
971         * DESCryptoServiceProvider.cs: Initial check-in.
972
973 2001-08-01  Matthew S. Ford  <Matthew.S.Ford@Rose-Hulman.Edu>
974
975         * CipherMode.cs: Initial version.
976         * CryptoStreamMode.cs: Initial version.
977         * HashAlgorithm.cs: Initial version.
978         * ICryptoTransform.cs: Initial version.
979         * KeySizes.cs: Initial version.
980         * MD5.cs: Initial version.
981         * MD5CryptoServiceProvider.cs: Initial version.
982         * PaddingMode.cs: Initial version.
983         * SHA1.cs: Initial version.
984         * SHA1CryptoServiceProvider.cs: Initial version.
985         * SHA256.cs: Initial version.
986         * SHA256Managed.cs: Initial version.
987         * SHA384.cs: Initial version.
988         * SHA512.cs: Initial version.