1 2003-11-11 Sebastien Pouliot <spouliot@videotron.ca>
3 * SymmetricAlgorithm.cs: Fixed decryption when inputOffset > 0.
6 2003-11-10 Sebastien Pouliot <spouliot@videotron.ca>
8 * Rfc2898DeriveBytes.cs: Implementation for PKCS5 PBKDF2. It works
9 except for the Reset() part - which implies some kind of Resume.
11 2003-11-09 Sebastien Pouliot <spouliot@videotron.ca>
13 * CryptoConfig.cs: Updated for RIPEMD160 and HMAC.
14 * CspKeyContainerInfo.cs: New (1.2). Information about CSP based key
16 * DataProtectionScope.cs: New (1.2). Enumeration for ProtectedData.
17 * HMAC.cs: New (1.2). Base class for all HMAC. Code is mostly copied
18 from internal Mono.Security.Cryptography.HMACAlgorith.cs.
19 * HMACMD5.cs: New (1.2). HMAC implementation using MD5.
20 * HMACRIPEMD160.cs: New (1.2). HMAC implementation using RIPEMD160.
21 * HMACSHA1.cs: Modified to derive from HMAC for .NET 1.2.
22 * HMACSHA256.cs: New (1.2). HMAC implementation using SHA256.
23 * HMACSHA384.cs: New (1.2). HMAC implementation using SHA384.
24 * HMACSHA512.cs: New (1.2). HMAC implementation using SHA512.
25 * ICspAsymmetricAlgorithm.cs: New (1.2). Interface for CSP based
27 * KeyNumber.cs: New (1.2). Enumeration for CspKeyContainerInfo.
28 * MemoryProtectionScope.cs: New (1.2). Enumeration for ProtectedMemory.
29 * PaddingMode.cs: Added two new padding modes to enumeration (for 1.2).
30 * ProtectedData.cs: New (1.2). ProtectedData without protection (TODO).
31 * ProtectedMemory.cs: New (1.2). Stub for ProtectedMemory.
32 * Rfc2898DeriveBytes.cs: New (1.2). Stub for PKCS5 PBKDF2.
34 2003-11-08 Sebastien Pouliot <spouliot@videotron.ca>
36 * RIPEMD160.cs: New (1.2). Abstract class for RIPEMD160 hash from
37 Pieter Philippaerts (Pieter@mentalis.org)
38 * RIPEMD160Managed.cs: New (1.2). Implementation of the RIPEMD160 hash
39 algorithm from Pieter Philippaerts (Pieter@mentalis.org)
41 2003-10-07 Sebastien Pouliot <spouliot@videotron.ca>
43 * CryptoStream.cs: Commented CanTransformMultipleBlocks
44 optimization - it simply doesn't work :(
46 2003-10-04 Sebastien Pouliot <spouliot@videotron.ca>
48 * CryptoStream.cs: Fixed bug 49323. The CanTransformMultipleBlocks
49 optimization in Read has been fixed for partial blocks.
51 2003-09-11 Lluis Sanchez Gual <lluis@ximian.com>
53 * CryptoStream.cs: Added [In,Out] attributes to Read method.
55 2003-08-24 Sebastien Pouliot <spouliot@videotron.ca>
57 * SymmetricAlgorithm.cs: Fixed IV length exception for stream ciphers
58 (e.g. RC4) which don't uses IV. This needs more tests for small IV...
60 2003-08-09 Sebastien Pouliot <spouliot@videotron.ca>
62 * SymmetricAlgorithm.cs: Re-introduced Lluis patch for PaddingMode.None
63 and PaddingMode.Zeros (not PaddingMode.PKCS7).
65 2003-08-05 Sebastien Pouliot <spouliot@videotron.ca>
67 * CryptoStream.cs: Closing bug #40689. The Write method was re-written.
68 * SymmetricAlgorithm.cs: Removed Lluis previous patch (it fails a unit
69 test) and corrected a bug in FinalDecrypt.
70 * RSACryptoServiceProvider.cs: Fixed different exceptions from .NET 1.0
73 2003-07-31 Sebastien Pouliot <spouliot@videotron.ca>
75 * CryptoStream.cs: Closing bug #46143. The Read method was re-written.
77 2003-07-30 Sebastien Pouliot <spouliot@videotron.ca>
79 * CryptoStream.cs: Fixed bug #46143 (exception) - however we dont
80 returns the same result as MS. Class needs to be re-written.
82 2003-07-09 Lluis Sanchez Gual <lluis@ximian.com>
84 * SymmetricAlgorithm.cs: Fixed FinalEncrypt. Return empty array if inputCount is 0.
86 2003-07-05 Sebastien Pouliot <spouliot@videotron.ca>
88 * AsymmetricAlgorithm.cs: Removed AsymmetricParameters (IReader) class.
89 Now uses the new Mono.Xml.SecurityParser (xml -> SecurityElement)
90 * CryptoConfig.cs: Removed CorlibHandler and CorlibReader classes. Now
91 uses the new Mono.Xml.SecurityParser (xml -> SecurityElement)
92 * DSA.cs: Removed DSAHandler (IHandler) class. Now uses the new
93 Mono.Xml.SecurityParser (xml -> SecurityElement)
94 * DSACryptoServiceProvider.cs: Added ObjectDisposedException support
95 and fixed bugs found in new unit tests.
96 * RSA.cs: Removed DSAHandler (IHandler) class. Now uses the new
97 Mono.Xml.SecurityParser (xml -> SecurityElement)
98 * RSACryptoServiceProvider.cs: Added ObjectDisposedException support
99 and fixed bugs found in new unit tests.
101 2003-06-22 Sebastien Pouliot <spouliot@motus.com>
103 * DSACryptoServiceProvider.cs: Added UseMachineKeyStore property (1.1).
104 * RSACryptoServiceProvider.cs: Added UseMachineKeyStore property (1.1).
106 2003-06-11 Sebastien Pouliot <spouliot@motus.com>
108 * DSACryptoServiceProvider.cs: Refactored from orginal by splitting
109 much core functionalities into DSAManaged.
110 * RSACryptoServiceProvider.cs: Refactored from orginal by splitting
111 much core functionalities into RSAManaged.
112 * RSAPKCS1SignatureDeformatter.cs: Updated to use the new PKCS#1 API.
113 Now works with any hash algorithm (which OID is defined in machine.config)
114 * RSAPKCS1SignatureFormatter.cs: Updated to use the new PKCS#1 API.
115 Now works with any hash algorithm (which OID is defined in machine.config)
117 2003-06-09 Sebastien Pouliot <spouliot@motus.com>
119 * CryptoConfig.cs: Now support OID in machine.config.
120 * DSACryptoServiceProvider.cs: Changed USE_VERSION_1_0 for NET_1_0.
121 * KeySizes.cs: Changed USE_VERSION_1_0 for NET_1_0.
122 * MD5CryptoServiceProvider.cs: Changed USE_VERSION_1_0 for NET_1_0.
123 * RNGCryptoServiceProvider.cs: Changed USE_VERSION_1_0 for NET_1_0.
125 2003-05-12 Sebastien Pouliot <spouliot@videotron.ca>
127 * PKCS1MaskGenerationMethod.cs: Added comment to justify why
128 the class is no more compatible with MS implementation (the bug
129 was preventing OAEP to work properly).
131 2003-05-09 Sebastien Pouliot <spouliot@videotron.ca>
133 * DSACryptoServiceProvider.cs: Class is now sealed in v.1.1.
134 * KeySizes.cs: Class is now sealed in v.1.1.
135 * MD5CryptoServiceProvider.cs: Class is now sealed in v.1.1.
136 * RNGCryptoServiceProvider.cs: Class is now sealed in v.1.1.
138 2003-04-22 Sebastien Pouliot <spouliot@videotron.ca>
140 * DSACryptoServiceProvider.cs: Changed key generation to use the
141 new BigInteger class (commited for Ben Maurer).
142 * RSACryptoServiceProvider.cs: Changed key generation to use the
143 new BigInteger class (commited for Ben Maurer).
145 2003-04-06 Sebastien Pouliot <spouliot@videotron.ca>
147 * AsymmetricAlgorithm.cs: Moved IsLegalKeySize to KeySizes.cs.
148 * DSACryptoServiceProvider.cs: Fix bug where key generation always
149 resulted in 1024 bits keypair.
150 * KeySizes.cs: Added internal IsLegalKeySize and IsLegal to avoid
151 duplication in both AsymmetricAlgorithm and SymmetricAlgorithm.
152 * RC2.cs: Modified to use IsLegalKeySize from KeySizes.cs.
153 * RSACryptoServiceProvider.cs: Fix bug where key generation always
154 resulted in 1024 bits keypair. Should fix unit test failure under
156 * SymmetricAlgorithm.cs: Moved IsLegalKeySize to KeySizes.cs.
158 2003-04-06 Sebastien Pouliot <spouliot@videotron.ca>
160 * CryptoStream.cs: Partial fix for bug #40689 (workaround). Does not
161 throw a NotSupportedException on closing a CryptoStream in read mode
162 (like MS does but unlike MS documents).
164 2003-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
166 * CryptoStream.cs: fixed the previous fix. MS throws a NotSupportedExc
167 when FlushFinalBlock is called twice. I've moved a few lines from Close
168 to FlushFinalBlock and added the exception check.
170 2003-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
172 * CryptoStream.cs: don't Close the underlying stream in FlushFinalBlock.
175 2003-03-03 Sebastien Pouliot <spouliot@videotron.ca>
177 * RSACryptoServiceProvider.cs: Delay keypair generation event when
178 keysize is a constructor parameter (major speed improvment when
179 importing keys). Removed NotSupportedException when CspParameter is
180 used in constructor (required for forthcoming security tools).
182 2003-02-08 Sebastien Pouliot <spouliot@videotron.ca>
184 * Changes to refer Mono.Math and Mono.Security.Cryptography
185 * Changes to refer Mono.Xml
187 2003-02-04 Sebastien Pouliot <spouliot@videotron.ca>
189 * CryptoConfig.cs: Added initital support for "machine.config"
190 (limited to algorithms, not OIDs). Modified CreateFromName to use
191 the fully qualified class names (and removed xmldsig hack). Added
192 algorithm names documented in book ".NET Framework Security".
194 2003-02-03 Sebastien Pouliot <spouliot@videotron.ca>
196 * PasswordDeriveBytes.cs: Finally got the derivation right. The
197 class can now derive keys up to 1000 * HashSize (same limit as MS).
198 * RSAPKCS1SignatureDeformatter.cs: No need to create the hash object
199 in this class - the OID is enough.
201 2003-02-01 Sebastien Pouliot <spouliot@videotron.ca>
203 * AsymmetricSignatureFormatter.cs: Call abstract SetHashAlgorithm
204 when CreateSignature(hash) is called.
205 * CryptoStream.cs: Fixed some issues in constructor.
206 * DSACryptoServiceProvider.cs: Fixed a bug (1 chance in 256) that
207 a signature could be less than 40 bytes (which is invalid).
209 2003-01-25 Sebastien Pouliot <spouliot@videotron.ca>
211 * CryptographicException.cs: Default HResult to CORSEC_E_CRYPTO
212 (0x80131430) as documented.
213 * CryptographicUnexpectedOperationException.cs: Default HResult
214 to CORSEC_E_CRYPTO_UNEX_OPER (0x80131431) as documented.
216 2003-01-20 Sebastien Pouliot <spouliot@videotron.ca>
218 * CipherMode.cs: Added missing [Serializable] to enum.
219 * CspProviderFlags.cs: Added missing [Serializable] to enum.
220 * FromBase64Transform.cs: Added missing [Serializable] to enum.
221 * PaddingMode.cs: Added missing [Serializable] to enum.
223 2003-01-19 Sebastien Pouliot <spouliot@videotron.ca>
225 * CryptoTools.cs: Added internal class BlockProcessor to help
226 implementation of block-based algorithms (like MAC and HMAC).
227 * HMACSHA1.cs: Refactored to remove dependencies on CryptoStream,
228 better constructors and Dispose support.
229 * MACTripleDES.cs: Refactored to reuse new HMACSHA1 stuff, better
232 2003-01-18 Sebastien Pouliot <spouliot@videotron.ca>
234 * HMACSHA1.cs: Now use KeyBuilder to build the default key.
236 2003-01-12 Sebastien Pouliot <spouliot@videotron.ca>
238 * MACTripleDES.cs: Now working (the problem was with my stream usage
239 which was removed for performance reason).
240 * TripleDES.cs: Fixed key generation (wasn't called and returned
243 2003-01-09 Sebastien Pouliot <spouliot@videotron.ca>
245 * RNGCryptoServiceProvider.cs: Changed methods interacting with
246 the runtime as Internal<MethodName>. This will allow to make the
247 class Windows-compatible by doing a switch at runtime.
249 2003-01-05 Sebastien Pouliot <spouliot@videotron.ca>
251 * CryptoAPITransform.cs: Removed all TODO. This class will not be
252 used by Mono. MS uses it with <algo>CryptoServiceProvider classes
253 to provide a common ICryptoTransform access to CryptoAPI.
255 2003-01-03 Sebastien Pouliot <spouliot@videotron.ca>
257 * RC2CryptoServiceProvider.cs: Now about 2 time faster by inlining
258 methods and changing to UInt16 (instead of UInt32).
260 2003-01-02 Sebastien Pouliot <spouliot@videotron.ca>
262 * RijndaelManaged.cs: Now 7 (encrypt) to 10 (decrypt) times faster
263 by removing allocation inside intensively called methods, using pre-
264 calculated tables instead of Mult_GF methods and inlining most methods.
266 2002-12-31 Sebastien Pouliot <spouliot@videotron.ca>
268 * AsymmetricAlgorithm.cs: Removed ValidKeySize (method only present
269 in SymmetricAlgorithm).
270 * DSA.cs: Change ZeroizePrivateKey from protected to internal.
271 * DSACryptoServiceProvider.cs: Added some case where we need to check
272 for keypairGenerated.
273 * RSA.cs: Change ZeroizePrivateKey from protected to internal.
274 * RSACryptoServiceProvider.cs: Key were never generated with the default
275 (no parameter) constructor. Now checks for keypairGenerated in methods.
276 * SignatureDescription.cs: Added CreateDeformatter in RSAPKCS1SHA1-
277 SignatureDescription to please corcompare (it just call it's ancestor).
279 2002-12-30 Sebastien Pouliot <spouliot@videotron.ca>
281 * CryptoStream.cs: Implemented core. Not sure about many details -
282 but it run the samples now (#30256).
283 * CryptoStreamMode.cs: Added [Serializable] to enum declaration.
284 * SymmetricAlgorithm.cs: Made some changes required for CryptoStream
285 and to match more closely MS implementation. Also added little
286 optimizations in TransformBlock.
288 2002-12-27 Sebastien Pouliot <spouliot@videotron.ca>
290 * CryptoTools.cs: New. Shared classes for cryptography. Now
291 includes a KeyBuilder to generate symmetric keys and IV.
292 * DES.cs: Modified Key validation.
293 * DESCryptoServiceProvider.cs: Implemented Key and IV using
295 * RC2CryptoServiceProvider.cs: Implemented Key and IV using
296 KeyBuilder (and removed TODO).
297 * RijndaelManaged.cs: Implemented Key and IV using KeyBuilder
299 * SHA384Managed.cs: Changed code to remove compiler warning.
300 * SHA512Managed.cs: Changed code to remove compiler warning.
301 * SymmetricAlgorithm.cs: Removed TODO on IV.
302 * TripleDESCryptoServiceProvider.cs: Implemented Key and IV
303 using KeyBuilder (and removed TODO).
305 2002-11-20 Sebastien Pouliot <spouliot@videotron.ca>
307 * AsymmetricSignatureDeformatter.cs: Added exception handling in
308 VerifySignature (moved from RSAPKCS1SignatureDeformatter).
309 * AsymmetricSignatureFormatter.cs: Added exception handling in
310 CreateSignature (moved from RSAPKCS1SignatureFormatter).
311 * CryptoAPITransform.cs: Removed "= false" assignation from a private
312 member (because this created an unwanted "ghost" constructor) and
313 modified Dispose declaration.
314 * HashAlgorithm.cs: Removed destructor. Disposing unmanaged
315 ressources is the responsability of each class (not an abstract class).
316 * RSAPKCS1SignatureDeformatter.cs: Removed a VerifySignature method
317 which was present in the base class AsymmetricSignatureDeformatter.
318 * RSAPKCS1SignatureFormatter.cs: Removed a CreateSignature method
319 which was present in the base class AsymmetricSignatureFormatter.
320 * SHA1Managed.cs: Removed sealed from class declaration. Removed
321 destructor and Dispose method as class is fully managed.
322 * ToBase64Transform.cs: Added virtual to property CanReuseTransform.
324 2002-11-17 Sebastien Pouliot <spouliot@videotron.ca>
326 * CryptoConfig.cs: Added full classes name for MapNameToOID.
327 * PKCS1.cs: New. Internal class for the various primitives defined
329 * PKCS1MaskGenerationFunction.cs: Modified to use PKCS1.cs.
330 * RSA.cs: Added internal class RSAHandler (which implements IHandler
331 interface for MiniParser) to import RSA keypairs from XML strings.
332 * RSACryptoServiceProvider.cs: Crypto implemented using BigInteger.
333 Key generation is VERY LONG.
334 * RSAOAEPKeyExchangeDeformatter.cs: Completed using PKCS1. Not sure
335 of the results as this is not available in all versions of Windows.
336 * RSAOAEPKeyExchangeFormatter.cs: Completed using PKCS1. Not sure
337 of the results as this is not available in all versions of Windows.
338 * RSAPKCS1KeyExchangeDeformatter.cs: Completed using PKCS1.
339 * RSAPKCS1KeyExchangeFormatter.cs: Completed using PKCS1.
340 * RSAPKCS1SignatureDeformatter.cs: Completed using PKCS1.
341 * RSAPKCS1SignatureFormatter.cs: Completed using PKCS1.
343 2002-11-17 Sebastien Pouliot <spouliot@videotron.ca>
345 * MiniParser.cs: Added explicit cast in order to compile with mcs.
347 2002-11-16 Sebastien Pouliot <spouliot@videotron.ca>
349 * AsymmetricAlgorithm.cs: Added internal class AsymmetricParameters
350 (which implements the IReader interface for MiniParser). Corrected
352 * BigInteger.cs: New. Internal class for handling BIG integers for
353 asymmetric crypto (both RSA and DSA). Thanks to Chew Keong TAN !
354 * CryptoConfig.cs: Added XMLDSIG URLs in CreateFromName.
355 Will dynamically load System.Security.dll, when required,
356 to return instance of those classes. Also CryptoConfig can now
357 create any object (e.g. System.IO.MemoryStream) !
358 * DSA.cs: Added internal class DSAHandler (which implements IHandler
359 interface for MiniParser) to import DSA keypairs from XML strings.
360 * DSACryptoServiceProvider.cs: Crypto fully implemented using
361 BigInteger. Key generation (group) is VERY long.
362 * MiniParser.cs: New. Minimal XML parser by Sergey Chaban. Used to
363 import keypairs in XML strings.
364 * SignatureDescription.cs: Removed local CreateFromName (to use
365 CryptoConfig - which actually can create anything). Added internal
366 classes DSASignatureDescription and RSAPKCS1SHA1SignatureDescription.
368 2002-11-15 Sebastien Pouliot <spouliot@videotron.ca>
370 * CryptographicUnexpectedOperationException.cs: Forgot it last time!
371 * FromBase64Transform.cs: Added missing virtual to CanReuseTransform.
373 * HashAlgorithm.cs: Changed Dispose().
374 * MD5CryptoServiceProvider.cs: Added destructor and Dipose(bool).
375 * PasswordDeriveBytes.cs: Changed some declaration from
376 protected to private.
377 * RC2.cs: Added valid keysize check in EffectiveKeySize.
378 * RC2CryptoServiceProvider.cs: Overriden EffectiveKeySize to match
380 * RSAOAEPKeyExchangeDeformatter.cs: Changed some declaration from
381 protected to private.
382 * RSAOAEPKeyExchangeFormatter.cs: Changed some declaration from
383 protected to private.
384 * RSAPKCS1KeyExchangeDeformatter.cs: Changed some declaration from
385 protected to private.
386 * RSAPKCS1KeyExchangeFormatter.cs: Changed some declaration from
387 protected to private.
388 * RSAPKCS1SignatureDeformatter.cs: Changed some declaration from
389 protected to private.
390 * RSAPKCS1SignatureFormatter.cs: Changed some declaration from
391 protected to private.
392 * SHA1CryptoServiceProvider.cs: Moved SHA1 code to SHA1Internal.
393 SHA1CryptoServiceProvider now use SHA1Internal. Added Dispose and
395 * SHA1Managed.cs: New. Use SHA1Internal. Same as
396 SHA1CryptoServiceProvider but is required for binary compatibility.
397 * SHA256Managed.cs: Changed some declaration from protected to private.
398 * SHA384Managed.cs: Changed some declaration from protected to private.
399 * SHA512Managed.cs: Changed some declaration from protected to private.
400 * SymmetricAlgorithm.cs: Added Clear(), changed Dispose() and added
401 virtual to Dispose(bool).
402 * ToBase64Transform.cs: Added missing virtual to CanReuseTransform.
404 * TripleDESCryptoServiceProvider.cs: Added missing sealed to class
407 2002-11-03 Sebastien Pouliot <spouliot@videotron.ca>
409 * CryptoAPITransform.cs: Added missing CanReuseTransform property,
410 Clear method, destructor and IDisposable support.
411 * CryptographicException.cs: Added missing protected constructor.
412 * CryptographicUnexpectedOperationException.cs: Added missing
413 protected constructor.
414 * ICryptoTransform.cs: Added missing CanReuseTransform property.
415 * FromBase64Transform.cs: Added missing CanReuseTransform property,
416 Clear method, destructor and IDisposable support.
417 * SymmetricAlgorithm.cs: Implement IDisposable.
418 * ToBase64Transform.cs: Added missing CanReuseTransform property,
419 Clear method, destructor and IDisposable support.
421 2002-11-02 Sebastien Pouliot <spouliot@videotron.ca>
423 * SignatureDescription.cs: Updated class to match unit test results
424 * X509Certificate.cs: REMOVED! Wrong namespace. An almost complete
425 implementation is now in System.Security.Cryptography.X509Certificates
427 2002-11-01 Sebastien Pouliot <spouliot@videotron.ca>
429 * bouncycastle.txt: Bouncy Castle JCE License.
430 * SHA384Managed.cs: Hash implementation based on BouncyCastle JCE.
431 * SHA512Managed.cs: Hash implementation based on BouncyCastle JCE.
433 2002-10-30 Sebastien Pouliot <spouliot@videotron.ca>
435 * DSASignatureDeformatter.cs: Fully implemented - however it
436 requires a functionnal DSA implementation to work.
437 * DSASignatureFormatter.cs: Fully implemented - however it
438 requires a functionnal DSA implementation to work.
440 2002-10-25 Sebastien Pouliot <spouliot@videotron.ca>
442 * PasswordDeriveBytes.cs: New. PKCS#5 key derivation (PBKDF1) works up to
443 HashSize length (but MS support longer keys)
445 2002-10-24 Sebastien Pouliot <spouliot@videotron.ca>
447 * RSACryptoServiceProvider.cs: New. Implemented most logic expect crypto
448 * RSAOAEPKeyExchangeDeformatter.cs: New. Stub.
449 * RSAOAEPKeyExchangeFormatter.cs: New. Stub.
450 * RSAPKCS1KeyExchangeDeformatter.cs: New. Stub.
451 * RSAPKCS1KeyExchangeFormatter.cs: New. 98% implemented but still
452 require RSA.DecryptValue (not supported in MS .NET Framework)
453 * RSAPKCS1SignatureDeformatter.cs: New. Stub.
454 * RSAPKCS1SignatureFormatter.cs: New. Stub.
456 2002-10-23 Sebastien Pouliot <spouliot@videotron.ca>
458 * SymmetricAlgorithm.cs: Fixed CFB mode (do encryption while decrypting!)
459 * TripleDESCryptoServiceProvider.cs: Ajusted for CFB.
461 2002-10-22 Sebastien Pouliot <spouliot@videotron.ca>
463 * RjindaelManaged.cs: Fixed decryption for 192 and 256 bit block size
465 2002-10-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
467 * RC2CryptoServiceProvider.cs: fixed end of lines (changed from \r
470 2002-10-20 Sebastien Pouliot <spouliot@videotron.ca>
472 * SymmetricAlgorithm.cs: Added better Dispose support
473 * DES.cs: Now only contains the abstract DES class.
474 * DESCryptoServiceProvider.cs: Added the DESTransform class (inherited
475 from SymmetricTransform) based the old DESCore and DESTransformBase code
476 * RC2.cs: Fixed EffectiveKeySize == 0
477 * RC2CryptoServiceProvider.cs: Added the RC2Transform class (inherited
478 from SymmetricTransform) based on the old RC2lImpl code. Unrolled some loops.
479 * RjindaelManaged.cs: Few more optimizations while looking for decrypting bug
480 * TripleDESCryptoServiceProvider.cs: New. Implement TripleDESTransform from
481 DESTransform (non-optimal but working :-).
483 2002-10-19 Sebastien Pouliot <spouliot@videotron.ca>
485 * SymmetricAlgorithm.cs: Added new class SymmetricTransform to avoid
486 duplicating CipherMode (currently ECB, CBC) and PaddingMode functionalities
487 in every crytographic algorithm implementation.
488 * RijndaelManaged.cs: Added the RjindaelTransform class (inherited
489 from SymmetricTransform) based the old RijndaelImpl / RijndaelController
490 code. Fixed encryption for block size 192, 256, there is still a problem
491 decrypting block size 192, 256. Unrolled some loops + littl'optimizations
492 * PKCS1MaskGenerationMethod.cs: Removed Array.Reverse in I2OSP to be
493 compatible with MS implementation (however we are now failing the PKCS#1
494 test vector) + added some more checks (null, overflow, ...)
495 * AsymmetricAlgorithm.cs: Commented XMLDocument stuff to end the cyclic
496 dependency (corlib->System.Xml->corlib)
497 * RSA.cs: Commented FromXmlString stuff to end the cyclic dependency
498 * DSA.cs: Commented FromXmlString stuff to end the cyclic dependency
499 * RC2.cs: Create using CryptoConfig
500 * TripleDES.cs: Marked class public. Added LegalKeySizes and LegalBlockSizes
502 2002-10-14 Sebastien Pouliot <spouliot@videotron.ca>
504 * MD5.cs: Create using CryptoConfig, set HashSizeValue, removed TODO.
505 * Rijndael.cs: Create using CryptoConfig. Removed TODO.
506 * RSAParameters.cs: Modulus must be serialized. Removed TODO.
507 * SHA256.cs: Create using CryptoConfig, set HashSizeValue, removed TODO.
508 * SHA384.cs: Create using CryptoConfig, set HashSizeValue, removed TODO.
509 * SHA512.cs: Create using CryptoConfig, set HashSizeValue, removed TODO.
510 * FromBase64Transform.cs: Removed ToString()
511 * ToBase64Transform.cs: Removed ToString()
512 * SymmetricAlgorithm.cs: Create using CryptoConfig, set default Mode and
513 Padding, added Clear, Dispose
514 * TripleDES.cs: New. Abstract class.
515 * MaskGenerationMethod.cs: New. Abstract class.
516 * PKCS1MaskGenerationMethod.cs: New. Implement PKCS#1 MGF (currently not
517 compatible with MS implementation - but not sure the bug is mine!).
519 2002-10-13 Sebastien Pouliot <spouliot@videotron.ca>
521 * HashAlgorithm.cs: Added Dispose() to HashAlgorithm because it
522 inherits ICryptoTransform
523 * KeyedHashAlgorithm.cs: New implementation
524 * HMACSHA1.cs: New (include a generic HMACAlgorithm as internal class)
525 * MACTripleDES.cs: New (missing core implementation on generic MACAlgorithm)
526 * CryptoStream.cs: Added limited functionalities to support HMACSHA1
528 2002-10-12 Sebastien Pouliot <spouliot@videotron.ca>
530 * DSA.cs: changed constructor to public from internal (like MS)
531 * HashAlgorithm.cs: Completed ComputeHash methods
532 * SHA1.cs: Added HashSizeValue = 160
534 2002-10-12 Sebastien Pouliot <spouliot@videotron.ca>
536 * ICryptoTransform.cs: Now inherits from IDisposable
537 * RC2CryptoServiceProvider.cs: Added Dispose() to RC2Impl because it inherits ICryptoTransform
538 * CryptoAPITransform.cs: Added Dispose() to CryptoAPITransform... ICryptoTransform
539 * RijndaelManaged.cs: Added Dispose() to RijndaelController...ICryptoTransform
540 * FromBase64Transform.cs: Added Dispose() to FromBase64Transform...ICryptoTransform
541 * ToBase64Transform.cs: Added Dispose() to ToBase64Transform...ICryptoTransform
542 * DESCryptoServiceProvider.cs: Added Dispose() to DESTransformBase...ICryptoTransform
544 2002-10-11 Duncan Mak <duncan@ximian.com>
546 * DESCryptoServiceProvider.cs: Removed unnecessary Dispose ().
548 2002-10-11 Sebastien Pouliot <spouliot@videotron.ca>
550 * DES.cs: Create() using CryptoConfig, fix #30256
551 * DESCryptoServiceProvider.cs: fix #30256
552 * RandomNumberGenerator.cs: uncomment in Create(rng) for CryptoConfig
554 2002-10-10 Sebastien Pouliot <spouliot@videotron.ca>
556 * AsymmetricAlgorithm.cs: Inherit from IDisposable, common support from XML import
557 * DSA.cs: FromXmlString() keypair import, Create() using CryptoConfig
558 * RSA.cs: FromXmlString() keypair import, Create() using CryptoConfig
559 * DSACryptoServiceProvider.cs: Added Dispose()
561 2002-10-09 Sebastien Pouliot <spouliot@videotron.ca>
563 * CryptoConfig.cs: New implementation
565 2002-10-05 Andrew Birkett <andy@nobugs.org>
567 * RC2CryptoServiceProvider.cs: New implementation
568 * RC2.cs: New implementation
570 2002-09-22 Andrew Birkett <andy@nobugs.org>
572 * RijndaelManaged.cs: Added faster case for multiplication by 2 in GF(8)
574 2002-09-22 Andrew Birkett <andy@nobugs.org>
576 * RijndaelManaged.cs: BlockSize now reports size in bytes.
577 * ICryptoTransform.cs: Updated comments - BlockSizes are in bytes, unlike elsewhere.
579 2002-09-19 Andrew Birkett <andy@nobugs.org>
581 * Rijndael.cs: Create() now gives you a RijndaelManaged object
582 * RijndaelManaged.cs: Added dummy GenerateKey until we have a proper RNG.
583 * SymmetricAlgorithm.cs: Updated comments
585 2002-09-15 Andrew Birkett <andy@nobugs.org>
587 * RijndaelManaged.cs: Added support for CBC-mode, PKCS7/Zero padding.
588 * SymmetricAlgorithm.cs: IV size must match block size, not key size.
589 Key property now sets KeySizeValue correctly in bits.
591 2002-09-11 Andrew Birkett <andy@nobugs.org>
593 * RijndaelManaged.cs: Implemented ECB-mode Rijndael cipher.
594 * Rijndael.cs: Set valid key/block sizes.
595 * SymmetricAlgorithm.cs: Remove throw from ctr so we can instantiate
596 derived classes. Fixes to key sizes so they are measured in bits.
597 * KeySizes.cs: Updated comments to emphasize that sizes are in bits.
599 2002-06-29 Martin Baulig <martin@gnome.org>
601 * AsymmetricAlgorithm.cs: Removed a duplicate semicolon to make it compile.
603 2002-05-19 Martin Baulig <martin@gnome.org>
605 * FromBase64Transform.cs (TransformFinalBlock): The return value of
606 `DoTransform' tells us the number of bytes actually written - if it's
607 smaller than `res', copy it to a smaller array.
609 2002-02-21 Mark Crichton <crichton@gimp.org>
611 * RNGCryptoServiceProvider.cs: New file.
612 * RandomNumberGenerator.cs: Constructor is now marked public.
614 2002-02-13 Dan Lewis <dihlewis@yahoo.co.uk>
616 * DSACryptoServiceProvider.cs, SHA384Managed.cs, SHA512Managed.cs,
617 Rijndael.cs, RSA.cs, RSAParameters.cs : New files (stubs)
619 Mon Feb 11 13:26:17 CET 2002 Paolo Molaro <lupus@ximian.com>
621 * X509Certificates: dummy class.
623 2002-01-10 Duco Fijma <duco@lorentz.xs4all.nl>
624 * Create (trivial) implementation of RandomNumberGenerator
626 2002-01-05 Ravi Pratap <ravi@ximian.com>
628 * CryptoAPITransform.cs, DESCryptoProvider.cs : MonoTODO attribute
631 * HashAlgorithm.cs, MD5.cs, SHA1.cs, SHA256.cs, SHA384.cs : Ditto.
633 * SHA512.cs, SymmetricAlgorithm.cs, ToBase64Transform.cs,
634 AsymmetricAlgorithm.cs, CryptoStream.cs, DSA.cs, DSASignatureDeformatter.cs,
635 DSASignatureFormatter.cs, SignatureDescription.cs : Ditto.
637 Wed Nov 14 17:04:30 CET 2001 Paolo Molaro <lupus@ximian.com>
639 * MD5CryptoServiceProvider.cs, SHA1CryptoServiceProvider.cs,
640 SHA256Managed.cs: CLSCompliant updates.
642 2001-10-11 Thomas Neidhart <tome@sbox.tugraz.at>
644 * CryptoAPITransform.cs: Initial version
645 * CryptoStream.cs: Initial version
646 * CspParameter.cs: Initial version
647 * CspProviderFlags.cs: Initial version
648 * DSA.cs: Initial version
649 * DSAParameters.cs: Initial version
650 * DSASignatureDeformatter.cs: Initial version
651 * DSASignatureFormatter.cs: Initial version
652 * DeriveBytes.cs: Initial version
654 2001-10-06 Thomas Neidhart <tome@sbox.tugraz.at>
656 * AsymmetricAlgorithm.cs: Inital version
657 * AsymmetricKeyExchangeDeformatter.cs: Initial version
658 * AsymmetricKeyExchangeFormatter.cs: Initial version
659 * AsymmetricSignatureDeformatter.cs: Initial version
660 * AsymmetricSignatureFormatter.cs: Initial version
661 * PaddingMode.cs: Added PaddingMode.None
662 * SignatureDescription.cs: Initial version
663 * CryptographicException.cs: Initial version
664 * CryptographicUnknownOperationException.cs: Initial version
665 * SymmetricAlgorithm.cs: Implemented CreateDecryptor, CreateEncryptor
666 and Create() methods.
668 2001-08-20 Sergey Chaban <serge@wildwestsoftware.com>
670 * DES.cs encryption core is about 30% faster than previous version.
671 * DESCryptoServiceProvider.cs added PKCS-5 padding.
673 2001-08-09 Sergey Chaban <serge@wildwestsoftware.com>
675 * ToBase64Transform.cs: Base64Table now supports both encoding
676 and decoding tables. As a result Table was renamed to EncodeTable
677 and DecodeTable was added.
678 * FromBase64Transform.cs: Initial check-in.
679 * DES.cs: Initial check-in.
680 * DESCryptoServiceProvider.cs: Initial check-in.
682 2001-08-01 Matthew S. Ford <Matthew.S.Ford@Rose-Hulman.Edu>
684 * CipherMode.cs: Initial version.
685 * CryptoStreamMode.cs: Initial version.
686 * HashAlgorithm.cs: Initial version.
687 * ICryptoTransform.cs: Initial version.
688 * KeySizes.cs: Initial version.
689 * MD5.cs: Initial version.
690 * MD5CryptoServiceProvider.cs: Initial version.
691 * PaddingMode.cs: Initial version.
692 * SHA1.cs: Initial version.
693 * SHA1CryptoServiceProvider.cs: Initial version.
694 * SHA256.cs: Initial version.
695 * SHA256Managed.cs: Initial version.
696 * SHA384.cs: Initial version.
697 * SHA512.cs: Initial version.