Commit Graph

67 Commits

Author SHA1 Message Date
Michael Jung 974c94f604 Set last error if dwFlags are non zero in CPReleaseContext.
Added corresponding test.
2005-01-05 13:22:37 +00:00
Michael Jung 7fa80077b4 Always set ERROR_SUCCESS in case of success in CPAcquireContext. 2005-01-04 20:33:48 +00:00
Michael Jung 2032284035 Added support for machine keysets. 2005-01-04 11:49:55 +00:00
Michael Jung 0da8a5219e Adhere to const'ness of the input data in encrypt_block_impl. 2005-01-03 20:14:03 +00:00
Michael Jung 1d7800bdee Implemented parallel hashing in CPEncrypt and CPDecrypt.
Implemented CPHashSessionKey.
2005-01-03 14:35:35 +00:00
Michael Jung e98d2712cb Small bugfixes backported from the LibTomCrypt v1.0rc1 release. 2005-01-03 14:25:12 +00:00
Michael Stefaniuc 5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
Francois Gouget 6fb1a20020 Assorted spelling fixes. 2004-12-20 19:27:06 +00:00
Michael Jung 74f458fcdf Respect sDescription parameter in CPSignHash and CPVerifySignature. 2004-12-20 17:03:01 +00:00
Francois Gouget eb3f078c75 Add trailing '\n's to ok() calls. 2004-12-14 11:41:24 +00:00
Michael Stefaniuc 1493433e38 Missing HeapFree's + 1 LocalFree (found by smatch). 2004-12-14 11:38:50 +00:00
Michael Jung 96ebad1a0d Implemented CPSignHash and CPVerifySignature.
Added tests for CPVerifySignature.
Fixed minor bugs in implglue.c.
2004-12-13 13:24:48 +00:00
Michael Jung 0ff7203335 Added a missing break in encrypt_block_impl. 2004-12-06 11:37:43 +00:00
Michael Jung 95c3d9b2a5 Moved code specific to CPGenKey, CPDeriveKey or CPImportKey from
new_key into the respective functions.
2004-12-01 15:34:56 +00:00
Michael Jung ca371a48b2 Incorporated LibTomCrypt code into rsaenh to get rid of OpenSSL
dependencies.
2004-11-30 17:43:59 +00:00
Michael Jung 5f06380b40 CPAcquireContext: Set last error to ERROR_SUCCESS in case of success. 2004-11-10 01:30:20 +00:00
Michael Jung 64dce8a579 Implemented a substantial part of rsaenh.dll. 2004-11-04 21:15:32 +00:00