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