diff options
Diffstat (limited to 'include/xmlsec/gnutls/symbols.h')
-rw-r--r-- | include/xmlsec/gnutls/symbols.h | 129 |
1 files changed, 61 insertions, 68 deletions
diff --git a/include/xmlsec/gnutls/symbols.h b/include/xmlsec/gnutls/symbols.h index 818035d6..0fcd861a 100644 --- a/include/xmlsec/gnutls/symbols.h +++ b/include/xmlsec/gnutls/symbols.h @@ -1,13 +1,13 @@ -/** +/** * XMLSec library * * This is free software; see Copyright file in the source * distribution for preciese wording. - * + * * Copyright (C) 2002-2003 Aleksey Sanin <aleksey@aleksey.com> */ #ifndef __XMLSEC_GNUTLS_SYMBOLS_H__ -#define __XMLSEC_GNUTLS_SYMBOLS_H__ +#define __XMLSEC_GNUTLS_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 @@ -15,83 +15,76 @@ #ifdef __cplusplus extern "C" { -#endif /* __cplusplus */ +#endif /* __cplusplus */ +/** + * Defines for writing simple code + */ #ifdef XMLSEC_CRYPTO_GNUTLS -/******************************************************************** - * +/** * Crypto Init/shutdown - * - ********************************************************************/ -#define xmlSecCryptoInit xmlSecGnuTLSInit -#define xmlSecCryptoShutdown xmlSecGnuTLSShutdown + */ +#define xmlSecCryptoInit xmlSecGnuTLSInit +#define xmlSecCryptoShutdown xmlSecGnuTLSShutdown -#define xmlSecCryptoKeysMngrInit xmlSecGnuTLSKeysMngrInit +#define xmlSecCryptoKeysMngrInit xmlSecGnuTLSKeysMngrInit -/******************************************************************** - * +/** * Key data ids - * - ********************************************************************/ -#define xmlSecKeyDataAesId xmlSecGnuTLSKeyDataAesId -#define xmlSecKeyDataDesId xmlSecGnuTLSKeyDataDesId -#define xmlSecKeyDataDsaId xmlSecGnuTLSKeyDataDsaId -#define xmlSecKeyDataHmacId xmlSecGnuTLSKeyDataHmacId -#define xmlSecKeyDataRsaId xmlSecGnuTLSKeyDataRsaId -#define xmlSecKeyDataX509Id xmlSecGnuTLSKeyDataX509Id -#define xmlSecKeyDataRawX509CertId xmlSecGnuTLSKeyDataRawX509CertId + */ +#define xmlSecKeyDataAesId xmlSecGnuTLSKeyDataAesId +#define xmlSecKeyDataDesId xmlSecGnuTLSKeyDataDesId +#define xmlSecKeyDataDsaId xmlSecGnuTLSKeyDataDsaId +#define xmlSecKeyDataHmacId xmlSecGnuTLSKeyDataHmacId +#define xmlSecKeyDataRsaId xmlSecGnuTLSKeyDataRsaId +#define xmlSecKeyDataX509Id xmlSecGnuTLSKeyDataX509Id +#define xmlSecKeyDataRawX509CertId xmlSecGnuTLSKeyDataRawX509CertId -/******************************************************************** - * +/** * Key data store ids - * - ********************************************************************/ -#define xmlSecX509StoreId xmlSecGnuTLSX509StoreId + */ +#define xmlSecX509StoreId xmlSecGnuTLSX509StoreId -/******************************************************************** - * +/** * Crypto transforms ids - * - ********************************************************************/ -#define xmlSecTransformAes128CbcId xmlSecGnuTLSTransformAes128CbcId -#define xmlSecTransformAes192CbcId xmlSecGnuTLSTransformAes192CbcId -#define xmlSecTransformAes256CbcId xmlSecGnuTLSTransformAes256CbcId -#define xmlSecTransformKWAes128Id xmlSecGnuTLSTransformKWAes128Id -#define xmlSecTransformKWAes192Id xmlSecGnuTLSTransformKWAes192Id -#define xmlSecTransformKWAes256Id xmlSecGnuTLSTransformKWAes256Id -#define xmlSecTransformDes3CbcId xmlSecGnuTLSTransformDes3CbcId -#define xmlSecTransformKWDes3Id xmlSecGnuTLSTransformKWDes3Id -#define xmlSecTransformDsaSha1Id xmlSecGnuTLSTransformDsaSha1Id -#define xmlSecTransformHmacMd5Id xmlSecGnuTLSTransformHmacMd5Id -#define xmlSecTransformHmacRipemd160Id xmlSecGnuTLSTransformHmacRipemd160Id -#define xmlSecTransformHmacSha1Id xmlSecGnuTLSTransformHmacSha1Id -#define xmlSecTransformRipemd160Id xmlSecGnuTLSTransformRipemd160Id -#define xmlSecTransformRsaSha1Id xmlSecGnuTLSTransformRsaSha1Id -#define xmlSecTransformRsaPkcs1Id xmlSecGnuTLSTransformRsaPkcs1Id -#define xmlSecTransformRsaOaepId xmlSecGnuTLSTransformRsaOaepId -#define xmlSecTransformSha1Id xmlSecGnuTLSTransformSha1Id + */ +#define xmlSecTransformAes128CbcId xmlSecGnuTLSTransformAes128CbcId +#define xmlSecTransformAes192CbcId xmlSecGnuTLSTransformAes192CbcId +#define xmlSecTransformAes256CbcId xmlSecGnuTLSTransformAes256CbcId +#define xmlSecTransformKWAes128Id xmlSecGnuTLSTransformKWAes128Id +#define xmlSecTransformKWAes192Id xmlSecGnuTLSTransformKWAes192Id +#define xmlSecTransformKWAes256Id xmlSecGnuTLSTransformKWAes256Id +#define xmlSecTransformDes3CbcId xmlSecGnuTLSTransformDes3CbcId +#define xmlSecTransformKWDes3Id xmlSecGnuTLSTransformKWDes3Id +#define xmlSecTransformDsaSha1Id xmlSecGnuTLSTransformDsaSha1Id +#define xmlSecTransformHmacMd5Id xmlSecGnuTLSTransformHmacMd5Id +#define xmlSecTransformHmacRipemd160Id xmlSecGnuTLSTransformHmacRipemd160Id +#define xmlSecTransformHmacSha1Id xmlSecGnuTLSTransformHmacSha1Id +#define xmlSecTransformRipemd160Id xmlSecGnuTLSTransformRipemd160Id +#define xmlSecTransformRsaSha1Id xmlSecGnuTLSTransformRsaSha1Id +#define xmlSecTransformRsaPkcs1Id xmlSecGnuTLSTransformRsaPkcs1Id +#define xmlSecTransformRsaOaepId xmlSecGnuTLSTransformRsaOaepId +#define xmlSecTransformSha1Id xmlSecGnuTLSTransformSha1Id -/******************************************************************** - * +/** * High level routines form xmlsec command line utility - * - ********************************************************************/ -#define xmlSecCryptoAppInit xmlSecGnuTLSAppInit -#define xmlSecCryptoAppShutdown xmlSecGnuTLSAppShutdown -#define xmlSecCryptoAppDefaultKeysMngrInit xmlSecGnuTLSAppDefaultKeysMngrInit -#define xmlSecCryptoAppDefaultKeysMngrAdoptKey xmlSecGnuTLSAppDefaultKeysMngrAdoptKey -#define xmlSecCryptoAppDefaultKeysMngrLoad xmlSecGnuTLSAppDefaultKeysMngrLoad -#define xmlSecCryptoAppDefaultKeysMngrSave xmlSecGnuTLSAppDefaultKeysMngrSave -#define xmlSecCryptoAppKeysMngrCertLoad xmlSecGnuTLSAppKeysMngrCertLoad -#define xmlSecCryptoAppKeysMngrCertLoadMemory xmlSecGnuTLSAppKeysMngrCertLoadMemory -#define xmlSecCryptoAppKeyLoad xmlSecGnuTLSAppKeyLoad -#define xmlSecCryptoAppPkcs12Load xmlSecGnuTLSAppPkcs12Load -#define xmlSecCryptoAppKeyCertLoad xmlSecGnuTLSAppKeyCertLoad -#define xmlSecCryptoAppKeyLoadMemory xmlSecGnuTLSAppKeyLoadMemory -#define xmlSecCryptoAppPkcs12LoadMemory xmlSecGnuTLSAppPkcs12LoadMemory -#define xmlSecCryptoAppKeyCertLoadMemory xmlSecGnuTLSAppKeyCertLoadMemory -#define xmlSecCryptoAppGetDefaultPwdCallback xmlSecGnuTLSAppGetDefaultPwdCallback + */ +#define xmlSecCryptoAppInit xmlSecGnuTLSAppInit +#define xmlSecCryptoAppShutdown xmlSecGnuTLSAppShutdown +#define xmlSecCryptoAppDefaultKeysMngrInit xmlSecGnuTLSAppDefaultKeysMngrInit +#define xmlSecCryptoAppDefaultKeysMngrAdoptKey xmlSecGnuTLSAppDefaultKeysMngrAdoptKey +#define xmlSecCryptoAppDefaultKeysMngrLoad xmlSecGnuTLSAppDefaultKeysMngrLoad +#define xmlSecCryptoAppDefaultKeysMngrSave xmlSecGnuTLSAppDefaultKeysMngrSave +#define xmlSecCryptoAppKeysMngrCertLoad xmlSecGnuTLSAppKeysMngrCertLoad +#define xmlSecCryptoAppKeysMngrCertLoadMemory xmlSecGnuTLSAppKeysMngrCertLoadMemory +#define xmlSecCryptoAppKeyLoad xmlSecGnuTLSAppKeyLoad +#define xmlSecCryptoAppPkcs12Load xmlSecGnuTLSAppPkcs12Load +#define xmlSecCryptoAppKeyCertLoad xmlSecGnuTLSAppKeyCertLoad +#define xmlSecCryptoAppKeyLoadMemory xmlSecGnuTLSAppKeyLoadMemory +#define xmlSecCryptoAppPkcs12LoadMemory xmlSecGnuTLSAppPkcs12LoadMemory +#define xmlSecCryptoAppKeyCertLoadMemory xmlSecGnuTLSAppKeyCertLoadMemory +#define xmlSecCryptoAppGetDefaultPwdCallback xmlSecGnuTLSAppGetDefaultPwdCallback #endif /* XMLSEC_CRYPTO_GNUTLS */ @@ -101,4 +94,4 @@ extern "C" { #endif /* __XMLSEC_GNUTLS_CRYPTO_H__ */ -#define __XMLSEC_GNUTLS_CRYPTO_H__ +#define __XMLSEC_GNUTLS_CRYPTO_H__ |