Commit Graph

184 Commits

Author SHA1 Message Date
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
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
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
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
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
Juan Lang
ba01e7b2b9 rsaenh: Add tests for key permissions. 2009-01-29 12:21:25 +01:00
Andrew Talbot
149ee9bf3b rsaenh: Declare some functions static. 2009-01-23 13:12:22 +01:00
Andrew Talbot
4be41680a3 rsaenh: Declare some functions static. 2009-01-22 12:04:24 +01:00
Andrew Talbot
98dad20925 rsaenh: Declare some functions static. 2009-01-21 10:25:16 +01:00
Andrew Talbot
59a4a5d935 rsaenh: Declare some functions static. 2009-01-20 12:30:34 +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
Michael Stefaniuc
50b45a78a3 rsaenh: Do not cast zero. 2008-12-08 12:04:13 +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
Andrew Talbot
c44dcda12b rsaenh: Sign-compare warnings fix. 2008-11-10 11:15:03 +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
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
Rob Shearman
0a2efbb1cc rsaenh: Make some functions used in only one file static. 2008-10-15 15:22:58 +02: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