Commit Graph

42 Commits

Author SHA1 Message Date
Eric Pouech e792a60974 dssenh/tests: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-24 20:22:21 +01:00
Alexandre Julliard f0cd33c69e include: Add support for defining Win32 types as 'long' where possible.
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
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
Rémi Bernon c5bdc2408f dssenh/tests: Add CryptAcquireContextA last error check.
When container key doesn't exist yet.

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
Francois Gouget ce03715db3 dssenh/tests: Fix the spelling of a skip() message.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-25 22:51:35 +01:00
Hans Leidekker 04acc70df4 dssenh/tests: Add tests for CryptDuplicateKey.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-20 12:43:38 +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 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 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 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 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 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 2e11036feb dssenh/tests: Get rid of workarounds for old Windows versions.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-02 19:03:00 +02:00
Zhang Shuai 9c641c3879 dssenh/tests: Add keylength tests for enhanced and schannel providers.
Signed-off-by: Zhang Shuai <wxsxsdz@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-22 23:00:33 +01:00
Michael Stefaniuc 4a900755f2 dssenh/test: Replace a macro with ARRAY_SIZE.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-06 19:44:26 +02:00
Huw Davies 95e2059387 dssenh/tests: Fix a failing test on Windows 7.
This makes it symmetric with the test directly preceding it.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-03 19:05:10 +01:00
Huw Davies 07115ab98f dssenh/tests: Use a non-crippled algorithm in the key exchange tests.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-04 14:09:33 +01:00
Huw Davies 25b744b0af dssenh/tests: RC4 has been crippled in recent Windows versions.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-04 14:09:31 +01:00
Huw Davies 43204a0d92 dssenh/tests: The default container may already exist.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-04 14:09:29 +01:00
Huw Davies ad9910bdfb dssenh/tests: Fix some tests on Win 8. 2015-04-20 21:21:35 +09:00
Bruno Jesus ba06731c99 dssenh/tests: Add tests for the default encryption chaining mode. 2014-06-30 22:04:52 +02:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Michael Stefaniuc f561f8a2be dssenh/tests: Compile with -D__WINESRC__. 2013-10-18 11:32:14 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Hans Leidekker 725797249c dssenh/tests: Fix test failures on 64-bit Vista. 2013-06-25 18:12:11 +02:00
Francois Gouget b8050f0571 Assorted spelling fixes. 2012-09-04 16:15:52 +02:00
Marek Chmiel 97fda5a413 dssenh/tests: Added key exchange tests for the DSSENH cryptographic service provider. 2012-08-27 11:13:48 +02:00
Francois Gouget b37c3d840d dssenh/tests: add a trailing '\n' to a couple of ok() calls. 2012-08-21 17:47:48 +02:00
Marek Chmiel 681af11ee1 dssenh/tests: Added signature tests on the DSSENH cryptographic service provider. 2012-08-20 11:38:52 +02:00
Marek Chmiel 0dab059797 dssenh/tests: Fixed failing block cipher mode tests on the DSSENH cryptographic service provider. 2012-08-20 11:38:37 +02:00
Marek Chmiel cb082b9079 dssenh/tests: Added block cipher mode tests for the DSSENH cryptographic service provider. 2012-08-17 13:55:25 +02:00
Marek Chmiel b1a5291e31 dssenh/tests: Added encryption tests for the DSSENH cryptographic service provider. 2012-08-17 13:55:15 +02:00
Marek Chmiel 09737c7b8d dssenh/tests: Hash tests for the DSSENH cryptographic service provider. 2012-08-14 11:58:22 +02:00
Marek Chmiel 01e937d49a dssenh/tests: Key length tests for the DSSENH cryptographic service provider. 2012-08-14 11:58:18 +02:00
Francois Gouget 91e1680154 dssenh/tests: Add a trailing '\n' to a skip() call. 2012-07-03 12:03:36 +02:00
Marek Chmiel 4961caa836 dssenh: Added CryptAcquireContext test for the DSSENH cryptographic service provider. 2012-07-02 11:21:20 +02:00