Commit Graph

112 Commits

Author SHA1 Message Date
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
Michael Jung b3a3804be8 rsaenh: Enlarge buffer in test_enum_container. Fixes two test failures on Vista. 2007-10-18 12:07:20 +02:00
Juan Lang f0d2766fdc rsaenh: Validate pad byte when decrypting a block cipher. 2007-09-12 11:33:11 +02:00
Juan Lang 41d057837c rsaenh: Support setting the effective key length of RC2 keys. 2007-09-11 12:35:22 +02:00
Juan Lang 5666efb137 rsaenh: Call setup_key whenever the IV is reset. 2007-09-11 12:35:18 +02:00
Juan Lang 16c40d9112 rsaenh: Reorder padding code to avoid unnecessary comparison. 2007-09-11 12:35:14 +02:00
Andrew Talbot c94f113f4f rsaenh: Constify some variables. 2007-08-24 10:57:16 +02:00
Andrew Talbot 45c5b11fd6 rsaenh: Constify some variables. 2007-08-23 12:39:11 +02:00
Juan Lang cd3954e7fd rsaenh: Get rid of the hash idle state, native doesn't behave as though it has one. 2007-07-11 12:00:38 +02:00
Maarten Lankhorst 4e0ef1cb38 rsaenh: Allow CRYPT_NEWKEYSET and CRYPT_VERIFYCONTEXT at same time when acquiring context. 2007-06-13 12:06:17 +02:00
Andrew Talbot 42fd48f38e rsaenh: Exclude unused header. 2007-05-18 14:11:29 +02:00
Mounir IDRASSI e61eddd6a5 rsaenh: Fix crash in RSAENH_CPVerifySignature if pbSignature is set to NULL or if dwSigLen is lesser than the expected value. 2007-05-15 12:23:09 +02:00
Mounir IDRASSI f772fb9898 rsaenh: Add support for mandatory parameters to RSAENH_CPGetProvParam. 2007-05-11 11:20:13 +02:00
Mounir IDRASSI 56a1326a8b rsaenh: Use the correct registry key in RSAENH_CPAcquireContext. 2007-05-08 12:23:06 +02:00
Mounir IDRASSI a7d897d76a rsaenh: Fix read_key_container bug that prevents CryptAcquireContext from correctly loading the keys. 2007-05-07 20:35:59 +02:00
Alexandre Julliard 69a88a9d40 Fix minor differences in the formatting of the license notices. 2007-05-04 12:08:15 +02:00
Yuval Fledel 1cdc057091 rsaenh: Convert handle type from unsigned int to HCRYPTKEY. 2007-04-23 16:17:54 +02:00
Jan Zerebecki 021b004cf5 rsaenh: Add DebugInfo to critical sections. 2007-03-12 13:40:10 +01:00
Alexandre Julliard 9dd1f1e341 Added version information for a number of dlls. 2007-03-07 21:25:16 +01:00
Andrew Talbot a228eefe6d rsaenh: Declare some functions static. 2007-01-25 12:04:38 +01:00
Dmitry Timoshkov c9842d2ca9 rsaenh: Make some data const and static. 2006-12-14 20:11:37 +01:00
Andrew Talbot 5319668a30 rsaenh: Cast-qual warning fix. 2006-11-14 11:34:37 +01:00
Paul Vriens 9fa27f3be3 rsaenh: Move type-check before len-check (Coverity). 2006-11-13 12:58:53 +01:00
Michael Stefaniuc 7c7e1943ca rsaenh: Win64 printf format warning fixes. 2006-10-09 12:56:13 +02:00
Paul Vriens 283fc8a8ad rsaenh: Win64 printf format warning fixes. 2006-10-09 12:54:21 +02:00
Paul Vriens 038ede615e rsaenh: Make hmac test run on all windows versions. 2006-10-09 12:54:05 +02:00
Francois Gouget 17aa2c82d2 Add missing '\n's to ok() calls. 2006-10-03 15:56:16 +02:00
Karsten Elfenbein c156c1e496 rsaenh/tests: import & export of a plaintext public key + algID check. 2006-10-02 11:55:18 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Juan Lang 51f24d4170 rsaenh: Correct signature checking.
- pass desired key to encrypt_block_impl
- don't change the alg id of imported keys
- add a few traces
2006-09-29 14:41:15 +02:00
Andrew Talbot c4daa191b0 rsaenh: Cast-qual warnings fix. 2006-09-27 09:40:32 +02:00
Andrew Talbot b3be5bcd1c rsaenh: Cast-qual warnings fix. 2006-09-27 09:40:26 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Marcus Meissner 0c15360a3e Removes all unnecessary WINE_DEFAULT_DEBUG_CHANNEL and respective wine/debug.h includes. 2006-09-11 11:30:48 +02:00
Alexandre Julliard 5cf75e615a makefiles: Only run test and documentation targets in directories that need them. 2006-08-28 13:37:44 +02:00
Juan Lang e649994262 rsaenh: Test and fix CryptEncrypt with NULL buffer. 2006-08-08 20:15:08 +02:00
Juan Lang 669b0a5226 rsaenh: Use Interlocked functions for reference counting. 2006-07-29 11:50:27 +02:00
Juan Lang b6d5972190 rsaenh: More tests and some fixes.
- correct deleting the default container
- imported keys should be stored in their container, not just given to the caller
- tests for these changes
2006-07-28 13:16:33 +02:00
Juan Lang c562957375 rsaenh: Public keys should be exported with the CALG_RSA_KEYX alg_id. 2006-07-27 12:10:38 +02:00
Karsten Elfenbein dd6598b834 rsaenh: Fix the case when CPGetHashParam should return the size of the HASHVAL. 2006-07-26 11:11:03 +02:00