bcrypt: Add BCryptCreateHash stub.

Signed-off-By: Marcus Meissner <marcus@jet.franken.de>
This commit is contained in:
Marcus Meissner 2015-09-25 11:23:40 +02:00 committed by Alexandre Julliard
parent 5d4a961789
commit 5b33f18cfc
3 changed files with 10 additions and 1 deletions

View File

@ -4,7 +4,7 @@
@ stub BCryptConfigureContext @ stub BCryptConfigureContext
@ stub BCryptConfigureContextFunction @ stub BCryptConfigureContextFunction
@ stub BCryptCreateContext @ stub BCryptCreateContext
@ stub BCryptCreateHash @ stdcall BCryptCreateHash(ptr ptr ptr long ptr long long)
@ stub BCryptDecrypt @ stub BCryptDecrypt
@ stub BCryptDeleteContext @ stub BCryptDeleteContext
@ stub BCryptDeriveKey @ stub BCryptDeriveKey

View File

@ -115,3 +115,11 @@ NTSTATUS WINAPI BCryptGetProperty(BCRYPT_HANDLE obj, LPCWSTR prop, UCHAR *buffer
return STATUS_NOT_IMPLEMENTED; return STATUS_NOT_IMPLEMENTED;
} }
NTSTATUS WINAPI BCryptCreateHash(BCRYPT_ALG_HANDLE algorithm, BCRYPT_HASH_HANDLE* hash, UCHAR* hashobject,
ULONG hashobjectlen, UCHAR *secret, ULONG secretlen, ULONG flags)
{
FIXME("%p, %p, %p, %u, %p, %u, %08x - stub\n", algorithm, hash, hashobject, hashobjectlen, secret, secretlen, flags);
return STATUS_NOT_IMPLEMENTED;
}

View File

@ -49,6 +49,7 @@ typedef struct _BCRYPT_ALGORITHM_IDENTIFIER
typedef PVOID BCRYPT_ALG_HANDLE; typedef PVOID BCRYPT_ALG_HANDLE;
typedef PVOID BCRYPT_HANDLE; typedef PVOID BCRYPT_HANDLE;
typedef PVOID BCRYPT_HASH_HANDLE;
#define BCRYPT_RNG_USE_ENTROPY_IN_BUFFER 0x00000001 #define BCRYPT_RNG_USE_ENTROPY_IN_BUFFER 0x00000001
#define BCRYPT_USE_SYSTEM_PREFERRED_RNG 0x00000002 #define BCRYPT_USE_SYSTEM_PREFERRED_RNG 0x00000002