Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
2321adb1
Commit
2321adb1
authored
Oct 04, 2019
by
Joseph Kogut
Committed by
Alexandre Julliard
Oct 07, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ncrypt: Add NCryptEnumAlgorithms stub.
Signed-off-by:
Joseph Kogut
<
joseph.kogut@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
57961e5e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
1 deletion
+16
-1
main.c
dlls/ncrypt/main.c
+8
-0
ncrypt.spec
dlls/ncrypt/ncrypt.spec
+1
-1
ncrypt.h
include/ncrypt.h
+7
-0
No files found.
dlls/ncrypt/main.c
View file @
2321adb1
...
...
@@ -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
);
...
...
dlls/ncrypt/ncrypt.spec
View file @
2321adb1
...
...
@@ -67,7 +67,7 @@
@ stub NCryptDeriveKey
@ stub NCryptDuplicateKeyProtectorHandle
@ stdcall NCryptEncrypt(long ptr long ptr ptr long ptr long)
@ st
ub NCryptEnumAlgorithms
@ st
dcall NCryptEnumAlgorithms(long long ptr ptr long)
@ stub NCryptEnumKeys
@ stub NCryptEnumStorageProviders
@ stub NCryptExportKey
...
...
include/ncrypt.h
View file @
2321adb1
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment