blob: 371efd320f29326757e999f6b283f297cdc585c9 (
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
|
/**
* 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_GCRYPT_SYMBOLS_H__
#define __XMLSEC_GCRYPT_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_GCRYPT
/********************************************************************
*
* Crypto Init/shutdown
*
********************************************************************/
#define xmlSecCryptoInit xmlSecGCryptInit
#define xmlSecCryptoShutdown xmlSecGCryptShutdown
#define xmlSecCryptoKeysMngrInit xmlSecGCryptKeysMngrInit
/********************************************************************
*
* Key data ids
*
********************************************************************/
#define xmlSecKeyDataAesId xmlSecGCryptKeyDataAesId
#define xmlSecKeyDataDesId xmlSecGCryptKeyDataDesId
#define xmlSecKeyDataDsaId xmlSecGCryptKeyDataDsaId
#define xmlSecKeyDataHmacId xmlSecGCryptKeyDataHmacId
#define xmlSecKeyDataRsaId xmlSecGCryptKeyDataRsaId
#define xmlSecKeyDataX509Id xmlSecGCryptKeyDataX509Id
#define xmlSecKeyDataRawX509CertId xmlSecGCryptKeyDataRawX509CertId
/********************************************************************
*
* Key data store ids
*
********************************************************************/
#define xmlSecX509StoreId xmlSecGCryptX509StoreId
/********************************************************************
*
* Crypto transforms ids
*
********************************************************************/
#define xmlSecTransformAes128CbcId xmlSecGCryptTransformAes128CbcId
#define xmlSecTransformAes192CbcId xmlSecGCryptTransformAes192CbcId
#define xmlSecTransformAes256CbcId xmlSecGCryptTransformAes256CbcId
#define xmlSecTransformKWAes128Id xmlSecGCryptTransformKWAes128Id
#define xmlSecTransformKWAes192Id xmlSecGCryptTransformKWAes192Id
#define xmlSecTransformKWAes256Id xmlSecGCryptTransformKWAes256Id
#define xmlSecTransformDes3CbcId xmlSecGCryptTransformDes3CbcId
#define xmlSecTransformKWDes3Id xmlSecGCryptTransformKWDes3Id
#define xmlSecTransformDsaSha1Id xmlSecGCryptTransformDsaSha1Id
#define xmlSecTransformHmacMd5Id xmlSecGCryptTransformHmacMd5Id
#define xmlSecTransformHmacRipemd160Id xmlSecGCryptTransformHmacRipemd160Id
#define xmlSecTransformHmacSha1Id xmlSecGCryptTransformHmacSha1Id
#define xmlSecTransformRipemd160Id xmlSecGCryptTransformRipemd160Id
#define xmlSecTransformRsaSha1Id xmlSecGCryptTransformRsaSha1Id
#define xmlSecTransformRsaPkcs1Id xmlSecGCryptTransformRsaPkcs1Id
#define xmlSecTransformRsaOaepId xmlSecGCryptTransformRsaOaepId
#define xmlSecTransformSha1Id xmlSecGCryptTransformSha1Id
/********************************************************************
*
* High level routines form xmlsec command line utility
*
********************************************************************/
#define xmlSecCryptoAppInit xmlSecGCryptAppInit
#define xmlSecCryptoAppShutdown xmlSecGCryptAppShutdown
#define xmlSecCryptoAppDefaultKeysMngrInit xmlSecGCryptAppDefaultKeysMngrInit
#define xmlSecCryptoAppDefaultKeysMngrAdoptKey xmlSecGCryptAppDefaultKeysMngrAdoptKey
#define xmlSecCryptoAppDefaultKeysMngrLoad xmlSecGCryptAppDefaultKeysMngrLoad
#define xmlSecCryptoAppDefaultKeysMngrSave xmlSecGCryptAppDefaultKeysMngrSave
#define xmlSecCryptoAppKeysMngrCertLoad xmlSecGCryptAppKeysMngrCertLoad
#define xmlSecCryptoAppKeysMngrCertLoadMemory xmlSecGCryptAppKeysMngrCertLoadMemory
#define xmlSecCryptoAppKeyLoad xmlSecGCryptAppKeyLoad
#define xmlSecCryptoAppPkcs12Load xmlSecGCryptAppPkcs12Load
#define xmlSecCryptoAppKeyCertLoad xmlSecGCryptAppKeyCertLoad
#define xmlSecCryptoAppKeyLoadMemory xmlSecGCryptAppKeyLoadMemory
#define xmlSecCryptoAppPkcs12LoadMemory xmlSecGCryptAppPkcs12LoadMemory
#define xmlSecCryptoAppKeyCertLoadMemory xmlSecGCryptAppKeyCertLoadMemory
#define xmlSecCryptoAppGetDefaultPwdCallback xmlSecGCryptAppGetDefaultPwdCallback
#endif /* XMLSEC_CRYPTO_GCRYPT */
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __XMLSEC_GCRYPT_CRYPTO_H__ */
#define __XMLSEC_GCRYPT_CRYPTO_H__
|