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
20219595
Commit
20219595
authored
Dec 21, 2023
by
Zhiyi Zhang
Committed by
Alexandre Julliard
Jan 19, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add some ncrypt definitions.
parent
504d1a45
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
ncrypt.h
include/ncrypt.h
+26
-0
No files found.
include/ncrypt.h
View file @
20219595
...
...
@@ -58,6 +58,21 @@ typedef struct NCryptKeyName {
DWORD
dwFlags
;
}
NCryptKeyName
;
typedef
struct
__NCRYPT_SUPPORTED_LENGTHS
{
DWORD
dwMinLength
;
DWORD
dwMaxLength
;
DWORD
dwIncrement
;
DWORD
dwDefaultLength
;
}
NCRYPT_SUPPORTED_LENGTHS
;
typedef
struct
__NCRYPT_UI_POLICY
{
DWORD
dwVersion
;
DWORD
dwFlags
;
LPCWSTR
pszCreationTitle
;
LPCWSTR
pszFriendlyName
;
LPCWSTR
pszDescription
;
}
NCRYPT_UI_POLICY
;
typedef
ULONG_PTR
NCRYPT_HANDLE
;
typedef
ULONG_PTR
NCRYPT_PROV_HANDLE
;
typedef
ULONG_PTR
NCRYPT_KEY_HANDLE
;
...
...
@@ -76,6 +91,17 @@ typedef ULONG_PTR NCRYPT_SECRET_HANDLE;
#define NCRYPT_PAD_OAEP_FLAG 0x00000004
#define NCRYPT_PAD_PSS_FLAG 0x00000008
#define NCRYPT_ALLOW_DECRYPT_FLAG 0x00000001
#define NCRYPT_ALLOW_SIGNING_FLAG 0x00000002
#define NCRYPT_ALLOW_KEY_AGREEMENT_FLAG 0x00000004
#define NCRYPT_ALLOW_KEY_IMPORT_FLAG 0x00000008
#define NCRYPT_ALLOW_ALL_USAGES 0x00ffffff
#define NCRYPT_ALLOW_EXPORT_FLAG 0x00000001
#define NCRYPT_ALLOW_PLAINTEXT_EXPORT_FLAG 0x00000002
#define NCRYPT_ALLOW_ARCHIVING_FLAG 0x00000004
#define NCRYPT_ALLOW_PLAINTEXT_ARCHIVING_FLAG 0x00000008
#define NCRYPT_NAME_PROPERTY L"Name"
#define NCRYPT_UNIQUE_NAME_PROPERTY L"Unique Name"
#define NCRYPT_ALGORITHM_PROPERTY L"Algorithm Name"
...
...
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