2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
[mono.git] / mcs / class / Mono.Security / Mono.Security.Cryptography / ChangeLog
index 95da6ff1965c8696a59336ffabf501c80f126b98..e1012f6227107eb6792aea84cb289fd1bd10086e 100644 (file)
@@ -1,3 +1,184 @@
+2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * KeyPairPersistence.cs: Use PlatformID.Unix under NET_2_0. 
+       * PKCS8.cs: In sync with corlib;
+
+2005-04-18  Sebastien Pouliot  <sebastien@ximian.com> 
+       * Null.cs: New "null" symmetric encryption for debugging. This class 
+       isn't (and shouldn't be) built by default.
+       * SymmetricTransform.cs: Fixed a division by zero if someone changes 
+       the feedback value to 0.
+       * SHA224Managed.cs: Fixed warning about unused private constant.
+
+2005-03-30  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SymmetricTransform.cs: Fixed a padding bug affecting that can occurs
+       when no padding is used.
+
+2005-03-07  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * MD2Managed.cs: Removed memory allocation from the transform method.
+       * MD4Managed.cs: Moved memoty allocation to constructor (from init).
+       * SHA224Managed.cs: Fixed bug #73404 which gaves bad results when the
+       digested data is longer than 2^32 bits.
+
+2005-01-11  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SymmetricTransform.cs: Added support for ANSI X9.23 padding and
+       ISO 10126 padding modes (applies to all symmetric block ciphers).
+
+2004-12-22  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * KeyPairPersistence.cs: Commented imperative asserts until it is 
+       supported by the runtime.
+
+2004-12-06  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * RSAManaged.cs: Implement key blinding for RSA decryption with, or
+       without, using CRT.
+
+2004-11-23  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * PKCS1.cs: Fix PKCS#1 v1.5 decryption when the ciphertext isn't 
+       exactly the same of the public key (which happens sometimes on Fx 1.1
+       probably because it doesn't do the last I2OSP operation to left pad
+       the resulting big integer with zeros).
+
+2004-11-10  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * RC4.cs: Fixed RC4 for compatibility with .NET 2.0. The algorithm is 
+       OK but the check for IV, unused for stream ciphers, has changed.
+
+2004-10-28  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * KeyPairPersistence.cs: Added localization for exceptions messages.
+       Also added more details (type and path) when an exception is thrown.
+
+2004-09-29  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * RSAManaged.cs: In synch with corlib. KeySize is now always a 
+       multiple of 8 bits. Fix #66929.
+
+2004-09-17  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * CryptoConvert.cs: In synch with corlib version. Fixed all level 4 
+       compilation warnings.
+       * KeyPairPersistence.cs: In synch with corlib version. Fixed all level
+       4 compilation warnings.
+       * PKCS1.cs: In synch with corlib version. Fixed all level 4 
+       compilation warnings.
+       * SHA224Managed.cs: Fixed all level 4 compilation warnings.
+
+2004-09-17  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SHA224.cs: New. Abstract class for all SHA224 implementations.
+       * SHA224Managed.cs: New. Managed implementation of SHA224 (a SHA256
+       derivate) as specified in RFC3874 and FIPS 180-2 Change Notice.
+
+2004-06-23  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SymmetricTransform.cs: Reduce by one the number of block when 
+       decrypting. This operation was in CryptoStream before but is only
+       required for decryption (which CryptoStream can't know). 
+       Fix bug #60573.
+
+2004-05-27  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * ARC4Managed.cs: Added missing exception handling in TransformBlock 
+       and TransformFinalBlock.
+       * SymmetricTransform.cs: Fixed possible integer overflow. Added 
+       missing exception handling in TransformBlock and TransformFinalBlock.
+
+2004-05-10  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * PKCS8.cs: Fixed negative Version check.
+       * MD2Managed.cs: Added readonly to static array constants.
+       * MD4Managed.cs: Removed unrequired memory allocation in MD4Transform.
+
+2004-05-01  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * CryptoConvert.cs: Added support for truncated, but still valid, RSA
+       private key blob. Fix #57941 (couldn't sign with nunit key).
+       * RSAManaged.cs: Normalized the size of D when not present. This 
+       allows us to output a compatible base64 representation of 1024bits 0.
+
+2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SymmetricTransform.cs: Fixed bug when offset > 0 in destination 
+       buffer.
+
+2004-04-22  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * CryptoConvert.cs: FxCop-ized. Sealed class. Use Buffer.BlockCopy.
+       * CryptoTools.cs: FxCop-ized. Sealed KeyBuilder class. Delay creation
+       of RNG object. Use Buffer.BlockCopy.
+       * DiffieHellman.cs: FxCop-ized. Removed public constructor.
+       * DiffieHellmanManaged.cs: FxCop-ized. Actualized with changes from
+       BigInteger.
+       * KeyPairPersistance.cs: FxCop-ized. Updated version for management
+       of keypairs.
+       * MD2Managed.cs: Use Buffer.BlockCopy instead of Array.Copy.
+       * PKCS1.cs: FxCop-ized. Sealed class. Use Buffer.BlockCopy instead of
+       Array.Copy. Also includes endian patches from Bernie Solomon.
+       * PKCS8.cs: FxCop-ized. Sealed class. 
+       * RSAManaged.cs: FxCop-ized. Actualized with changes from BigInteger.
+       * SymmetricTransform.cs: Use Buffer.BlockCopy instead of Array.Copy.
+
+2004-04-20  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * CryptoConvert.cs: Synched with corlib version to get endian fixes 
+       from Bernie Solomon.
+
+2004-03-23  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * CryptoConvert.cs: Added exception for null and bad parameters.
+       * RSAManaged.cs: CryptographicException thrown when trying to export
+       the private key when only the public key is present (CRT aware).
+
+2004-03-22  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * CryptoConvert.cs: Added new methods to convert [From|To]Hex. Added
+       new version of FromCapiPublicKeyBlob with an integer offset.
+
+2004-03-10  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * PKCS8.cs: Added EncodeRSA, EncodeDSA and completed GetBytes() so it
+       is now possible to encode PKCS8 files (this is required to encode 
+       PKCS12 files).
+
+2004-02-15  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * ARC4Managed.cs: Removed all % 256 (modulo) because typecasting to 
+       byte already ensure the result would be correct (as suggested by 
+       Technoboy). Now use KeyBuilder to create new keys.
+
+2004-02-13  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * DHKeyGeneration.cs: New. Enumuration of possible key generation for
+       Diffie-Hellman. Contributed by Pieter Philippaerts (mentalis.org).
+       * DHParameters.cs: New. Structure to hold the different elements of a
+       Diffie-Hellman key. Contributed by Pieter Philippaerts (mentalis.org).
+       * DiffieHellman.cs: New. Astract class as base for all Diffie-Hellman
+       implementations. Contributed by Pieter Philippaerts (mentalis.org).
+       * DiffieHellmanManaged.cs: New. Managed implementation of the Diffie-
+       Hellman key agreement algorithm. Contributed by Pieter Philippaerts.
+
+2004-02-09  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * PKCS1.cs: New. Copied from corlib. Required for RSAManaged.
+       * RSAManaged.cs: New. Copied from corlib. Required for TLS - some
+       parts (MD5SHA1) cannot work with the default RSACryptoServiceProvider.
+
+2004-02-06  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * CryptoTools.cs: New. Copied from corlib to offer the sames services
+       to symmetric algorithms in Mono.Security assembly.
+       * KeyPairPersistance.cs: Provides a similar to CryptoAPI persistence 
+       mechanism for keypairs (based on CspParameters).
+       * SymmetricTransform.cs: New. Copied from corlib to offer the sames 
+       services to symmetric algorithms in Mono.Security assembly.
+
 2004-01-12  Sebastien Pouliot  <spouliot@videotron.ca>
 
        * CryptoConvert.cs: RSA doesn't start with a Q - at least that what