diff options
Diffstat (limited to 'include/xmlsec/openssl/symbols.h')
-rw-r--r-- | include/xmlsec/openssl/symbols.h | 161 |
1 files changed, 77 insertions, 84 deletions
diff --git a/include/xmlsec/openssl/symbols.h b/include/xmlsec/openssl/symbols.h index f99dfb6c..295c2342 100644 --- a/include/xmlsec/openssl/symbols.h +++ b/include/xmlsec/openssl/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_OPENSSL_SYMBOLS_H__ -#define __XMLSEC_OPENSSL_SYMBOLS_H__ +#define __XMLSEC_OPENSSL_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,102 +15,95 @@ #ifdef __cplusplus extern "C" { -#endif /* __cplusplus */ +#endif /* __cplusplus */ +/** + * Defines for writing simple code + */ #ifdef XMLSEC_CRYPTO_OPENSSL -/******************************************************************** - * +/** * Crypto Init/shutdown - * - ********************************************************************/ -#define xmlSecCryptoInit xmlSecOpenSSLInit -#define xmlSecCryptoShutdown xmlSecOpenSSLShutdown + */ +#define xmlSecCryptoInit xmlSecOpenSSLInit +#define xmlSecCryptoShutdown xmlSecOpenSSLShutdown -#define xmlSecCryptoKeysMngrInit xmlSecOpenSSLKeysMngrInit +#define xmlSecCryptoKeysMngrInit xmlSecOpenSSLKeysMngrInit -/******************************************************************** - * +/** * Key data ids - * - ********************************************************************/ -#define xmlSecKeyDataAesId xmlSecOpenSSLKeyDataAesId -#define xmlSecKeyDataDesId xmlSecOpenSSLKeyDataDesId -#define xmlSecKeyDataDsaId xmlSecOpenSSLKeyDataDsaId -#define xmlSecKeyDataHmacId xmlSecOpenSSLKeyDataHmacId -#define xmlSecKeyDataRsaId xmlSecOpenSSLKeyDataRsaId -#define xmlSecKeyDataX509Id xmlSecOpenSSLKeyDataX509Id -#define xmlSecKeyDataRawX509CertId xmlSecOpenSSLKeyDataRawX509CertId + */ +#define xmlSecKeyDataAesId xmlSecOpenSSLKeyDataAesId +#define xmlSecKeyDataDesId xmlSecOpenSSLKeyDataDesId +#define xmlSecKeyDataDsaId xmlSecOpenSSLKeyDataDsaId +#define xmlSecKeyDataHmacId xmlSecOpenSSLKeyDataHmacId +#define xmlSecKeyDataRsaId xmlSecOpenSSLKeyDataRsaId +#define xmlSecKeyDataX509Id xmlSecOpenSSLKeyDataX509Id +#define xmlSecKeyDataRawX509CertId xmlSecOpenSSLKeyDataRawX509CertId -/******************************************************************** - * +/** * Key data store ids - * - ********************************************************************/ -#define xmlSecX509StoreId xmlSecOpenSSLX509StoreId + */ +#define xmlSecX509StoreId xmlSecOpenSSLX509StoreId -/******************************************************************** - * +/** * Crypto transforms ids - * - ********************************************************************/ -#define xmlSecTransformAes128CbcId xmlSecOpenSSLTransformAes128CbcId -#define xmlSecTransformAes192CbcId xmlSecOpenSSLTransformAes192CbcId -#define xmlSecTransformAes256CbcId xmlSecOpenSSLTransformAes256CbcId -#define xmlSecTransformKWAes128Id xmlSecOpenSSLTransformKWAes128Id -#define xmlSecTransformKWAes192Id xmlSecOpenSSLTransformKWAes192Id -#define xmlSecTransformKWAes256Id xmlSecOpenSSLTransformKWAes256Id -#define xmlSecTransformDes3CbcId xmlSecOpenSSLTransformDes3CbcId -#define xmlSecTransformKWDes3Id xmlSecOpenSSLTransformKWDes3Id -#define xmlSecTransformDsaSha1Id xmlSecOpenSSLTransformDsaSha1Id -#define xmlSecTransformHmacMd5Id xmlSecOpenSSLTransformHmacMd5Id -#define xmlSecTransformHmacRipemd160Id xmlSecOpenSSLTransformHmacRipemd160Id -#define xmlSecTransformHmacSha1Id xmlSecOpenSSLTransformHmacSha1Id -#define xmlSecTransformHmacSha224Id xmlSecOpenSSLTransformHmacSha224Id -#define xmlSecTransformHmacSha256Id xmlSecOpenSSLTransformHmacSha256Id -#define xmlSecTransformHmacSha384Id xmlSecOpenSSLTransformHmacSha384Id -#define xmlSecTransformHmacSha512Id xmlSecOpenSSLTransformHmacSha512Id -#define xmlSecTransformMd5Id xmlSecOpenSSLTransformMd5Id -#define xmlSecTransformRipemd160Id xmlSecOpenSSLTransformRipemd160Id -#define xmlSecTransformRsaMd5Id xmlSecOpenSSLTransformRsaMd5Id -#define xmlSecTransformRsaRipemd160Id xmlSecOpenSSLTransformRsaRipemd160Id -#define xmlSecTransformRsaSha1Id xmlSecOpenSSLTransformRsaSha1Id -#define xmlSecTransformRsaSha224Id xmlSecOpenSSLTransformRsaSha224Id -#define xmlSecTransformRsaSha256Id xmlSecOpenSSLTransformRsaSha256Id -#define xmlSecTransformRsaSha384Id xmlSecOpenSSLTransformRsaSha384Id -#define xmlSecTransformRsaSha512Id xmlSecOpenSSLTransformRsaSha512Id -#define xmlSecTransformRsaPkcs1Id xmlSecOpenSSLTransformRsaPkcs1Id -#define xmlSecTransformRsaOaepId xmlSecOpenSSLTransformRsaOaepId -#define xmlSecTransformSha1Id xmlSecOpenSSLTransformSha1Id -#define xmlSecTransformSha224Id xmlSecOpenSSLTransformSha224Id -#define xmlSecTransformSha256Id xmlSecOpenSSLTransformSha256Id -#define xmlSecTransformSha384Id xmlSecOpenSSLTransformSha384Id -#define xmlSecTransformSha512Id xmlSecOpenSSLTransformSha512Id + */ +#define xmlSecTransformAes128CbcId xmlSecOpenSSLTransformAes128CbcId +#define xmlSecTransformAes192CbcId xmlSecOpenSSLTransformAes192CbcId +#define xmlSecTransformAes256CbcId xmlSecOpenSSLTransformAes256CbcId +#define xmlSecTransformKWAes128Id xmlSecOpenSSLTransformKWAes128Id +#define xmlSecTransformKWAes192Id xmlSecOpenSSLTransformKWAes192Id +#define xmlSecTransformKWAes256Id xmlSecOpenSSLTransformKWAes256Id +#define xmlSecTransformDes3CbcId xmlSecOpenSSLTransformDes3CbcId +#define xmlSecTransformKWDes3Id xmlSecOpenSSLTransformKWDes3Id +#define xmlSecTransformDsaSha1Id xmlSecOpenSSLTransformDsaSha1Id +#define xmlSecTransformHmacMd5Id xmlSecOpenSSLTransformHmacMd5Id +#define xmlSecTransformHmacRipemd160Id xmlSecOpenSSLTransformHmacRipemd160Id +#define xmlSecTransformHmacSha1Id xmlSecOpenSSLTransformHmacSha1Id +#define xmlSecTransformHmacSha224Id xmlSecOpenSSLTransformHmacSha224Id +#define xmlSecTransformHmacSha256Id xmlSecOpenSSLTransformHmacSha256Id +#define xmlSecTransformHmacSha384Id xmlSecOpenSSLTransformHmacSha384Id +#define xmlSecTransformHmacSha512Id xmlSecOpenSSLTransformHmacSha512Id +#define xmlSecTransformMd5Id xmlSecOpenSSLTransformMd5Id +#define xmlSecTransformRipemd160Id xmlSecOpenSSLTransformRipemd160Id +#define xmlSecTransformRsaMd5Id xmlSecOpenSSLTransformRsaMd5Id +#define xmlSecTransformRsaRipemd160Id xmlSecOpenSSLTransformRsaRipemd160Id +#define xmlSecTransformRsaSha1Id xmlSecOpenSSLTransformRsaSha1Id +#define xmlSecTransformRsaSha224Id xmlSecOpenSSLTransformRsaSha224Id +#define xmlSecTransformRsaSha256Id xmlSecOpenSSLTransformRsaSha256Id +#define xmlSecTransformRsaSha384Id xmlSecOpenSSLTransformRsaSha384Id +#define xmlSecTransformRsaSha512Id xmlSecOpenSSLTransformRsaSha512Id +#define xmlSecTransformRsaPkcs1Id xmlSecOpenSSLTransformRsaPkcs1Id +#define xmlSecTransformRsaOaepId xmlSecOpenSSLTransformRsaOaepId +#define xmlSecTransformSha1Id xmlSecOpenSSLTransformSha1Id +#define xmlSecTransformSha224Id xmlSecOpenSSLTransformSha224Id +#define xmlSecTransformSha256Id xmlSecOpenSSLTransformSha256Id +#define xmlSecTransformSha384Id xmlSecOpenSSLTransformSha384Id +#define xmlSecTransformSha512Id xmlSecOpenSSLTransformSha512Id -/******************************************************************** - * +/** * High level routines form xmlsec command line utility - * - ********************************************************************/ -#define xmlSecCryptoAppInit xmlSecOpenSSLAppInit -#define xmlSecCryptoAppShutdown xmlSecOpenSSLAppShutdown -#define xmlSecCryptoAppDefaultKeysMngrInit xmlSecOpenSSLAppDefaultKeysMngrInit -#define xmlSecCryptoAppDefaultKeysMngrAdoptKey xmlSecOpenSSLAppDefaultKeysMngrAdoptKey -#define xmlSecCryptoAppDefaultKeysMngrLoad xmlSecOpenSSLAppDefaultKeysMngrLoad -#define xmlSecCryptoAppDefaultKeysMngrSave xmlSecOpenSSLAppDefaultKeysMngrSave -#define xmlSecCryptoAppKeysMngrCertLoad xmlSecOpenSSLAppKeysMngrCertLoad -#define xmlSecCryptoAppKeysMngrCertLoadMemory xmlSecOpenSSLAppKeysMngrCertLoadMemory -#define xmlSecCryptoAppKeyLoad xmlSecOpenSSLAppKeyLoad -#define xmlSecCryptoAppPkcs12Load xmlSecOpenSSLAppPkcs12Load -#define xmlSecCryptoAppKeyCertLoad xmlSecOpenSSLAppKeyCertLoad -#define xmlSecCryptoAppKeyLoadMemory xmlSecOpenSSLAppKeyLoadMemory -#define xmlSecCryptoAppPkcs12LoadMemory xmlSecOpenSSLAppPkcs12LoadMemory -#define xmlSecCryptoAppKeyCertLoadMemory xmlSecOpenSSLAppKeyCertLoadMemory -#define xmlSecCryptoAppGetDefaultPwdCallback xmlSecOpenSSLAppGetDefaultPwdCallback + */ +#define xmlSecCryptoAppInit xmlSecOpenSSLAppInit +#define xmlSecCryptoAppShutdown xmlSecOpenSSLAppShutdown +#define xmlSecCryptoAppDefaultKeysMngrInit xmlSecOpenSSLAppDefaultKeysMngrInit +#define xmlSecCryptoAppDefaultKeysMngrAdoptKey xmlSecOpenSSLAppDefaultKeysMngrAdoptKey +#define xmlSecCryptoAppDefaultKeysMngrLoad xmlSecOpenSSLAppDefaultKeysMngrLoad +#define xmlSecCryptoAppDefaultKeysMngrSave xmlSecOpenSSLAppDefaultKeysMngrSave +#define xmlSecCryptoAppKeysMngrCertLoad xmlSecOpenSSLAppKeysMngrCertLoad +#define xmlSecCryptoAppKeysMngrCertLoadMemory xmlSecOpenSSLAppKeysMngrCertLoadMemory +#define xmlSecCryptoAppKeyLoad xmlSecOpenSSLAppKeyLoad +#define xmlSecCryptoAppPkcs12Load xmlSecOpenSSLAppPkcs12Load +#define xmlSecCryptoAppKeyCertLoad xmlSecOpenSSLAppKeyCertLoad +#define xmlSecCryptoAppKeyLoadMemory xmlSecOpenSSLAppKeyLoadMemory +#define xmlSecCryptoAppPkcs12LoadMemory xmlSecOpenSSLAppPkcs12LoadMemory +#define xmlSecCryptoAppKeyCertLoadMemory xmlSecOpenSSLAppKeyCertLoadMemory +#define xmlSecCryptoAppGetDefaultPwdCallback xmlSecOpenSSLAppGetDefaultPwdCallback /* todo: this should go away on next API refresh */ -#define xmlSecCryptoAppKeysMngrAddCertsPath xmlSecOpenSSLAppKeysMngrAddCertsPath +#define xmlSecCryptoAppKeysMngrAddCertsPath xmlSecOpenSSLAppKeysMngrAddCertsPath #endif /* XMLSEC_CRYPTO_OPENSSL */ @@ -120,4 +113,4 @@ extern "C" { #endif /* __XMLSEC_OPENSSL_CRYPTO_H__ */ -#define __XMLSEC_OPENSSL_CRYPTO_H__ +#define __XMLSEC_OPENSSL_CRYPTO_H__ |