Commit Graph

56 Commits

Author SHA1 Message Date
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Robert Shearman 811fb7614c Call DisableThreadLibraryCalls for DLLs that don't need thread
creation/destruction notifications.
2006-01-09 17:17:37 +01:00
Vincent Béron d52dafb5cc Add a few missing #includes. 2005-12-07 12:51:39 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Francois Gouget 6d442aeb34 Assorted spelling fixes. 2005-11-23 20:14:43 +01:00
Juan Lang fac3698fc2 When just a public key is imported, its ALG_ID should be CALG_RSA_SIGN
rather than CALG_RSA_KEYX.
2005-10-06 11:35:11 +00:00
Alexandre Julliard 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Mike McCormack a107234dcd gcc 4.0 warning fixes. 2005-08-29 09:38:19 +00:00
Mike McCormack 93ab695a5c Fix gcc 4.0 warnings. 2005-08-26 08:53:31 +00:00
Stefan Huehner 712087700e Fix some -Wstrict-prototypes warnings. 2005-06-16 15:52:44 +00:00
Mike McCormack f674f1f71b Fix declarations. 2005-06-15 10:20:53 +00:00
Alexandre Julliard 2e4bca9db5 Added magic comments to all Wine-specific registry accesses to make
them easier to grep.
2005-06-13 18:56:00 +00:00
Michael Jung dd5b70b4bd Use the Data Protection API to protect the users private keys. 2005-05-27 19:23:19 +00:00
Michael Jung bd78de791d Use SystemFunction036 to generate random bytes. 2005-05-27 19:22:22 +00:00
Robert Shearman 54160222a0 Rename MODULENAME_Dll* functions to Dll* for better consistency and
type checking.
2005-05-17 14:41:37 +00:00
Kees Cook 0cdc0479b8 Avoid segfault in hash update with corrupted decrypt data. 2005-05-16 09:15:24 +00:00
Kees Cook ea2fabca84 Avoid segfault when detecting decryption buffer size. 2005-05-16 08:50:45 +00:00
Alexandre Julliard 34fa35dc99 Added rules for building import libraries in the individual dll
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard d62356aa1e Added rules to build import libraries in the individual dll makefiles.
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Peter Berg Larsen 6aefbc0934 Strncpy elimination. 2005-04-18 15:36:20 +00:00
Francois Gouget 6b10c324c5 Assorted spelling fixes. 2005-03-30 17:08:31 +00:00
Peter Berg Larsen e732fc023d Janitorial: Get rid of strncpy/strncpyW. 2005-03-28 14:17:51 +00:00
Jakob Eriksson 9ed61de9a2 Get rid of HeapAlloc casts. 2005-03-24 21:01:35 +00:00
Stefan Leichter 46ebd66796 Make rsaenh_crosstest.exe loadable on NT 4.0. 2005-03-02 10:11:38 +00:00
Michael Jung 3b26f513b5 Check pdwDataLen param for non NULL'ness.
Implemented PP_IMPLTYPE and PP_VERSION provider params.
2005-02-14 20:54:43 +00:00
Francois Gouget 4d801b66e6 Assorted spelling fixes. 2005-02-10 19:19:35 +00:00
Michael Jung e40af1ccd0 Implemented CPGetProvParam's PP_ENUMCONTAINERS parameter type.
Added corresponding test.
Removed some tabs that slipped in with the last patch.
2005-02-09 22:25:09 +00:00
Michael Jung 5e2075be3a Moved PKCS1 #2 un-/padding from Import-/ExportKey to helper
functions.
Support RSA en-/decryption via CPEncrypt and CPDecrypt.
Added test case for RSA en-/decryption.
2005-01-31 11:28:41 +00:00
Michael Jung fc79906621 Added a test case for hashing with schannel mac keys. 2005-01-28 11:29:19 +00:00
Francois Gouget da8b3dd7f2 Assorted spelling fixes. 2005-01-26 21:09:04 +00:00
Michael Jung fb85c9e924 Support for TLS1 pseudo random function.
Some helper functions for DATA_BLOB's.
Computing TLS1 master secret from the pre-master secret.
Deriving the master hash from the master secret.
Deriving TLS1 MAC and encryption keys from the master hash.
Tests for most of the above.
2005-01-24 12:50:29 +00:00
Michael Jung 2accec1fbc Removed another check for valid'ness of algid. It's redundant. 2005-01-24 11:30:05 +00:00
Michael Jung d91ba25a03 Avoid code duplication by moving handle lookup into get_algid_info. 2005-01-19 16:59:23 +00:00
Michael Jung a200c4e97a Moved HMAC initialization and finalization code to
init_/finalize_hash.
Removed the redundant pKeyContainer function parameter from
init_hash.
2005-01-17 13:41:46 +00:00
Michael Jung 2c845618a3 Support for generating and exporting PCT1, SSL2/3 and TLS1 master
secrets. Ensure that these are not used in CPEncrypt, CPDecrypt or
CPDeriveKey.
2005-01-10 12:27:32 +00:00
Michael Jung ea01425e16 Removed check for valid'ness of algid. It's redundant. 2005-01-10 12:26:57 +00:00
Eric Pouech cf1d00bb08 Removed excessive statement (break after return or goto, not useful
break, not needed vars...)
2005-01-09 16:42:53 +00:00
Michael Jung ada55dccd7 Register rsaenh as a RSA SChannel provider.
Register rsaenh as default RSA SChannel provider.
2005-01-06 19:34:47 +00:00
Michael Jung 7c26a65f07 Added list of supported algorithms for SChannel personality. 2005-01-05 17:13:36 +00:00
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