Commit Graph

32 Commits

Author SHA1 Message Date
Rémi Bernon 9b19a110ea dssenh: Only fill hash buffer when it's provided.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=30244
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-25 21:13:00 +02:00
Rémi Bernon cf770571bf dssenh: Return NTE_BAD_KEYSET when key cannot be opened.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=30244
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-25 21:13:00 +02:00
Alexandre Julliard 5d82baf974 winecrt0: Add a default implementation DllRegisterServer()/DllUnregisterServer().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-30 22:59:50 +02:00
Hans Leidekker 7201688841 dssenh: No longer prefer native.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-20 12:43:52 +02:00
Hans Leidekker 4dcb417ed2 dssenh: Implement CRYPT_MACHINE_KEYSET.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-20 12:43:48 +02:00
Hans Leidekker 691404bd06 dssenh: Add support for importing version 3 public keys.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-20 12:43:45 +02:00
Hans Leidekker a714475655 dssenh: Always duplicate container keys.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-20 12:43:42 +02:00
Hans Leidekker b4ca2d001c dssenh: Add support for exporting private keys.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-19 14:56:29 +02:00
Hans Leidekker 1b1637fc1f dssenh: Implement CPSetHashParam.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-19 14:56:29 +02:00
Hans Leidekker 554e315bcf dssenh: Access the hash value directly in CPSignHash and CPVerifySignature.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-19 14:56:29 +02:00
Hans Leidekker 248d27ea2d dssenh: Implement CPGetUserKey.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-19 14:56:29 +02:00
Hans Leidekker 320b9eb474 dssenh: Implement CRYPT_DELETEKEYSET.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-19 14:56:29 +02:00
Hans Leidekker 90bb4fe34b dssenh: Implement CPGenKey.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-14 20:31:44 +02:00
Hans Leidekker 52ad894784 dssenh: Implement CPVerifySignature.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-14 20:31:39 +02:00
Hans Leidekker d176e537b3 dssenh: Implement CPSignHash.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-14 20:31:33 +02:00
Hans Leidekker e1374be736 dssenh: Implement CPExportKey.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-14 20:31:22 +02:00
Hans Leidekker 603cb31633 dssenh: Set last error in CPHashData.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-12 18:44:53 +02:00
Hans Leidekker c822cb995e dssenh: Implement CPGenRandom.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-12 18:44:51 +02:00
Hans Leidekker e32b29a3fd dssenh: Implement CPDuplicateKey.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-12 18:44:48 +02:00
Hans Leidekker bf83b89dab dssenh: Implement CPDuplicateHash.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-12 18:44:44 +02:00
Hans Leidekker b5e931d83c dssenh: Don't store the algorithm handle for hashes.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-12 18:44:40 +02:00
Hans Leidekker c1371f356c dssenh: Implement CPImportKey and CPDestroyKey.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-09 16:21:33 +02:00
Hans Leidekker 8ff5c52b14 dssenh: Implement CPGetHashParam.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-09 16:21:33 +02:00
Hans Leidekker d5688169a8 dssenh: Implement CPHashData.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-09 16:21:33 +02:00
Hans Leidekker e7a79ce426 dssenh: Implement CPCreateHash and CPDestroyHash.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-09 16:21:33 +02:00
Hans Leidekker 0b8a12f39a dssenh: Implement CPAcquireContext and CPReleaseContext.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-09 16:21:33 +02:00
Hans Leidekker 3ae2dd164c dssenh: Register the DSS provider.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-08 21:46:44 +02:00
Hans Leidekker c690a31acf dssenh: Add stub implementations for a couple of functions.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-08 21:46:44 +02:00
Alexandre Julliard 7054e7d40a dssenh: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-03 10:47:12 +02:00
Alexandre Julliard f02cdd877f Remove empty DLL_PROCESS_DETACH case statements. 2013-04-15 16:45:35 +02:00
Paul Chitescu 0b76859f06 dssenh: Stubs for DllRegisterServer() and DllUnregisterServer(). 2009-11-05 14:45:34 +01:00
Maarten Lankhorst 2472e81cea dssenh: Add initial stub dll. 2008-02-18 15:26:37 +01:00