ncrypt: Add some stub functions.
Signed-off-by: Austin English <austinenglish@gmail.com> Signed-off-by: Sebastian Lackner <sebastian@fds-team.de> Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6cd6e96259
commit
789c4c45ce
|
@ -24,6 +24,7 @@
|
||||||
|
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
#include "winbase.h"
|
#include "winbase.h"
|
||||||
|
#include "ncrypt.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(ncrypt);
|
WINE_DEFAULT_DEBUG_CHANNEL(ncrypt);
|
||||||
|
@ -43,3 +44,53 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SECURITY_STATUS WINAPI NCryptCreatePersistedKey(NCRYPT_PROV_HANDLE provider, NCRYPT_KEY_HANDLE *key,
|
||||||
|
const WCHAR *algid, const WCHAR *name, DWORD keyspec,
|
||||||
|
DWORD flags)
|
||||||
|
{
|
||||||
|
FIXME("(0x%lx, %p, %s, %s, 0x%08x, 0x%08x): stub\n", provider, key, wine_dbgstr_w(algid),
|
||||||
|
wine_dbgstr_w(name), keyspec, flags);
|
||||||
|
return NTE_NOT_SUPPORTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
SECURITY_STATUS WINAPI NCryptDecrypt(NCRYPT_KEY_HANDLE key, BYTE *input, DWORD insize, void *padding,
|
||||||
|
BYTE *output, DWORD outsize, DWORD *result, DWORD flags)
|
||||||
|
{
|
||||||
|
FIXME("(0x%lx, %p, %u, %p, %p, %u, %p, 0x%08x): stub\n", key, input, insize, padding,
|
||||||
|
output, outsize, result, flags);
|
||||||
|
return NTE_NOT_SUPPORTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
SECURITY_STATUS WINAPI NCryptEncrypt(NCRYPT_KEY_HANDLE key, BYTE *input, DWORD insize, void *padding,
|
||||||
|
BYTE *output, DWORD outsize, DWORD *result, DWORD flags)
|
||||||
|
{
|
||||||
|
FIXME("(0x%lx, %p, %u, %p, %p, %u, %p, 0x%08x): stub\n", key, input, insize, padding,
|
||||||
|
output, outsize, result, flags);
|
||||||
|
return NTE_NOT_SUPPORTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
SECURITY_STATUS WINAPI NCryptFinalizeKey(NCRYPT_KEY_HANDLE key, DWORD flags)
|
||||||
|
{
|
||||||
|
FIXME("(0x%lx, 0x%08x): stub\n", key, flags);
|
||||||
|
return NTE_NOT_SUPPORTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
SECURITY_STATUS WINAPI NCryptFreeObject(NCRYPT_HANDLE object)
|
||||||
|
{
|
||||||
|
FIXME("(0x%lx): stub\n", object);
|
||||||
|
return NTE_NOT_SUPPORTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
SECURITY_STATUS WINAPI NCryptOpenKey(NCRYPT_PROV_HANDLE provider, NCRYPT_KEY_HANDLE *key,
|
||||||
|
const WCHAR *name, DWORD keyspec, DWORD flags)
|
||||||
|
{
|
||||||
|
FIXME("(0x%lx, %p, %s, 0x%08x, 0x%08x): stub\n", provider, key, wine_dbgstr_w(name), keyspec, flags);
|
||||||
|
return NTE_NOT_SUPPORTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
SECURITY_STATUS WINAPI NCryptOpenStorageProvider(NCRYPT_PROV_HANDLE *provider, const WCHAR *name, DWORD flags)
|
||||||
|
{
|
||||||
|
FIXME("(%p, %s, %u): stub\n", provider, wine_dbgstr_w(name), flags);
|
||||||
|
return NTE_NOT_SUPPORTED;
|
||||||
|
}
|
||||||
|
|
|
@ -60,20 +60,20 @@
|
||||||
@ stub NCryptCloseKeyProtector
|
@ stub NCryptCloseKeyProtector
|
||||||
@ stub NCryptCloseProtectionDescriptor
|
@ stub NCryptCloseProtectionDescriptor
|
||||||
@ stub NCryptCreateClaim
|
@ stub NCryptCreateClaim
|
||||||
@ stub NCryptCreatePersistedKey
|
@ stdcall NCryptCreatePersistedKey(long ptr wstr wstr long long)
|
||||||
@ stub NCryptCreateProtectionDescriptor
|
@ stub NCryptCreateProtectionDescriptor
|
||||||
@ stub NCryptDecrypt
|
@ stdcall NCryptDecrypt(long ptr long ptr ptr long ptr long)
|
||||||
@ stub NCryptDeleteKey
|
@ stub NCryptDeleteKey
|
||||||
@ stub NCryptDeriveKey
|
@ stub NCryptDeriveKey
|
||||||
@ stub NCryptDuplicateKeyProtectorHandle
|
@ stub NCryptDuplicateKeyProtectorHandle
|
||||||
@ stub NCryptEncrypt
|
@ stdcall NCryptEncrypt(long ptr long ptr ptr long ptr long)
|
||||||
@ stub NCryptEnumAlgorithms
|
@ stub NCryptEnumAlgorithms
|
||||||
@ stub NCryptEnumKeys
|
@ stub NCryptEnumKeys
|
||||||
@ stub NCryptEnumStorageProviders
|
@ stub NCryptEnumStorageProviders
|
||||||
@ stub NCryptExportKey
|
@ stub NCryptExportKey
|
||||||
@ stub NCryptFinalizeKey
|
@ stdcall NCryptFinalizeKey(long long)
|
||||||
@ stub NCryptFreeBuffer
|
@ stub NCryptFreeBuffer
|
||||||
@ stub NCryptFreeObject
|
@ stdcall NCryptFreeObject(long)
|
||||||
@ stub NCryptGetProperty
|
@ stub NCryptGetProperty
|
||||||
@ stub NCryptGetProtectionDescriptorInfo
|
@ stub NCryptGetProtectionDescriptorInfo
|
||||||
@ stub NCryptImportKey
|
@ stub NCryptImportKey
|
||||||
|
@ -81,9 +81,9 @@
|
||||||
@ stub NCryptIsKeyHandle
|
@ stub NCryptIsKeyHandle
|
||||||
@ stub NCryptKeyDerivation
|
@ stub NCryptKeyDerivation
|
||||||
@ stub NCryptNotifyChangeKey
|
@ stub NCryptNotifyChangeKey
|
||||||
@ stub NCryptOpenKey
|
@ stdcall NCryptOpenKey(long ptr wstr long long)
|
||||||
@ stub NCryptOpenKeyProtector
|
@ stub NCryptOpenKeyProtector
|
||||||
@ stub NCryptOpenStorageProvider
|
@ stdcall NCryptOpenStorageProvider(ptr wstr long)
|
||||||
@ stub NCryptProtectKey
|
@ stub NCryptProtectKey
|
||||||
@ stub NCryptProtectSecret
|
@ stub NCryptProtectSecret
|
||||||
@ stub NCryptQueryProtectionDescriptorName
|
@ stub NCryptQueryProtectionDescriptorName
|
||||||
|
|
Loading…
Reference in New Issue