ReactOS 0.4.17-dev-1037-g720d112
ncrypt_internal.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021 Santino Mazza
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19#include <bcrypt.h>
20
22{
23 /* symmetric */
25 /* asymmetric */
30};
31
32struct key
33{
36};
37
39{
40#ifdef __REACTOS__
41 BYTE unused; /* mutes error C2016: C requires that a struct or union have at least one member */
42#endif
43};
44
46{
49};
50
52{
55 void *value;
56};
57
58struct object
59{
64 union
65 {
66 struct key key;
68 };
69};
unsigned long DWORD
Definition: ntddk_ex.h:95
WORD unused[29]
Definition: crypt.c:1298
algid
@ ECDSA
@ AES
@ ECDSA_P256
@ DSA
@ RSA
object_type
@ KEY
@ STORAGE_PROVIDER
short WCHAR
Definition: pedump.c:58
long LONG
Definition: pedump.c:60
Definition: copy.c:22
BCRYPT_KEY_HANDLE bcrypt_key
enum algid algid
struct object_property * properties
DWORD num_properties
enum object_type type
unsigned char BYTE
Definition: xxhash.c:193