Commit Graph

226 Commits

Author SHA1 Message Date
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
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
71b4ac9c71 rsaenh/tests: Fix memory leak. 2009-12-09 12:02:47 +01:00
Juan Lang
d69b00d630 rsaenh/tests: Fix memory leaks. 2009-12-07 09:49:07 +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
Paul Vriens
8fe8d61a62 rsaenh/tests: Fix some test failures on W2K. 2009-11-19 11:45:54 +01:00
Paul Vriens
3323ae9dd6 rsaenh/tests: Fix some test failures on Wow64. 2009-11-18 11:20:52 +01:00
Francois Gouget
6e407cccb8 rsaenh/tests: Add a trailing '\n' to an ok() call. 2009-11-16 12:43:06 +01:00
Juan Lang
9369dfbab6 rsaenh/tests: Fix length of copied buffer. 2009-11-12 13:12:04 +01:00
Juan Lang
314033b992 rsaenh/tests: Fix a couple typos. 2009-11-11 10:54:32 +01:00
Juan Lang
1547b47411 rsaenh/tests: Fix some test failures. 2009-11-11 10:54:00 +01:00
Juan Lang
27027590f8 rsaenh: Only reverse the significant bytes of an exported public key. 2009-11-09 19:33:53 +01:00
Juan Lang
2d05074fba rsaenh: Only reverse the significant bytes of an exported private key. 2009-11-09 19:33:48 +01:00
Juan Lang
b1beb212db rsaenh/tests: Add round-trip test of RSA. 2009-11-09 19:33:41 +01:00
Juan Lang
1004b57c55 rsaenh: Explicitly clear unused memory when exporting a public key. 2009-11-09 19:33:29 +01:00
Juan Lang
49c11910d8 rsaenh: Explicitly clear unused memory when exporting a private key. 2009-11-09 19:33:25 +01:00
Juan Lang
812fdca9d6 rsaenh: Test exporting an RSA private key with the most significant bit set. 2009-11-04 13:07:55 +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
Francois Gouget
53f3f441fb rsaenh: Make the mpi functions static, remove mp_signed_bin_size() as it is unused. 2009-05-26 14:09:51 +02:00
Francois Gouget
96848a0605 Remove spaces before '\n's. 2009-03-09 12:05:58 +01:00
Andrew Talbot
250b699354 rsaenh: Replace malloc/realloc with HeapAlloc/HeapReAlloc. 2009-02-16 15:35:14 +01:00
Alexandre Julliard
7682bc6f88 rsaenh: Rename the HANDLETABLE structure to avoid conflicts with wingdi.h. 2009-02-09 13:03:35 +01:00
Francois Gouget
d13fed31fd rsaenh: {alloc,release}_handle_table() are not used so remove them. 2009-02-05 13:14:40 +01:00