Commit Graph

151 Commits

Author SHA1 Message Date
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
Vijay Kiran Kamuju
e666bb2a5c rsaenh: Fix AES provider keys for Windows XP. 2008-06-04 12:41:01 +02:00
Andrew Talbot
0ed3456779 rsaenh: Remove unused file-static variable. 2008-05-21 11:36:57 +02:00
Francois Gouget
633ee950a1 Assorted spelling fixes. 2008-05-07 12:07:11 +02:00
Austin English
313a85f163 Spelling fixes. 2008-04-17 12:25:57 +02:00
Paul Vriens
66c022c28c rsaenh/tests: Fix a test on W2K and above. 2008-04-07 11:24:01 +02:00
Andrew Talbot
722b659064 rsaenh: Remove tentative declaration of static array with no size specifier. 2008-04-04 11:04:24 +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
51ee956b95 rsaenh: Add some new flags to wincrypt.h and use one of them. 2008-04-03 11:30:20 +02:00
Paul Vriens
77d912e541 rsaenh/tests: Fix a typo. 2008-04-03 11:30:15 +02:00
Andrew Talbot
038169b6a7 rsaenh: Assign to structs instead of using memcpy. 2008-03-17 11:41:17 +01:00
Rob Shearman
48000893f9 makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
Only specify the root to keep platform-specifics out of the individual 
DLL makefiles.
2008-03-04 20:55:01 +01:00
Juan Lang
ad6a7a788d rsaenh: Merge the encrypting and decrypting states, as encrypting and decrypting are allowed with the same key. 2008-02-08 11:02:25 +01:00
Andrew Talbot
303bff281c rsaenh: Remove unneeded casts. 2008-01-18 12:43:37 +01:00
Michael Stefaniuc
8423809f9f rsaenh/tests: Remove an unused global variable. 2007-12-14 12:25:59 +01:00
Michael Stefaniuc
ee54d92c40 rsaenh/tests: Remove duplicate abPlainPrivateKey variable. 2007-12-14 12:25:55 +01:00
Rob Shearman
0768dc3beb rsaenh: Fix some memory leaks in the tests.
Remove an incorrect CryptProviderRelease call.
2007-12-11 18:07:08 +01:00
Rob Shearman
5d88c0cbad rsaenh: Fix some leaks of the provider handle in the rsaenh tests. 2007-12-07 17:06:08 +01:00
Juan Lang
83f74fef2c crypt32: Support setting the salt value through KP_SALT_EX. 2007-11-29 13:34:56 +01:00
Juan Lang
c9e0fa442a crypt32: Support getting and setting the KP_PADDING key param. 2007-11-29 13:34:50 +01:00
Juan Lang
749a7adaf4 rsaenh: Empty container names are allowed for CRYPT_VERIFYCONTEXT contexts. 2007-11-28 11:20:20 +01:00
Vijay Kiran Kamuju
1dbaa8c619 rsaenh: Add implementation of Enhanced RSA AES Provider. 2007-11-21 13:07:41 +01:00
Vijay Kiran Kamuju
ea1f8c7ad8 rsaenh: Add tests for RSA_AES provider. 2007-11-21 13:02:26 +01:00
Gerald Pfeifer
d9f5817e8a rsaenh/tests: Fix const-ness of parameters to printBytes(). 2007-11-19 13:51:11 +01:00
Vijay Kiran Kamuju
fc90d2bd45 rsaenh: Add a few more tests which check the decryption strings. 2007-11-16 13:23:37 +01:00
Juan Lang
f6833c4d09 rsaenh: Check pad bytes for consistency when decrypting. 2007-11-12 12:57:15 +01:00
Juan Lang
61d58c15aa rsaenh: Fix a comment. 2007-11-08 11:48:38 +01:00
Juan Lang
8788cca0ef rsaenh: Use LocalFree to free memory return by Crypt(Un)ProtectData. 2007-11-07 13:13:17 +01:00
Juan Lang
5408471b23 rsaenh: Use helper function to read key pairs from registry. 2007-11-07 13:13:12 +01:00
Juan Lang
9260fcf7ac rsaenh: Use helper function to delete a key container's registry key. 2007-11-07 13:13:03 +01:00
Juan Lang
88405a68e7 rsaenh: Use helper function to open a key container's registry key. 2007-11-07 13:12:53 +01:00
Juan Lang
060ed4cf02 rsaenh: Use helper function to create a container's registry key. 2007-11-07 13:12:47 +01:00
Juan Lang
58269419e5 rsaenh: Use helper function to persist keys. 2007-11-07 13:10:32 +01:00
Alexandre Julliard
0590fe2ecf Make some variables static. 2007-11-06 14:38:54 +01:00