blob: aa7ed3874ce7007e1cb134cd065bf22dd7f73093 (
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
|
/**
* XMLSec library
*
* This is free software; see Copyright file in the source
* distribution for preciese wording.
*
* Copyright (C) 2002-2016 Aleksey Sanin <aleksey@aleksey.com>. All Rights Reserved.
*/
#ifndef __XMLSEC_SKELETON_SYMBOLS_H__
#define __XMLSEC_SKELETON_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_SKELETON
/********************************************************************
*
* Crypto Init/shutdown
*
********************************************************************/
#define xmlSecCryptoInit xmlSecSkeletonInit
#define xmlSecCryptoShutdown xmlSecSkeletonShutdown
#define xmlSecCryptoKeysMngrInit xmlSecSkeletonKeysMngrInit
/********************************************************************
*
* Key data ids
*
********************************************************************/
#define xmlSecKeyDataAesId xmlSecSkeletonKeyDataAesId
#define xmlSecKeyDataDesId xmlSecSkeletonKeyDataDesId
#define xmlSecKeyDataDsaId xmlSecSkeletonKeyDataDsaId
#define xmlSecKeyDataEcdsaId xmlSecSkeletonKeyDataEcdsaId
#define xmlSecKeyDataHmacId xmlSecSkeletonKeyDataHmacId
#define xmlSecKeyDataRsaId xmlSecSkeletonKeyDataRsaId
#define xmlSecKeyDataX509Id xmlSecSkeletonKeyDataX509Id
#define xmlSecKeyDataRawX509CertId xmlSecSkeletonKeyDataRawX509CertId
/********************************************************************
*
* Key data store ids
*
********************************************************************/
#define xmlSecX509StoreId xmlSecSkeletonX509StoreId
/********************************************************************
*
* Crypto transforms ids
*
********************************************************************/
#define xmlSecTransformAes128CbcId xmlSecSkeletonTransformAes128CbcId
#define xmlSecTransformAes192CbcId xmlSecSkeletonTransformAes192CbcId
#define xmlSecTransformAes256CbcId xmlSecSkeletonTransformAes256CbcId
#define xmlSecTransformKWAes128Id xmlSecSkeletonTransformKWAes128Id
#define xmlSecTransformKWAes192Id xmlSecSkeletonTransformKWAes192Id
#define xmlSecTransformKWAes256Id xmlSecSkeletonTransformKWAes256Id
#define xmlSecTransformDes3CbcId xmlSecSkeletonTransformDes3CbcId
#define xmlSecTransformKWDes3Id xmlSecSkeletonTransformKWDes3Id
#define xmlSecTransformDsaSha1Id xmlSecSkeletonTransformDsaSha1Id
#define xmlSecTransformDsaSha256Id xmlSecSkeletonTransformDsaSha256Id
#define xmlSecTransformEcdsaSha1Id xmlSecSkeletonTransformEcdsaSha1Id
#define xmlSecTransformEcdsaSha224Id xmlSecSkeletonTransformEcdsaSha224Id
#define xmlSecTransformEcdsaSha256Id xmlSecSkeletonTransformEcdsaSha256Id
#define xmlSecTransformEcdsaSha384Id xmlSecSkeletonTransformEcdsaSha384Id
#define xmlSecTransformEcdsaSha512Id xmlSecSkeletonTransformEcdsaSha512Id
#define xmlSecTransformHmacMd5Id xmlSecSkeletonTransformHmacMd5Id
#define xmlSecTransformHmacRipemd160Id xmlSecSkeletonTransformHmacRipemd160Id
#define xmlSecTransformHmacSha1Id xmlSecSkeletonTransformHmacSha1Id
#define xmlSecTransformHmacSha224Id xmlSecSkeletonTransformHmacSha224Id
#define xmlSecTransformHmacSha256Id xmlSecSkeletonTransformHmacSha256Id
#define xmlSecTransformHmacSha384Id xmlSecSkeletonTransformHmacSha384Id
#define xmlSecTransformHmacSha512Id xmlSecSkeletonTransformHmacSha512Id
#define xmlSecTransformMd5Id xmlSecSkeletonTransformMd5Id
#define xmlSecTransformRipemd160Id xmlSecSkeletonTransformRipemd160Id
#define xmlSecTransformRsaSha1Id xmlSecSkeletonTransformRsaSha1Id
#define xmlSecTransformRsaSha224Id xmlSecSkeletonTransformRsaSha224Id
#define xmlSecTransformRsaSha256Id xmlSecSkeletonTransformRsaSha256Id
#define xmlSecTransformRsaSha384Id xmlSecSkeletonTransformRsaSha384Id
#define xmlSecTransformRsaSha512Id xmlSecSkeletonTransformRsaSha512Id
#define xmlSecTransformRsaPkcs1Id xmlSecSkeletonTransformRsaPkcs1Id
#define xmlSecTransformRsaOaepId xmlSecSkeletonTransformRsaOaepId
#define xmlSecTransformSha1Id xmlSecSkeletonTransformSha1Id
#define xmlSecTransformSha224Id xmlSecSkeletonTransformSha224Id
#define xmlSecTransformSha256Id xmlSecSkeletonTransformSha256Id
#define xmlSecTransformSha384Id xmlSecSkeletonTransformSha384Id
#define xmlSecTransformSha512Id xmlSecSkeletonTransformSha512Id
/********************************************************************
*
* High level routines form xmlsec command line utility
*
********************************************************************/
#define xmlSecCryptoAppInit xmlSecSkeletonAppInit
#define xmlSecCryptoAppShutdown xmlSecSkeletonAppShutdown
#define xmlSecCryptoAppDefaultKeysMngrInit xmlSecSkeletonAppDefaultKeysMngrInit
#define xmlSecCryptoAppDefaultKeysMngrAdoptKey xmlSecSkeletonAppDefaultKeysMngrAdoptKey
#define xmlSecCryptoAppDefaultKeysMngrLoad xmlSecSkeletonAppDefaultKeysMngrLoad
#define xmlSecCryptoAppDefaultKeysMngrSave xmlSecSkeletonAppDefaultKeysMngrSave
#define xmlSecCryptoAppKeysMngrCertLoad xmlSecSkeletonAppKeysMngrCertLoad
#define xmlSecCryptoAppKeysMngrCertLoadMemory xmlSecSkeletonAppKeysMngrCertLoadMemory
#define xmlSecCryptoAppKeyLoad xmlSecSkeletonAppKeyLoad
#define xmlSecCryptoAppPkcs12Load xmlSecSkeletonAppPkcs12Load
#define xmlSecCryptoAppKeyCertLoad xmlSecSkeletonAppKeyCertLoad
#define xmlSecCryptoAppKeyLoadMemory xmlSecSkeletonAppKeyLoadMemory
#define xmlSecCryptoAppPkcs12LoadMemory xmlSecSkeletonAppPkcs12LoadMemory
#define xmlSecCryptoAppKeyCertLoadMemory xmlSecSkeletonAppKeyCertLoadMemory
#define xmlSecCryptoAppGetDefaultPwdCallback xmlSecSkeletonAppGetDefaultPwdCallback
#endif /* XMLSEC_CRYPTO_SKELETON */
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __XMLSEC_SKELETON_CRYPTO_H__ */
#define __XMLSEC_SKELETON_CRYPTO_H__
|