Author: akhaldi
Date: Thu Nov 17 22:07:42 2016
New Revision: 73259
URL:
http://svn.reactos.org/svn/reactos?rev=73259&view=rev
Log:
[PSDK] Update bcrypt.h. CORE-12409
Modified:
trunk/reactos/sdk/include/psdk/bcrypt.h
Modified: trunk/reactos/sdk/include/psdk/bcrypt.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/include/psdk/bcrypt.h?…
==============================================================================
--- trunk/reactos/sdk/include/psdk/bcrypt.h [iso-8859-1] (original)
+++ trunk/reactos/sdk/include/psdk/bcrypt.h [iso-8859-1] Thu Nov 17 22:07:42 2016
@@ -61,6 +61,8 @@
#define MS_PRIMITIVE_PROVIDER L"Microsoft Primitive Provider"
#define MS_PLATFORM_CRYPTO_PROVIDER L"Microsoft Platform Crypto Provider"
+#define BCRYPT_MD5_ALGORITHM L"MD5"
+#define BCRYPT_RNG_ALGORITHM L"RNG"
#define BCRYPT_SHA1_ALGORITHM L"SHA1"
#define BCRYPT_SHA256_ALGORITHM L"SHA256"
#define BCRYPT_SHA384_ALGORITHM L"SHA384"
@@ -79,6 +81,7 @@
#define BCRYPT_RNG_USE_ENTROPY_IN_BUFFER 0x00000001
#define BCRYPT_USE_SYSTEM_PREFERRED_RNG 0x00000002
+#define BCRYPT_ALG_HANDLE_HMAC_FLAG 0x00000008
NTSTATUS WINAPI BCryptCloseAlgorithmProvider(BCRYPT_ALG_HANDLE, ULONG);
NTSTATUS WINAPI BCryptCreateHash(BCRYPT_ALG_HANDLE, BCRYPT_HASH_HANDLE *, PUCHAR, ULONG,
PUCHAR, ULONG, ULONG);
@@ -88,6 +91,7 @@
NTSTATUS WINAPI BCryptGenRandom(BCRYPT_ALG_HANDLE, PUCHAR, ULONG, ULONG);
NTSTATUS WINAPI BCryptGetFipsAlgorithmMode(BOOLEAN *);
NTSTATUS WINAPI BCryptGetProperty(BCRYPT_HANDLE, LPCWSTR, PUCHAR, ULONG, ULONG *,
ULONG);
+NTSTATUS WINAPI BCryptHash(BCRYPT_ALG_HANDLE, PUCHAR, ULONG, PUCHAR, ULONG, PUCHAR,
ULONG);
NTSTATUS WINAPI BCryptHashData(BCRYPT_HASH_HANDLE, PUCHAR, ULONG, ULONG);
NTSTATUS WINAPI BCryptOpenAlgorithmProvider(BCRYPT_ALG_HANDLE *, LPCWSTR, LPCWSTR,
ULONG);