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