1 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
3 * KeyPairPersistence.cs: Use PlatformID.Unix under NET_2_0.
4 * PKCS8.cs: In sync with corlib;
6 2005-04-18 Sebastien Pouliot <sebastien@ximian.com>
8 * Null.cs: New "null" symmetric encryption for debugging. This class
9 isn't (and shouldn't be) built by default.
10 * SymmetricTransform.cs: Fixed a division by zero if someone changes
11 the feedback value to 0.
12 * SHA224Managed.cs: Fixed warning about unused private constant.
14 2005-03-30 Sebastien Pouliot <sebastien@ximian.com>
16 * SymmetricTransform.cs: Fixed a padding bug affecting that can occurs
17 when no padding is used.
19 2005-03-07 Sebastien Pouliot <sebastien@ximian.com>
21 * MD2Managed.cs: Removed memory allocation from the transform method.
22 * MD4Managed.cs: Moved memoty allocation to constructor (from init).
23 * SHA224Managed.cs: Fixed bug #73404 which gaves bad results when the
24 digested data is longer than 2^32 bits.
26 2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
28 * SymmetricTransform.cs: Added support for ANSI X9.23 padding and
29 ISO 10126 padding modes (applies to all symmetric block ciphers).
31 2004-12-22 Sebastien Pouliot <sebastien@ximian.com>
33 * KeyPairPersistence.cs: Commented imperative asserts until it is
34 supported by the runtime.
36 2004-12-06 Sebastien Pouliot <sebastien@ximian.com>
38 * RSAManaged.cs: Implement key blinding for RSA decryption with, or
41 2004-11-23 Sebastien Pouliot <sebastien@ximian.com>
43 * PKCS1.cs: Fix PKCS#1 v1.5 decryption when the ciphertext isn't
44 exactly the same of the public key (which happens sometimes on Fx 1.1
45 probably because it doesn't do the last I2OSP operation to left pad
46 the resulting big integer with zeros).
48 2004-11-10 Sebastien Pouliot <sebastien@ximian.com>
50 * RC4.cs: Fixed RC4 for compatibility with .NET 2.0. The algorithm is
51 OK but the check for IV, unused for stream ciphers, has changed.
53 2004-10-28 Sebastien Pouliot <sebastien@ximian.com>
55 * KeyPairPersistence.cs: Added localization for exceptions messages.
56 Also added more details (type and path) when an exception is thrown.
58 2004-09-29 Sebastien Pouliot <sebastien@ximian.com>
60 * RSAManaged.cs: In synch with corlib. KeySize is now always a
61 multiple of 8 bits. Fix #66929.
63 2004-09-17 Sebastien Pouliot <sebastien@ximian.com>
65 * CryptoConvert.cs: In synch with corlib version. Fixed all level 4
67 * KeyPairPersistence.cs: In synch with corlib version. Fixed all level
68 4 compilation warnings.
69 * PKCS1.cs: In synch with corlib version. Fixed all level 4
71 * SHA224Managed.cs: Fixed all level 4 compilation warnings.
73 2004-09-17 Sebastien Pouliot <sebastien@ximian.com>
75 * SHA224.cs: New. Abstract class for all SHA224 implementations.
76 * SHA224Managed.cs: New. Managed implementation of SHA224 (a SHA256
77 derivate) as specified in RFC3874 and FIPS 180-2 Change Notice.
79 2004-06-23 Sebastien Pouliot <sebastien@ximian.com>
81 * SymmetricTransform.cs: Reduce by one the number of block when
82 decrypting. This operation was in CryptoStream before but is only
83 required for decryption (which CryptoStream can't know).
86 2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
88 * ARC4Managed.cs: Added missing exception handling in TransformBlock
89 and TransformFinalBlock.
90 * SymmetricTransform.cs: Fixed possible integer overflow. Added
91 missing exception handling in TransformBlock and TransformFinalBlock.
93 2004-05-10 Sebastien Pouliot <sebastien@ximian.com>
95 * PKCS8.cs: Fixed negative Version check.
96 * MD2Managed.cs: Added readonly to static array constants.
97 * MD4Managed.cs: Removed unrequired memory allocation in MD4Transform.
99 2004-05-01 Sebastien Pouliot <sebastien@ximian.com>
101 * CryptoConvert.cs: Added support for truncated, but still valid, RSA
102 private key blob. Fix #57941 (couldn't sign with nunit key).
103 * RSAManaged.cs: Normalized the size of D when not present. This
104 allows us to output a compatible base64 representation of 1024bits 0.
106 2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
108 * SymmetricTransform.cs: Fixed bug when offset > 0 in destination
111 2004-04-22 Sebastien Pouliot <sebastien@ximian.com>
113 * CryptoConvert.cs: FxCop-ized. Sealed class. Use Buffer.BlockCopy.
114 * CryptoTools.cs: FxCop-ized. Sealed KeyBuilder class. Delay creation
115 of RNG object. Use Buffer.BlockCopy.
116 * DiffieHellman.cs: FxCop-ized. Removed public constructor.
117 * DiffieHellmanManaged.cs: FxCop-ized. Actualized with changes from
119 * KeyPairPersistance.cs: FxCop-ized. Updated version for management
121 * MD2Managed.cs: Use Buffer.BlockCopy instead of Array.Copy.
122 * PKCS1.cs: FxCop-ized. Sealed class. Use Buffer.BlockCopy instead of
123 Array.Copy. Also includes endian patches from Bernie Solomon.
124 * PKCS8.cs: FxCop-ized. Sealed class.
125 * RSAManaged.cs: FxCop-ized. Actualized with changes from BigInteger.
126 * SymmetricTransform.cs: Use Buffer.BlockCopy instead of Array.Copy.
128 2004-04-20 Sebastien Pouliot <sebastien@ximian.com>
130 * CryptoConvert.cs: Synched with corlib version to get endian fixes
133 2004-03-23 Sebastien Pouliot <sebastien@ximian.com>
135 * CryptoConvert.cs: Added exception for null and bad parameters.
136 * RSAManaged.cs: CryptographicException thrown when trying to export
137 the private key when only the public key is present (CRT aware).
139 2004-03-22 Sebastien Pouliot <sebastien@ximian.com>
141 * CryptoConvert.cs: Added new methods to convert [From|To]Hex. Added
142 new version of FromCapiPublicKeyBlob with an integer offset.
144 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
146 * PKCS8.cs: Added EncodeRSA, EncodeDSA and completed GetBytes() so it
147 is now possible to encode PKCS8 files (this is required to encode
150 2004-02-15 Sebastien Pouliot <sebastien@ximian.com>
152 * ARC4Managed.cs: Removed all % 256 (modulo) because typecasting to
153 byte already ensure the result would be correct (as suggested by
154 Technoboy). Now use KeyBuilder to create new keys.
156 2004-02-13 Sebastien Pouliot <sebastien@ximian.com>
158 * DHKeyGeneration.cs: New. Enumuration of possible key generation for
159 Diffie-Hellman. Contributed by Pieter Philippaerts (mentalis.org).
160 * DHParameters.cs: New. Structure to hold the different elements of a
161 Diffie-Hellman key. Contributed by Pieter Philippaerts (mentalis.org).
162 * DiffieHellman.cs: New. Astract class as base for all Diffie-Hellman
163 implementations. Contributed by Pieter Philippaerts (mentalis.org).
164 * DiffieHellmanManaged.cs: New. Managed implementation of the Diffie-
165 Hellman key agreement algorithm. Contributed by Pieter Philippaerts.
167 2004-02-09 Sebastien Pouliot <sebastien@ximian.com>
169 * PKCS1.cs: New. Copied from corlib. Required for RSAManaged.
170 * RSAManaged.cs: New. Copied from corlib. Required for TLS - some
171 parts (MD5SHA1) cannot work with the default RSACryptoServiceProvider.
173 2004-02-06 Sebastien Pouliot <sebastien@ximian.com>
175 * CryptoTools.cs: New. Copied from corlib to offer the sames services
176 to symmetric algorithms in Mono.Security assembly.
177 * KeyPairPersistance.cs: Provides a similar to CryptoAPI persistence
178 mechanism for keypairs (based on CspParameters).
179 * SymmetricTransform.cs: New. Copied from corlib to offer the sames
180 services to symmetric algorithms in Mono.Security assembly.
182 2004-01-12 Sebastien Pouliot <spouliot@videotron.ca>
184 * CryptoConvert.cs: RSA doesn't start with a Q - at least that what
185 a strongname told me. Sorry Ron :(
187 2003-11-27 Sebastien Pouliot <spouliot@videotron.ca>
189 * MD4.cs: New. Asbtract class for all MD4 implementations. WARNING:
190 The MD4 algorithm is BROKEN (collisions) and SHOULDN'T be used in
191 NEW designs. However some higher level algorithms (like NTLM) requires
192 MD4 (and may even be secure using it). YOU'RE WARNED!
193 * MD4Managed.cs: New. Managed implementation of MD4 (RFC1320).
194 * PKCS8.cs: New. Added Private-Key Information Syntax Standard as a
195 building block for PKCS12.
197 2003-10-30 Sebastien Pouliot <spouliot@videotron.ca>
199 * CryptoConvert.cs: Fixed strongname generation for small exponents
200 (like 17). Part of the fixed for bug #50341.
202 2003-06-19 Nick Drochak <ndrochak@gol.com>
204 * CryptoConvert.cs: Work around for mcs? bug 45127.
206 2003-03-07 Sebastien Pouliot <spouliot@videotron.ca>
208 * ARC4Managed.cs: New. Implementation of the Alleged RC4(tm)
209 stream cipher in managed code (required for SSL/TLS).
210 * CryptoConvert.cs: New. Helper class to help convert between
211 Windows crypto structures and .NET crypto classes (required
213 * MD2.cs: New. Abstract class for all MD2 hash implementations.
214 * MD2Managed.cs: New. Managed implementation of the MD2 hash
215 algorithm (required for old, but still valid, X.509 certificates).
216 * RC4.cs: New. Abstract class for all RC4 stream cipher