Commit Graph

27 Commits

Author SHA1 Message Date
Hans Leidekker 6415947e09 bcrypt: Add support for BCRYPT_RNG_ALGORITHM.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-05 00:06:41 +09:00
Patrick Armstrong 408251948e bcrypt: Added BCryptHash function.
Signed-off-by: Patrick Armstrong <pat@oldpatricka.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-24 20:03:51 +09:00
Patrick Armstrong 630f5e97b1 bcrypt: Implement support for HMAC.
Signed-off-by: Patrick Armstrong <pat@oldpatricka.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-11 20:24:14 +09:00
Patrick Armstrong ce3921df33 bcrypt: Make BCryptHashData behave more like Windows with empty input.
Signed-off-by: Patrick Armstrong <pat@oldpatricka.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-09 18:41:22 +09:00
Patrick Armstrong 8bd3e4cc2e bcrypt: Implement MD5 algorithm and add tests.
Signed-off-by: Patrick Armstrong <pat@oldpatricka.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-08 21:28:58 +09:00
Jacek Caban f13cff3a01 bcrypt: Added BCRYPT_ALGORITHM_NAME property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 22:40:07 +09:00
Jacek Caban f0e499f292 bcrypt: Make BCRYPT_HASH_LENGTH implementation more generic.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 22:40:03 +09:00
Francois Gouget 5d9d6e494f bcrypt: Add a trailing '\n' to a WARN() call.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-25 16:16:19 +09:00
Hans Leidekker 11279badf2 bcrypt: Support retrieving hash length from algorithm handles.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-20 23:13:35 +09:00
Hans Leidekker e3e2805b25 bcrypt: Accept NULL implementation in BCryptOpenAlgorithmProvider.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-20 23:13:33 +09:00
Huw Davies 625801ed7e bcrypt: Ensure we have gnutls_hash() available.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-19 00:30:37 +09:00
Hans Leidekker 2cd8d27373 bcrypt: Add support for SHA hashes on Linux using GnuTLS.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-13 23:48:16 +09:00
Hans Leidekker 085ed64df6 bcrypt: Implement BCryptFinishHash.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-06 18:08:35 +01:00
Hans Leidekker b1e08b3928 bcrypt: Implement BCryptHashData.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-06 18:08:34 +01:00
Hans Leidekker 46369d79e0 bcrypt: Implement BCryptGetProperty.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-06 18:08:34 +01:00
Hans Leidekker 0c9b94eeb3 bcrypt: Implement BCryptCreateHash and BCryptDestroyHash.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-06 18:08:34 +01:00
Hans Leidekker eaf9e41543 bcrypt: Implement BCryptOpenAlgorithmProvider and BCryptCloseAlgorithmProvider.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-06 18:08:33 +01:00
Marcus Meissner 5b33f18cfc bcrypt: Add BCryptCreateHash stub.
Signed-off-By: Marcus Meissner <marcus@jet.franken.de>
2015-10-01 16:27:42 +09:00
André Hentschel 574b30b685 bcrypt: Add stub for BCryptGetProperty. 2014-10-22 21:00:27 +09:00
Michael Müller f808da266b bcrypt: Add semi-stub for BCryptGetFipsAlgorithmMode. 2014-09-15 16:41:44 +02:00
Bruno Jesus c8c609b59d bcrypt: Add a stub for BCryptCloseAlgorithmProvider. 2014-06-25 10:58:31 +02:00
Alexandre Julliard cf40121ed6 bcrypt: Remove unnecessary DllMain implementation. 2014-05-16 11:33:29 +02:00
Alex Henrie d5f1841417 bcrypt: Add stub for BCryptOpenAlgorithmProvider. 2014-05-01 18:56:19 +02:00
Bruno Jesus a7578c7ae7 bcrypt: Add semi-stub implementation of BCryptGenRandom. 2014-02-11 19:19:15 +01:00
Bruno Jesus 52aca431e4 bcrypt: Add BCryptGenRandom stub. 2014-02-05 19:34:16 +01:00
David Hedberg 66db40e891 crypt32: Add BCryptEnumAlgorithms stub. 2011-05-30 17:55:43 +02:00
Henri Verbeet 5c8985002f bcrypt: Add a mostly empty bcrypt.dll.
This is the "Cryptography API: Next Generation" introduced by Vista.
2009-03-30 15:12:47 +02:00