134 Commits

Author SHA1 Message Date
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
Paul Vriens
3a5c925250 rsaenh/tests: Fix some test failures on XP (pre SP3). 2010-03-17 10:07:22 +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
Paul Vriens
8a737bc1ba rsaenh/tests: Don't check result twice (Coccinelle). 2010-01-14 09:11:07 -06: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
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
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
812fdca9d6 rsaenh: Test exporting an RSA private key with the most significant bit set. 2009-11-04 13:07:55 +01:00
Juan Lang
48975c38e0 rsaenh: Store key when algid is a CALG_RSA_* algid, too. 2009-10-21 16:05:58 +02:00
Francois Gouget
96848a0605 Remove spaces before '\n's. 2009-03-09 12:05:58 +01:00
Juan Lang
8b0f2e3e4b rsaenh: Fix failing tests on Windows ME. 2009-02-04 12:25:00 +01:00
Paul Vriens
ce20f6c687 rsaenh/tests: Fix the remaining test failures on Win9x up to W2K. 2009-01-30 11:45:32 +01:00
Juan Lang
e5fcbad5b6 rsaenh: Fix some recently introduced test failures on Win9x/NT4. 2009-01-30 11:44:52 +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
21a3ae0b7c rsaenh: Add a test for importing a key into a container and acquiring a container with the same name before the original container is released. 2009-01-29 12:22:15 +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
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
ba01e7b2b9 rsaenh: Add tests for key permissions. 2009-01-29 12:21:25 +01:00
Michael Stefaniuc
16042cff7b rsaenh: Remove superfluous pointer casts. 2009-01-13 15:25:46 +01:00
Paul Vriens
a3daf27b7e rsaenh/tests: Fix a test failure on NT4. 2008-12-11 11:50:19 +01:00
Paul Vriens
d211ddbfad rsaenh/tests: Fix a test failure on Win98. 2008-11-28 12:56:43 +01:00
Paul Vriens
26d565ac1b rsaenh/tests: Fix a test failure on NT4 and below. 2008-11-28 12:56:38 +01:00
Paul Vriens
c3072bcaf3 rsaenh/tests: Fix a test failure on NT4 and below. 2008-11-28 12:56:33 +01:00
Paul Vriens
489e59f83d rsaenh/tests: Fix a test failure on W2K and below. 2008-11-26 12:12:54 +01:00
Paul Vriens
6d9bca7d94 rsaenh/tests: Use a 40-bit session key instead of 56-bit. 2008-11-26 12:12:48 +01:00
Paul Vriens
87e7c72f26 rsaenh/tests: Fix a test failure on W2K and below. 2008-11-26 12:12:42 +01:00
Paul Vriens
5da0debbe6 rsaenh/tests: Use a 40-bit session key instead of 56-bit. 2008-11-26 12:12:37 +01:00
Paul Vriens
6a8d623a56 rsaenh/tests: Fix a test failure on W2K and below. 2008-11-26 12:12:30 +01:00
Juan Lang
7f246421d1 rsaenh: Fix some test failures on older versions of Windows. 2008-11-24 14:34:02 +01:00
Paul Vriens
9a2fdfd66b rsaenh/tests: Fix a test failure on NT4 and below. 2008-11-06 11:10:23 +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
Juan Lang
408f3d96c5 rsaenh: Test and correct the maximum allowable salt length. 2008-07-29 12:20:26 +02:00
Austin English
7bdee81c05 rsaenh: Fix a couple failing tests on 2k. 2008-06-09 12:37:24 +02:00
Paul Vriens
66c022c28c rsaenh/tests: Fix a test on W2K and above. 2008-04-07 11:24:01 +02:00
Paul Vriens
9666218ca8 rsaenh/tests: Add a few skips for non implemented parameters. 2008-04-04 11:02:33 +02:00
Paul Vriens
77d912e541 rsaenh/tests: Fix a typo. 2008-04-03 11:30:15 +02:00
Michael Stefaniuc
8423809f9f rsaenh/tests: Remove an unused global variable. 2007-12-14 12:25:59 +01:00