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