Commit Graph

133 Commits

Author SHA1 Message Date
Frédéric Delanoy 936d5351f5 rsaenh: Remove unused file-static variables. 2011-11-17 11:37:35 +01:00
Andrew Talbot 7998cd4629 rsaenh: Remove unneeded address-of operator from array name. 2011-11-02 12:31:38 +01:00
Juan Lang 2d658db553 rsaenh: Infer private exponent length from data length. 2011-11-01 10:43:43 +01:00
Juan Lang 54b972e2fc rsaenh: Add error messages for failed private key imports. 2011-11-01 10:43:31 +01:00
Francois Gouget c992ca277d Assorted spelling fixes. 2011-08-24 19:07:46 +02:00
Frédéric Delanoy 7e309601f3 dlls: Assorted spelling fixes. 2011-08-03 14:15:50 +02:00
Alexandre Julliard b56dc9a6f7 winecrt0: Remove the clsid parameter in __wine_(un)register_resources. 2011-08-02 20:47:49 +02:00
David Hedberg f8755d8422 rsaenh: Don't fail on signature verification if the signed hash lacks the OID. 2011-06-15 20:04:38 +02:00
Juan Lang 00ba1f606c rsaenh: Fully initialize schannel algorithm information. 2011-02-15 16:51:30 +01:00
Juan Lang 8e479f7803 rsaenh: Disallow deriving schannel encryption keys before setting the encryption algorithm. 2011-02-11 17:42:01 +01:00
Juan Lang ea43c5989c rsaenh: Disallow creating schannel master hashes before setting the client random and server random. 2011-02-11 17:41:57 +01:00
Juan Lang 9f8d00889f rsaenh: Be more careful about when to hash HMAC key material. 2011-01-17 13:22:06 +01:00
Juan Lang 786c57d323 rsaenh: Only set key length on successful retrieval of hash value. 2011-01-17 13:22:06 +01:00
Juan Lang c91afb9733 rsaenh: Add support for CRYPT_IPSEC_HMAC_KEY. 2011-01-14 18:26:17 +01:00
Juan Lang 5ccf2bd998 rsaenh: Move check for CRYPT_IPSEC_HMAC_KEY to each key import function. 2011-01-14 18:26:17 +01:00
Alexandre Julliard 07a627b1b8 rsaenh: Convert dll registration to the IRegistrar mechanism. 2010-12-09 12:11:20 +01:00
Gerald Pfeifer c8748d73d1 rsaenh: Simplify store_key_container_permissions. 2010-05-26 10:14:41 +02:00
Juan Lang 62d806601b rsaenh: Implement CALG_SSL3_SHAMD5 hashing. 2010-05-21 14:37:52 +02:00
Juan Lang 1991ff2a0c rsaenh: Don't return salt for algorithms that don't support it. 2010-03-31 11:36:16 +02:00
Juan Lang c5a6b7b366 rsaenh: Support setting salt via KP_SALT (resend). 2010-03-31 11:36:11 +02:00
Juan Lang 89b8adb262 rsaenh: Add signature support for SHA-256, SHA-384, and SHA-512 hashes. 2010-03-16 11:29:40 +01:00
Juan Lang 311d839dec rsaenh: Add support for SHA-256, SHA-384, and SHA-512. 2010-03-16 11:29:32 +01:00
Juan Lang f9a475c808 rsaenh: Fix memory leak reading stored keys. 2009-12-10 11:56:10 +01:00
Juan Lang 71880e4818 rsaenh: Free a verify context's keys when it's destroyed. 2009-12-09 13:13:42 +01:00
Juan Lang ac4ac88a51 rsaenh: Use helper function to release and install a key into a crypt provider. 2009-12-09 13:13:36 +01:00
Juan Lang 035c323054 rsaenh: Fix memory leak in CPSignHash. 2009-12-07 09:49:07 +01:00
Alexandre Julliard b402b78780 rsaenh: Fix padding bytes check for 0-byte payload. 2009-12-02 14:59:56 +01:00
Juan Lang 9d9ae93a58 rsaenh: Revert part of d3c482250a. 2009-10-22 10:55:49 +02:00
Juan Lang a48aae26e6 rsaenh: Fail if CRYPT_IPSEC_HMAC_KEY is passed to CryptImportKey. 2009-10-22 10:55:42 +02:00
Juan Lang 48975c38e0 rsaenh: Store key when algid is a CALG_RSA_* algid, too. 2009-10-21 16:05:58 +02:00
Juan Lang 7a6381e852 rsaenh: Make the enhanced crypto provider the default. 2009-10-20 13:47:14 +02:00
Juan Lang 9a72789686 rsaenh: Add some traces to key importing. 2009-10-20 13:47:04 +02:00
Dmitry Timoshkov d3c482250a rsaenh: Fix the accepted RC2 key length, based on a test case by Dan Kegel. 2009-10-13 14:07:00 +02:00
Juan Lang d2827be07f rsaenh: Implement exporting PLAINTEXTKEYBLOBs. 2009-08-10 13:09:13 +02:00
Juan Lang ff6328efcc rsaenh: Implement importing PLAINTEXTKEYBLOBs. 2009-08-10 13:09:06 +02:00
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