Commit Graph

98 Commits

Author SHA1 Message Date
Alexandre Julliard 7682bc6f88 rsaenh: Rename the HANDLETABLE structure to avoid conflicts with wingdi.h. 2009-02-09 13:03:35 +01:00
Juan Lang 674786527a rsaenh: Also write a key's permissions when it's being stored to the registry. 2009-01-29 12:40:09 +01:00
Juan Lang 2edda7208f rsaenh: Load/store key permissions along with key pair value. 2009-01-29 12:40:03 +01:00
Juan Lang bd41f77d3d rsaenh: Use key spec rather than char * to identify a key pair. 2009-01-29 12:39:55 +01:00
Juan Lang fbc26f3855 rsaenh: Don't store a key to the registry when it's being read from the registry. 2009-01-29 12:39:49 +01:00
Juan Lang 4eb1ee4277 rsaenh: Store a key's value to the registry when a key is imported. 2009-01-29 12:39:45 +01:00
Juan Lang 17da3004ef rsaenh: Split CPImportKey into a helper function for each type of key supported. 2009-01-29 12:39:40 +01:00
Juan Lang 30764edd12 rsaenh: Use helper function to install keys. 2009-01-29 12:22:28 +01:00
Juan Lang 8f4a491489 rsaenh: Separate storing a key container's keys from releasing them. 2009-01-29 12:22:21 +01:00
Juan Lang e8ea6700ca rsaenh: Honor a key's permissions when exporting a private key. 2009-01-29 12:22:07 +01:00
Juan Lang 8265569e99 rsaenh: Split CPExportKey into helper functions for each export type. 2009-01-29 12:21:59 +01:00
Juan Lang 0eb9ae17fe rsaenh: Fix CryptSetKeyParam for KP_PERMISSIONS. 2009-01-29 12:21:50 +01:00
Juan Lang 1cc5886771 rsaenh: Honor the CRYPT_EXPORTABLE flag to CryptAcquireContext and CryptGenKey. 2009-01-29 12:21:45 +01:00
Juan Lang cc1e6eed7e rsaenh: Honor the CRYPT_EXPORTABLE flags to CryptImportKey. 2009-01-29 12:21:38 +01:00
Michael Stefaniuc 16042cff7b rsaenh: Remove superfluous pointer casts. 2009-01-13 15:25:46 +01:00
Andrew Talbot c44dcda12b rsaenh: Sign-compare warnings fix. 2008-11-10 11:15:03 +01:00
Michael Stefaniuc 4f199a10ad Remove the remaining casts of NULL. 2008-11-03 13:42:09 +01:00
Michael Stefaniuc 9cafb9c168 rsaenh: Use 0 instead of casting NULL to a handle of integer type. 2008-10-27 11:28:09 +01:00
Rob Shearman b069b53bd9 rsaenh: Add a value to the empty braces in the initialiser for aOIDDescriptor in build_hash_signature.
An empty initialiser isn't supported on some compilers like MSVC.
2008-10-15 16:45:09 +02:00
Juan Lang 408f3d96c5 rsaenh: Test and correct the maximum allowable salt length. 2008-07-29 12:20:26 +02:00
Vijay Kiran Kamuju e666bb2a5c rsaenh: Fix AES provider keys for Windows XP. 2008-06-04 12:41:01 +02:00
Paul Vriens 51ee956b95 rsaenh: Add some new flags to wincrypt.h and use one of them. 2008-04-03 11:30:20 +02:00
Andrew Talbot 038169b6a7 rsaenh: Assign to structs instead of using memcpy. 2008-03-17 11:41:17 +01:00
Juan Lang ad6a7a788d rsaenh: Merge the encrypting and decrypting states, as encrypting and decrypting are allowed with the same key. 2008-02-08 11:02:25 +01:00
Andrew Talbot 303bff281c rsaenh: Remove unneeded casts. 2008-01-18 12:43:37 +01:00
Juan Lang 83f74fef2c crypt32: Support setting the salt value through KP_SALT_EX. 2007-11-29 13:34:56 +01:00
Juan Lang c9e0fa442a crypt32: Support getting and setting the KP_PADDING key param. 2007-11-29 13:34:50 +01:00
Juan Lang 749a7adaf4 rsaenh: Empty container names are allowed for CRYPT_VERIFYCONTEXT contexts. 2007-11-28 11:20:20 +01:00
Vijay Kiran Kamuju 1dbaa8c619 rsaenh: Add implementation of Enhanced RSA AES Provider. 2007-11-21 13:07:41 +01:00
Juan Lang f6833c4d09 rsaenh: Check pad bytes for consistency when decrypting. 2007-11-12 12:57:15 +01:00
Juan Lang 61d58c15aa rsaenh: Fix a comment. 2007-11-08 11:48:38 +01:00
Juan Lang 8788cca0ef rsaenh: Use LocalFree to free memory return by Crypt(Un)ProtectData. 2007-11-07 13:13:17 +01:00
Juan Lang 5408471b23 rsaenh: Use helper function to read key pairs from registry. 2007-11-07 13:13:12 +01:00
Juan Lang 9260fcf7ac rsaenh: Use helper function to delete a key container's registry key. 2007-11-07 13:13:03 +01:00
Juan Lang 88405a68e7 rsaenh: Use helper function to open a key container's registry key. 2007-11-07 13:12:53 +01:00
Juan Lang 060ed4cf02 rsaenh: Use helper function to create a container's registry key. 2007-11-07 13:12:47 +01:00
Juan Lang 58269419e5 rsaenh: Use helper function to persist keys. 2007-11-07 13:10:32 +01:00
Juan Lang f0d2766fdc rsaenh: Validate pad byte when decrypting a block cipher. 2007-09-12 11:33:11 +02:00
Juan Lang 41d057837c rsaenh: Support setting the effective key length of RC2 keys. 2007-09-11 12:35:22 +02:00
Juan Lang 5666efb137 rsaenh: Call setup_key whenever the IV is reset. 2007-09-11 12:35:18 +02:00
Juan Lang 16c40d9112 rsaenh: Reorder padding code to avoid unnecessary comparison. 2007-09-11 12:35:14 +02:00
Andrew Talbot c94f113f4f rsaenh: Constify some variables. 2007-08-24 10:57:16 +02:00
Juan Lang cd3954e7fd rsaenh: Get rid of the hash idle state, native doesn't behave as though it has one. 2007-07-11 12:00:38 +02:00
Maarten Lankhorst 4e0ef1cb38 rsaenh: Allow CRYPT_NEWKEYSET and CRYPT_VERIFYCONTEXT at same time when acquiring context. 2007-06-13 12:06:17 +02:00
Andrew Talbot 42fd48f38e rsaenh: Exclude unused header. 2007-05-18 14:11:29 +02:00
Mounir IDRASSI e61eddd6a5 rsaenh: Fix crash in RSAENH_CPVerifySignature if pbSignature is set to NULL or if dwSigLen is lesser than the expected value. 2007-05-15 12:23:09 +02:00
Mounir IDRASSI f772fb9898 rsaenh: Add support for mandatory parameters to RSAENH_CPGetProvParam. 2007-05-11 11:20:13 +02:00
Mounir IDRASSI 56a1326a8b rsaenh: Use the correct registry key in RSAENH_CPAcquireContext. 2007-05-08 12:23:06 +02:00
Mounir IDRASSI a7d897d76a rsaenh: Fix read_key_container bug that prevents CryptAcquireContext from correctly loading the keys. 2007-05-07 20:35:59 +02:00
Alexandre Julliard 69a88a9d40 Fix minor differences in the formatting of the license notices. 2007-05-04 12:08:15 +02:00