ncrypt: Add NCryptEnumAlgorithms stub.
Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
57961e5e78
commit
2321adb1c8
|
@ -68,6 +68,14 @@ SECURITY_STATUS WINAPI NCryptEncrypt(NCRYPT_KEY_HANDLE key, BYTE *input, DWORD i
|
|||
return NTE_NOT_SUPPORTED;
|
||||
}
|
||||
|
||||
SECURITY_STATUS WINAPI NCryptEnumAlgorithms(NCRYPT_PROV_HANDLE provider, DWORD alg_ops,
|
||||
DWORD *alg_count, NCryptAlgorithmName **alg_list,
|
||||
DWORD flags)
|
||||
{
|
||||
FIXME("(0x%lx, 0x%08x, %p, %p, 0x%08x): stub\n", provider, alg_ops, alg_count, alg_list, flags);
|
||||
return NTE_NOT_SUPPORTED;
|
||||
}
|
||||
|
||||
SECURITY_STATUS WINAPI NCryptFinalizeKey(NCRYPT_KEY_HANDLE key, DWORD flags)
|
||||
{
|
||||
FIXME("(0x%lx, 0x%08x): stub\n", key, flags);
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
@ stub NCryptDeriveKey
|
||||
@ stub NCryptDuplicateKeyProtectorHandle
|
||||
@ stdcall NCryptEncrypt(long ptr long ptr ptr long ptr long)
|
||||
@ stub NCryptEnumAlgorithms
|
||||
@ stdcall NCryptEnumAlgorithms(long long ptr ptr long)
|
||||
@ stub NCryptEnumKeys
|
||||
@ stub NCryptEnumStorageProviders
|
||||
@ stub NCryptExportKey
|
||||
|
|
|
@ -32,6 +32,13 @@ typedef LONG SECURITY_STATUS;
|
|||
#define __SECSTATUS_DEFINED__
|
||||
#endif
|
||||
|
||||
typedef struct _NCryptAlgorithmName {
|
||||
LPWSTR pszName;
|
||||
DWORD dwClass;
|
||||
DWORD dwAlgOperations;
|
||||
DWORD dwFlags;
|
||||
} NCryptAlgorithmName;
|
||||
|
||||
typedef ULONG_PTR NCRYPT_HANDLE;
|
||||
typedef ULONG_PTR NCRYPT_PROV_HANDLE;
|
||||
typedef ULONG_PTR NCRYPT_KEY_HANDLE;
|
||||
|
|
Loading…
Reference in New Issue