blob: 07fc0ef138f41ff0d26e45db66a870438bdc4b91 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
|
/*
* XML Security Library (http://www.aleksey.com/xmlsec).
*
* This is free software; see Copyright file in the source
* distribution for preciese wording.
*
* Copyright (C) 2018 Miklos Vajna. All Rights Reserved.
*/
#ifndef __XMLSEC_MSCNG_SYMBOLS_H__
#define __XMLSEC_MSCNG_SYMBOLS_H__
#if !defined(IN_XMLSEC) && defined(XMLSEC_CRYPTO_DYNAMIC_LOADING)
#error To disable dynamic loading of xmlsec-crypto libraries undefine XMLSEC_CRYPTO_DYNAMIC_LOADING
#endif /* !defined(IN_XMLSEC) && defined(XMLSEC_CRYPTO_DYNAMIC_LOADING) */
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#ifdef XMLSEC_CRYPTO_MSCNG
/********************************************************************
*
* Crypto Init/shutdown
*
********************************************************************/
#define xmlSecCryptoInit xmlSecMSCngInit
#define xmlSecCryptoShutdown xmlSecMSCngShutdown
#define xmlSecCryptoKeysMngrInit xmlSecMSCngKeysMngrInit
/********************************************************************
*
* Key data ids
*
********************************************************************/
#define xmlSecKeyDataAesId xmlSecMSCngKeyDataAesId
#define xmlSecKeyDataDesId xmlSecMSCngKeyDataDesId
#define xmlSecKeyDataDsaId xmlSecMSCngKeyDataDsaId
#define xmlSecKeyDataEcdsaId xmlSecMSCngKeyDataEcdsaId
#define xmlSecKeyDataHmacId xmlSecMSCngKeyDataHmacId
#define xmlSecKeyDataRsaId xmlSecMSCngKeyDataRsaId
#define xmlSecKeyDataX509Id xmlSecMSCngKeyDataX509Id
#define xmlSecKeyDataRawX509CertId xmlSecMSCngKeyDataRawX509CertId
/********************************************************************
*
* Key data store ids
*
********************************************************************/
#define xmlSecX509StoreId xmlSecMSCngX509StoreId
/********************************************************************
*
* Crypto transforms ids
*
********************************************************************/
#define xmlSecTransformAes128CbcId xmlSecMSCngTransformAes128CbcId
#define xmlSecTransformAes192CbcId xmlSecMSCngTransformAes192CbcId
#define xmlSecTransformAes256CbcId xmlSecMSCngTransformAes256CbcId
#define xmlSecTransformAes128GcmId xmlSecMSCngTransformAes128GcmId
#define xmlSecTransformAes192GcmId xmlSecMSCngTransformAes192GcmId
#define xmlSecTransformAes256GcmId xmlSecMSCngTransformAes256GcmId
#define xmlSecTransformKWAes128Id xmlSecMSCngTransformKWAes128Id
#define xmlSecTransformKWAes192Id xmlSecMSCngTransformKWAes192Id
#define xmlSecTransformKWAes256Id xmlSecMSCngTransformKWAes256Id
#define xmlSecTransformDes3CbcId xmlSecMSCngTransformDes3CbcId
#define xmlSecTransformKWDes3Id xmlSecMSCngTransformKWDes3Id
#define xmlSecTransformDsaSha1Id xmlSecMSCngTransformDsaSha1Id
#define xmlSecTransformDsaSha256Id xmlSecMSCngTransformDsaSha256Id
#define xmlSecTransformEcdsaSha1Id xmlSecMSCngTransformEcdsaSha1Id
#define xmlSecTransformEcdsaSha224Id xmlSecMSCngTransformEcdsaSha224Id
#define xmlSecTransformEcdsaSha256Id xmlSecMSCngTransformEcdsaSha256Id
#define xmlSecTransformEcdsaSha384Id xmlSecMSCngTransformEcdsaSha384Id
#define xmlSecTransformEcdsaSha512Id xmlSecMSCngTransformEcdsaSha512Id
#define xmlSecTransformHmacMd5Id xmlSecMSCngTransformHmacMd5Id
#define xmlSecTransformHmacRipemd160Id xmlSecMSCngTransformHmacRipemd160Id
#define xmlSecTransformHmacSha1Id xmlSecMSCngTransformHmacSha1Id
#define xmlSecTransformHmacSha224Id xmlSecMSCngTransformHmacSha224Id
#define xmlSecTransformHmacSha256Id xmlSecMSCngTransformHmacSha256Id
#define xmlSecTransformHmacSha384Id xmlSecMSCngTransformHmacSha384Id
#define xmlSecTransformHmacSha512Id xmlSecMSCngTransformHmacSha512Id
#define xmlSecTransformMd5Id xmlSecMSCngTransformMd5Id
#define xmlSecTransformRipemd160Id xmlSecMSCngTransformRipemd160Id
#define xmlSecTransformRsaSha1Id xmlSecMSCngTransformRsaSha1Id
#define xmlSecTransformRsaSha224Id xmlSecMSCngTransformRsaSha224Id
#define xmlSecTransformRsaSha256Id xmlSecMSCngTransformRsaSha256Id
#define xmlSecTransformRsaSha384Id xmlSecMSCngTransformRsaSha384Id
#define xmlSecTransformRsaSha512Id xmlSecMSCngTransformRsaSha512Id
#define xmlSecTransformRsaPkcs1Id xmlSecMSCngTransformRsaPkcs1Id
#define xmlSecTransformRsaOaepId xmlSecMSCngTransformRsaOaepId
#define xmlSecTransformSha1Id xmlSecMSCngTransformSha1Id
#define xmlSecTransformSha224Id xmlSecMSCngTransformSha224Id
#define xmlSecTransformSha256Id xmlSecMSCngTransformSha256Id
#define xmlSecTransformSha384Id xmlSecMSCngTransformSha384Id
#define xmlSecTransformSha512Id xmlSecMSCngTransformSha512Id
/********************************************************************
*
* High level routines form xmlsec command line utility
*
********************************************************************/
#define xmlSecCryptoAppInit xmlSecMSCngAppInit
#define xmlSecCryptoAppShutdown xmlSecMSCngAppShutdown
#define xmlSecCryptoAppDefaultKeysMngrInit xmlSecMSCngAppDefaultKeysMngrInit
#define xmlSecCryptoAppDefaultKeysMngrAdoptKey xmlSecMSCngAppDefaultKeysMngrAdoptKey
#define xmlSecCryptoAppDefaultKeysMngrLoad xmlSecMSCngAppDefaultKeysMngrLoad
#define xmlSecCryptoAppDefaultKeysMngrSave xmlSecMSCngAppDefaultKeysMngrSave
#define xmlSecCryptoAppKeysMngrCertLoad xmlSecMSCngAppKeysMngrCertLoad
#define xmlSecCryptoAppKeysMngrCertLoadMemory xmlSecMSCngAppKeysMngrCertLoadMemory
#define xmlSecCryptoAppKeyLoad xmlSecMSCngAppKeyLoad
#define xmlSecCryptoAppPkcs12Load xmlSecMSCngAppPkcs12Load
#define xmlSecCryptoAppKeyCertLoad xmlSecMSCngAppKeyCertLoad
#define xmlSecCryptoAppKeyLoadMemory xmlSecMSCngAppKeyLoadMemory
#define xmlSecCryptoAppPkcs12LoadMemory xmlSecMSCngAppPkcs12LoadMemory
#define xmlSecCryptoAppKeyCertLoadMemory xmlSecMSCngAppKeyCertLoadMemory
#define xmlSecCryptoAppGetDefaultPwdCallback xmlSecMSCngAppGetDefaultPwdCallback
#endif /* XMLSEC_CRYPTO_MSCNG */
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __XMLSEC_MSCNG_CRYPTO_H__ */
|