1 /**
2  * WinPR: Windows Portable Runtime
3  * Cryptography API (CryptoAPI)
4  *
5  * Copyright 2012-2013 Marc-Andre Moreau <marcandre.moreau@gmail.com>
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *     http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  */
19 
20 #ifndef WINPR_CRYPTO_PRIVATE_H
21 #define WINPR_CRYPTO_PRIVATE_H
22 
23 #ifndef _WIN32
24 
25 struct _WINPR_PROTECTED_MEMORY_BLOCK
26 {
27 	BYTE* pData;
28 	DWORD cbData;
29 	DWORD dwFlags;
30 	BYTE key[32];
31 	BYTE iv[32];
32 	BYTE salt[8];
33 };
34 typedef struct _WINPR_PROTECTED_MEMORY_BLOCK WINPR_PROTECTED_MEMORY_BLOCK;
35 
36 struct _WINPR_CERTSTORE
37 {
38 	LPCSTR lpszStoreProvider;
39 	DWORD dwMsgAndCertEncodingType;
40 };
41 typedef struct _WINPR_CERTSTORE WINPR_CERTSTORE;
42 
43 #endif
44 
45 #endif /* WINPR_CRYPTO_PRIVATE_H */
46