Commit Graph

257 Commits

Author SHA1 Message Date
Juan Lang 2d658db553 rsaenh: Infer private exponent length from data length. 2011-11-01 10:43:43 +01:00
Juan Lang f0e2cba471 rsaenh: Test importing a key with an input buffer that's too small for the key it contains. 2011-11-01 10:43:37 +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
Marcus Meissner de379263f8 rsaenh: First part of marking internal symbols with hidden visibility. 2011-05-24 11:55:25 +02:00
Marcus Meissner c4337f1e33 rsaenh: Fixed bad sizeof() usage (Coverity). 2011-02-23 15:01:06 +01:00
André Hentschel e0d712da61 rsaenh/tests: Test the reported length on success. 2011-02-16 14:26:26 +01: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 b0ae8ca7c7 rsaenh/tests: Test errors creating schannel keys and hashes before parameters are set. 2011-02-11 17:41:51 +01:00
Austin English 13b0e284b3 rsaenh/tests: Make sure to use return values (LLVM/Clang). 2011-02-07 10:10:24 -06:00
Nikolay Sivov 0a46f9b678 rsaenh/tests: Fix a key leak (Valgrind). 2011-01-17 14:29:35 +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
Juan Lang 597a2f501a rsaenh/tests: Add tests for CRYPT_IPSEC_HMAC_KEY. 2011-01-12 11:32:18 +01:00
Greg Geldorp ad8ce8388b rsaenh/tests: CryptGetKeyParam doesn't fail on Win7/Win2K8R2. 2010-12-20 12:47:41 +01:00
André Hentschel 59852bc3a0 rsaenh: Fix test failure on some NT4 machines. 2010-12-13 17:30:53 +01:00
Alexandre Julliard 07a627b1b8 rsaenh: Convert dll registration to the IRegistrar mechanism. 2010-12-09 12:11:20 +01:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02: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 71a9d1380c rsaenh: Add tests for CALG_SSL3_SHAMD5 hashing. 2010-05-21 14:37:52 +02:00
André Hentschel d89c5a3f4c rsaenh: Fix a testfailure which occures on some Win7 setups. 2010-05-03 16:46:18 +02:00
André Hentschel 7e1ffa87c3 rsaenh: Fix a testfailure on Win7. 2010-05-03 16:45:45 +02:00
Paul Vriens 54958a2105 rsaenh/tests: Fix some test failures on NT4 and lower. 2010-04-12 11:28:08 +02:00
Paul Vriens d474fa6a6c rsaenh/tests: Run tests again on Windows 95. 2010-04-08 12:29:00 +02:00
Mikhail Maroukhine 1d9e321751 rsaenh/tests: Fix compiler warnings with flag -Wcast-qual. 2010-04-01 18:12:41 +02:00
Hans Leidekker 9f4b022be5 rsaenh: Add some tests for the hash functions. 2010-03-31 16:33:02 +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 ece32e7f12 rsaenh: Add tests of KP_SALT parameter. 2010-03-31 11:36:06 +02:00
Mikhail Maroukhine dc525dabd6 rsaenh: Fix compiler warnings with flag -Wcast-qual. 2010-03-29 12:16:00 +02:00
Michael Stefaniuc f2a331cd0c rsaenh: Remove superfluous casts of zero. 2010-03-29 11:50:04 +02:00
Francois Gouget 716d6dcce0 rsaenh: Use NULL instead of casting 0. 2010-03-22 10:48:14 +01:00
Paul Vriens 3a5c925250 rsaenh/tests: Fix some test failures on XP (pre SP3). 2010-03-17 10:07:22 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01: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 972031643f rsaenh: Add simple tests for SHA-256, SHA-384, and SHA-512. 2010-03-15 15:00:58 +01:00
Juan Lang 5ebe73ef61 rsaenh: Fix some test failures on Win9x/NT4. 2010-03-15 15:00:48 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Paul Vriens 8a737bc1ba rsaenh/tests: Don't check result twice (Coccinelle). 2010-01-14 09:11:07 -06:00
Juan Lang f9a475c808 rsaenh: Fix memory leak reading stored keys. 2009-12-10 11:56:10 +01:00