bcrypt: Add a stub implementation of BCryptEncrypt.
Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c6b4151b45
commit
1a0b52d5d2
|
@ -13,7 +13,7 @@
|
||||||
@ stub BCryptDestroySecret
|
@ stub BCryptDestroySecret
|
||||||
@ stdcall BCryptDuplicateHash(ptr ptr ptr long long)
|
@ stdcall BCryptDuplicateHash(ptr ptr ptr long long)
|
||||||
@ stub BCryptDuplicateKey
|
@ stub BCryptDuplicateKey
|
||||||
@ stub BCryptEncrypt
|
@ stdcall BCryptEncrypt(ptr ptr long ptr ptr long ptr long ptr long)
|
||||||
@ stdcall BCryptEnumAlgorithms(long ptr ptr long)
|
@ stdcall BCryptEnumAlgorithms(long ptr ptr long)
|
||||||
@ stub BCryptEnumContextFunctionProviders
|
@ stub BCryptEnumContextFunctionProviders
|
||||||
@ stub BCryptEnumContextFunctions
|
@ stub BCryptEnumContextFunctions
|
||||||
|
|
|
@ -684,6 +684,15 @@ NTSTATUS WINAPI BCryptGenerateSymmetricKey( BCRYPT_ALG_HANDLE algorithm, BCRYPT_
|
||||||
return STATUS_NOT_IMPLEMENTED;
|
return STATUS_NOT_IMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NTSTATUS WINAPI BCryptEncrypt( BCRYPT_KEY_HANDLE handle, UCHAR *input, ULONG input_len,
|
||||||
|
void *padding, UCHAR *iv, ULONG iv_len, UCHAR *output,
|
||||||
|
ULONG output_len, ULONG *ret_len, ULONG flags )
|
||||||
|
{
|
||||||
|
FIXME( "%p, %p, %u, %p, %p, %u, %p, %u, %p, %08x\n", handle, input, input_len,
|
||||||
|
padding, iv, iv_len, output, output_len, ret_len, flags );
|
||||||
|
return STATUS_NOT_IMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
|
BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
|
||||||
{
|
{
|
||||||
switch (reason)
|
switch (reason)
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
@ stub BCryptDestroySecret
|
@ stub BCryptDestroySecret
|
||||||
@ stdcall BCryptDuplicateHash(ptr ptr ptr long long) bcrypt.BCryptDuplicateHash
|
@ stdcall BCryptDuplicateHash(ptr ptr ptr long long) bcrypt.BCryptDuplicateHash
|
||||||
@ stub BCryptDuplicateKey
|
@ stub BCryptDuplicateKey
|
||||||
@ stub BCryptEncrypt
|
@ stdcall BCryptEncrypt(ptr ptr long ptr ptr long ptr long ptr long) bcrypt.BCryptEncrypt
|
||||||
@ stdcall BCryptEnumAlgorithms(long ptr ptr long) bcrypt.BCryptEnumAlgorithms
|
@ stdcall BCryptEnumAlgorithms(long ptr ptr long) bcrypt.BCryptEnumAlgorithms
|
||||||
@ stub BCryptEnumContextFunctionProviders
|
@ stub BCryptEnumContextFunctionProviders
|
||||||
@ stub BCryptEnumContextFunctions
|
@ stub BCryptEnumContextFunctions
|
||||||
|
|
Loading…
Reference in New Issue