Commit 7148b9ec authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

bcrypt: Add a stub implementation of BCryptDecrypt.

parent 1a0b52d5
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
@ stub BCryptConfigureContextFunction @ stub BCryptConfigureContextFunction
@ stub BCryptCreateContext @ stub BCryptCreateContext
@ stdcall BCryptCreateHash(ptr ptr ptr long ptr long long) @ stdcall BCryptCreateHash(ptr ptr ptr long ptr long long)
@ stub BCryptDecrypt @ stdcall BCryptDecrypt(ptr ptr long ptr ptr long ptr long ptr long)
@ stub BCryptDeleteContext @ stub BCryptDeleteContext
@ stub BCryptDeriveKey @ stub BCryptDeriveKey
@ stdcall BCryptDestroyHash(ptr) @ stdcall BCryptDestroyHash(ptr)
......
...@@ -693,6 +693,15 @@ NTSTATUS WINAPI BCryptEncrypt( BCRYPT_KEY_HANDLE handle, UCHAR *input, ULONG inp ...@@ -693,6 +693,15 @@ NTSTATUS WINAPI BCryptEncrypt( BCRYPT_KEY_HANDLE handle, UCHAR *input, ULONG inp
return STATUS_NOT_IMPLEMENTED; return STATUS_NOT_IMPLEMENTED;
} }
NTSTATUS WINAPI BCryptDecrypt( 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)
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
@ stub BCryptConfigureContextFunction @ stub BCryptConfigureContextFunction
@ stub BCryptCreateContext @ stub BCryptCreateContext
@ stdcall BCryptCreateHash(ptr ptr ptr long ptr long long) bcrypt.BCryptCreateHash @ stdcall BCryptCreateHash(ptr ptr ptr long ptr long long) bcrypt.BCryptCreateHash
@ stub BCryptDecrypt @ stdcall BCryptDecrypt(ptr ptr long ptr ptr long ptr long ptr long) bcrypt.BCryptDecrypt
@ stub BCryptDeleteContext @ stub BCryptDeleteContext
@ stub BCryptDeriveKey @ stub BCryptDeriveKey
@ stub BCryptDeriveKeyCapi @ stub BCryptDeriveKeyCapi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment