Adapt sources to configurable config.h name

This commit is contained in:
Manuel Pégourié-Gonnard 2014-04-29 12:39:06 +02:00 committed by Paul Bakker
parent 27f1caed02
commit cef4ad2509
155 changed files with 621 additions and 1 deletions

View File

@ -27,7 +27,11 @@
#ifndef POLARSSL_AES_H #ifndef POLARSSL_AES_H
#define POLARSSL_AES_H #define POLARSSL_AES_H
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#include <string.h> #include <string.h>

View File

@ -27,7 +27,11 @@
#ifndef POLARSSL_ARC4_H #ifndef POLARSSL_ARC4_H
#define POLARSSL_ARC4_H #define POLARSSL_ARC4_H
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#include <string.h> #include <string.h>

View File

@ -27,7 +27,11 @@
#ifndef POLARSSL_ASN1_H #ifndef POLARSSL_ASN1_H
#define POLARSSL_ASN1_H #define POLARSSL_ASN1_H
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_BIGNUM_C) #if defined(POLARSSL_BIGNUM_C)
#include "bignum.h" #include "bignum.h"

View File

@ -30,7 +30,11 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(_MSC_VER) && !defined(EFIX64) && !defined(EFI32) #if defined(_MSC_VER) && !defined(EFIX64) && !defined(EFI32)
#include <basetsd.h> #include <basetsd.h>

View File

@ -27,7 +27,11 @@
#ifndef POLARSSL_BLOWFISH_H #ifndef POLARSSL_BLOWFISH_H
#define POLARSSL_BLOWFISH_H #define POLARSSL_BLOWFISH_H
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#include <string.h> #include <string.h>

View File

@ -27,7 +27,11 @@
#ifndef POLARSSL_CAMELLIA_H #ifndef POLARSSL_CAMELLIA_H
#define POLARSSL_CAMELLIA_H #define POLARSSL_CAMELLIA_H
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#include <string.h> #include <string.h>

View File

@ -30,7 +30,11 @@
#ifndef POLARSSL_CIPHER_H #ifndef POLARSSL_CIPHER_H
#define POLARSSL_CIPHER_H #define POLARSSL_CIPHER_H
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_GCM_C) #if defined(POLARSSL_GCM_C)
#define POLARSSL_CIPHER_MODE_AEAD #define POLARSSL_CIPHER_MODE_AEAD

View File

@ -29,7 +29,11 @@
#ifndef POLARSSL_CIPHER_WRAP_H #ifndef POLARSSL_CIPHER_WRAP_H
#define POLARSSL_CIPHER_WRAP_H #define POLARSSL_CIPHER_WRAP_H
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#include "cipher.h" #include "cipher.h"
#ifdef __cplusplus #ifdef __cplusplus

View File

@ -27,7 +27,11 @@
#ifndef POLARSSL_COMPAT_1_2_H #ifndef POLARSSL_COMPAT_1_2_H
#define POLARSSL_COMPAT_1_2_H #define POLARSSL_COMPAT_1_2_H
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
// Comment out to disable prototype change warnings // Comment out to disable prototype change warnings
#define SHOW_PROTOTYPE_CHANGE_WARNINGS #define SHOW_PROTOTYPE_CHANGE_WARNINGS

View File

@ -27,7 +27,11 @@
#ifndef POLARSSL_DEBUG_H #ifndef POLARSSL_DEBUG_H
#define POLARSSL_DEBUG_H #define POLARSSL_DEBUG_H
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#include "ssl.h" #include "ssl.h"
#if defined(POLARSSL_ECP_C) #if defined(POLARSSL_ECP_C)
#include "ecp.h" #include "ecp.h"

View File

@ -27,7 +27,11 @@
#ifndef POLARSSL_DES_H #ifndef POLARSSL_DES_H
#define POLARSSL_DES_H #define POLARSSL_DES_H
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#include <string.h> #include <string.h>

View File

@ -29,7 +29,11 @@
#include <string.h> #include <string.h>
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_SHA512_C) && !defined(POLARSSL_ENTROPY_FORCE_SHA256) #if defined(POLARSSL_SHA512_C) && !defined(POLARSSL_ENTROPY_FORCE_SHA256)
#include "sha512.h" #include "sha512.h"

View File

@ -29,7 +29,11 @@
#include <string.h> #include <string.h>
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -27,7 +27,11 @@
#ifndef POLARSSL_MD2_H #ifndef POLARSSL_MD2_H
#define POLARSSL_MD2_H #define POLARSSL_MD2_H
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#include <string.h> #include <string.h>

View File

@ -27,7 +27,11 @@
#ifndef POLARSSL_MD4_H #ifndef POLARSSL_MD4_H
#define POLARSSL_MD4_H #define POLARSSL_MD4_H
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#include <string.h> #include <string.h>

View File

@ -27,7 +27,11 @@
#ifndef POLARSSL_MD5_H #ifndef POLARSSL_MD5_H
#define POLARSSL_MD5_H #define POLARSSL_MD5_H
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#include <string.h> #include <string.h>

View File

@ -29,7 +29,11 @@
#ifndef POLARSSL_MD_WRAP_H #ifndef POLARSSL_MD_WRAP_H
#define POLARSSL_MD_WRAP_H #define POLARSSL_MD_WRAP_H
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#include "md.h" #include "md.h"
#ifdef __cplusplus #ifdef __cplusplus

View File

@ -27,7 +27,11 @@
#ifndef POLARSSL_MEMORY_H #ifndef POLARSSL_MEMORY_H
#define POLARSSL_MEMORY_H #define POLARSSL_MEMORY_H
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#include <stdlib.h> #include <stdlib.h>

View File

@ -27,7 +27,11 @@
#ifndef POLARSSL_MEMORY_BUFFER_ALLOC_H #ifndef POLARSSL_MEMORY_BUFFER_ALLOC_H
#define POLARSSL_MEMORY_BUFFER_ALLOC_H #define POLARSSL_MEMORY_BUFFER_ALLOC_H
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#include <stdlib.h> #include <stdlib.h>

View File

@ -28,7 +28,11 @@
#define POLARSSL_OID_H #define POLARSSL_OID_H
#include <string.h> #include <string.h>
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#include "asn1.h" #include "asn1.h"
#include "pk.h" #include "pk.h"
#if defined(POLARSSL_CIPHER_C) #if defined(POLARSSL_CIPHER_C)

View File

@ -28,7 +28,11 @@
#ifndef POLARSSL_PK_H #ifndef POLARSSL_PK_H
#define POLARSSL_PK_H #define POLARSSL_PK_H
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#include "md.h" #include "md.h"

View File

@ -28,7 +28,11 @@
#ifndef POLARSSL_PK_WRAP_H #ifndef POLARSSL_PK_WRAP_H
#define POLARSSL_PK_WRAP_H #define POLARSSL_PK_WRAP_H
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#include "pk.h" #include "pk.h"

View File

@ -29,7 +29,11 @@
#ifndef POLARSSL_PKCS11_H #ifndef POLARSSL_PKCS11_H
#define POLARSSL_PKCS11_H #define POLARSSL_PKCS11_H
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_PKCS11_C) #if defined(POLARSSL_PKCS11_C)

View File

@ -27,7 +27,11 @@
#ifndef POLARSSL_PLATFORM_H #ifndef POLARSSL_PLATFORM_H
#define POLARSSL_PLATFORM_H #define POLARSSL_PLATFORM_H
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#include <stdio.h> #include <stdio.h>

View File

@ -27,7 +27,11 @@
#ifndef POLARSSL_RIPEMD160_H #ifndef POLARSSL_RIPEMD160_H
#define POLARSSL_RIPEMD160_H #define POLARSSL_RIPEMD160_H
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#include <string.h> #include <string.h>

View File

@ -27,7 +27,11 @@
#ifndef POLARSSL_RSA_H #ifndef POLARSSL_RSA_H
#define POLARSSL_RSA_H #define POLARSSL_RSA_H
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#include "bignum.h" #include "bignum.h"
#include "md.h" #include "md.h"

View File

@ -27,7 +27,11 @@
#ifndef POLARSSL_SHA1_H #ifndef POLARSSL_SHA1_H
#define POLARSSL_SHA1_H #define POLARSSL_SHA1_H
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#include <string.h> #include <string.h>

View File

@ -27,7 +27,11 @@
#ifndef POLARSSL_SHA256_H #ifndef POLARSSL_SHA256_H
#define POLARSSL_SHA256_H #define POLARSSL_SHA256_H
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#include <string.h> #include <string.h>

View File

@ -27,7 +27,11 @@
#ifndef POLARSSL_SHA512_H #ifndef POLARSSL_SHA512_H
#define POLARSSL_SHA512_H #define POLARSSL_SHA512_H
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#include <string.h> #include <string.h>

View File

@ -27,7 +27,11 @@
#ifndef POLARSSL_SSL_H #ifndef POLARSSL_SSL_H
#define POLARSSL_SSL_H #define POLARSSL_SSL_H
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#include "net.h" #include "net.h"
#include "bignum.h" #include "bignum.h"

View File

@ -27,7 +27,11 @@
#ifndef POLARSSL_THREADING_H #ifndef POLARSSL_THREADING_H
#define POLARSSL_THREADING_H #define POLARSSL_THREADING_H
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#include <stdlib.h> #include <stdlib.h>

View File

@ -27,7 +27,11 @@
#ifndef POLARSSL_TIMING_H #ifndef POLARSSL_TIMING_H
#define POLARSSL_TIMING_H #define POLARSSL_TIMING_H
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if !defined(POLARSSL_TIMING_ALT) #if !defined(POLARSSL_TIMING_ALT)
// Regular implementation // Regular implementation

View File

@ -31,7 +31,11 @@
#ifndef POLARSSL_VERSION_H #ifndef POLARSSL_VERSION_H
#define POLARSSL_VERSION_H #define POLARSSL_VERSION_H
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
/** /**
* The version number x.y.z is split into three parts. * The version number x.y.z is split into three parts.

View File

@ -27,7 +27,11 @@
#ifndef POLARSSL_X509_H #ifndef POLARSSL_X509_H
#define POLARSSL_X509_H #define POLARSSL_X509_H
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#include "asn1.h" #include "asn1.h"
#include "pk.h" #include "pk.h"

View File

@ -27,7 +27,11 @@
#ifndef POLARSSL_X509_CRL_H #ifndef POLARSSL_X509_CRL_H
#define POLARSSL_X509_CRL_H #define POLARSSL_X509_CRL_H
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#include "x509.h" #include "x509.h"

View File

@ -27,7 +27,11 @@
#ifndef POLARSSL_X509_CRT_H #ifndef POLARSSL_X509_CRT_H
#define POLARSSL_X509_CRT_H #define POLARSSL_X509_CRT_H
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#include "x509.h" #include "x509.h"

View File

@ -27,7 +27,11 @@
#ifndef POLARSSL_X509_CSR_H #ifndef POLARSSL_X509_CSR_H
#define POLARSSL_X509_CSR_H #define POLARSSL_X509_CSR_H
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#include "x509.h" #include "x509.h"

View File

@ -27,7 +27,11 @@
#ifndef POLARSSL_XTEA_H #ifndef POLARSSL_XTEA_H
#define POLARSSL_XTEA_H #define POLARSSL_XTEA_H
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h" #include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#include <string.h> #include <string.h>

View File

@ -29,7 +29,11 @@
* http://csrc.nist.gov/publications/fips/fips197/fips-197.pdf * http://csrc.nist.gov/publications/fips/fips197/fips-197.pdf
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_AES_C) #if defined(POLARSSL_AES_C)

View File

@ -28,7 +28,11 @@
* [CLMUL-WP] http://software.intel.com/en-us/articles/intel-carry-less-multiplication-instruction-and-its-usage-for-computing-the-gcm-mode/ * [CLMUL-WP] http://software.intel.com/en-us/articles/intel-carry-less-multiplication-instruction-and-its-usage-for-computing-the-gcm-mode/
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_AESNI_C) #if defined(POLARSSL_AESNI_C)

View File

@ -28,7 +28,11 @@
* http://groups.google.com/group/sci.crypt/msg/10a300c9d21afca0 * http://groups.google.com/group/sci.crypt/msg/10a300c9d21afca0
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_ARC4_C) #if defined(POLARSSL_ARC4_C)

View File

@ -23,7 +23,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_ASN1_PARSE_C) #if defined(POLARSSL_ASN1_PARSE_C)

View File

@ -23,7 +23,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_ASN1_WRITE_C) #if defined(POLARSSL_ASN1_WRITE_C)

View File

@ -23,7 +23,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_BASE64_C) #if defined(POLARSSL_BASE64_C)

View File

@ -30,7 +30,11 @@
* http://math.libtomcrypt.com/files/tommath.pdf * http://math.libtomcrypt.com/files/tommath.pdf
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_BIGNUM_C) #if defined(POLARSSL_BIGNUM_C)

View File

@ -29,7 +29,11 @@
* *
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_BLOWFISH_C) #if defined(POLARSSL_BLOWFISH_C)

View File

@ -29,7 +29,11 @@
* http://info.isl.ntt.co.jp/crypt/eng/camellia/dl/01espec.pdf * http://info.isl.ntt.co.jp/crypt/eng/camellia/dl/01espec.pdf
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_CAMELLIA_C) #if defined(POLARSSL_CAMELLIA_C)

View File

@ -23,7 +23,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_CERTS_C) #if defined(POLARSSL_CERTS_C)

View File

@ -27,7 +27,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_CIPHER_C) #if defined(POLARSSL_CIPHER_C)

View File

@ -27,7 +27,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_CIPHER_C) #if defined(POLARSSL_CIPHER_C)

View File

@ -28,7 +28,11 @@
* http://csrc.nist.gov/publications/nistpubs/800-90/SP800-90revised_March2007.pdf * http://csrc.nist.gov/publications/nistpubs/800-90/SP800-90revised_March2007.pdf
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_CTR_DRBG_C) #if defined(POLARSSL_CTR_DRBG_C)

View File

@ -23,7 +23,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_DEBUG_C) #if defined(POLARSSL_DEBUG_C)

View File

@ -29,7 +29,11 @@
* http://csrc.nist.gov/publications/fips/fips46-3/fips46-3.pdf * http://csrc.nist.gov/publications/fips/fips46-3/fips46-3.pdf
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_DES_C) #if defined(POLARSSL_DES_C)

View File

@ -28,7 +28,11 @@
* http://www.cacr.math.uwaterloo.ca/hac/ (chapter 12) * http://www.cacr.math.uwaterloo.ca/hac/ (chapter 12)
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_DHM_C) #if defined(POLARSSL_DHM_C)

View File

@ -30,7 +30,11 @@
* RFC 4492 * RFC 4492
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_ECDH_C) #if defined(POLARSSL_ECDH_C)

View File

@ -29,7 +29,11 @@
* SEC1 http://www.secg.org/index.php?action=secg,docs_secg * SEC1 http://www.secg.org/index.php?action=secg,docs_secg
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_ECDSA_C) #if defined(POLARSSL_ECDSA_C)

View File

@ -44,7 +44,11 @@
* <http://eprint.iacr.org/2004/342.pdf> * <http://eprint.iacr.org/2004/342.pdf>
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_ECP_C) #if defined(POLARSSL_ECP_C)

View File

@ -23,7 +23,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_ECP_C) #if defined(POLARSSL_ECP_C)

View File

@ -23,7 +23,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_ENTROPY_C) #if defined(POLARSSL_ENTROPY_C)

View File

@ -23,7 +23,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_ENTROPY_C) #if defined(POLARSSL_ENTROPY_C)

View File

@ -23,7 +23,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_ERROR_C) #if defined(POLARSSL_ERROR_C)

View File

@ -33,7 +33,11 @@
* [MGV] 4.1, pp. 12-13, to enhance speed without using too much memory. * [MGV] 4.1, pp. 12-13, to enhance speed without using too much memory.
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_GCM_C) #if defined(POLARSSL_GCM_C)

View File

@ -30,7 +30,11 @@
* Contact: seznec(at)irisa_dot_fr - orocheco(at)irisa_dot_fr * Contact: seznec(at)irisa_dot_fr - orocheco(at)irisa_dot_fr
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_HAVEGE_C) #if defined(POLARSSL_HAVEGE_C)

View File

@ -29,7 +29,11 @@
* References below are based on rev. 1 (January 2012). * References below are based on rev. 1 (January 2012).
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_HMAC_DRBG_C) #if defined(POLARSSL_HMAC_DRBG_C)

View File

@ -27,7 +27,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_MD_C) #if defined(POLARSSL_MD_C)

View File

@ -29,7 +29,11 @@
* http://www.ietf.org/rfc/rfc1319.txt * http://www.ietf.org/rfc/rfc1319.txt
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_MD2_C) #if defined(POLARSSL_MD2_C)

View File

@ -29,7 +29,11 @@
* http://www.ietf.org/rfc/rfc1320.txt * http://www.ietf.org/rfc/rfc1320.txt
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_MD4_C) #if defined(POLARSSL_MD4_C)

View File

@ -28,7 +28,11 @@
* http://www.ietf.org/rfc/rfc1321.txt * http://www.ietf.org/rfc/rfc1321.txt
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_MD5_C) #if defined(POLARSSL_MD5_C)

View File

@ -27,7 +27,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_MD_C) #if defined(POLARSSL_MD_C)

View File

@ -23,7 +23,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_MEMORY_BUFFER_ALLOC_C) #if defined(POLARSSL_MEMORY_BUFFER_ALLOC_C)

View File

@ -23,7 +23,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_NET_C) #if defined(POLARSSL_NET_C)

View File

@ -25,7 +25,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_OID_C) #if defined(POLARSSL_OID_C)

View File

@ -29,7 +29,11 @@
* programming_guide.pdf * programming_guide.pdf
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_PADLOCK_C) #if defined(POLARSSL_PADLOCK_C)

View File

@ -34,7 +34,11 @@
* http://tools.ietf.org/html/rfc6070 (Test vectors) * http://tools.ietf.org/html/rfc6070 (Test vectors)
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_PBKDF2_C) #if defined(POLARSSL_PBKDF2_C)

View File

@ -23,7 +23,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_PEM_PARSE_C) || defined(POLARSSL_PEM_WRITE_C) #if defined(POLARSSL_PEM_PARSE_C) || defined(POLARSSL_PEM_WRITE_C)
#include "polarssl/pem.h" #include "polarssl/pem.h"

View File

@ -23,7 +23,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_PK_C) #if defined(POLARSSL_PK_C)

View File

@ -23,7 +23,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_PK_C) #if defined(POLARSSL_PK_C)

View File

@ -29,7 +29,11 @@
* ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-12/pkcs-12v1-1.asn * ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-12/pkcs-12v1-1.asn
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_PKCS12_C) #if defined(POLARSSL_PKCS12_C)

View File

@ -33,7 +33,11 @@
* http://tools.ietf.org/html/rfc6070 (Test vectors) * http://tools.ietf.org/html/rfc6070 (Test vectors)
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_PKCS5_C) #if defined(POLARSSL_PKCS5_C)

View File

@ -23,7 +23,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_PK_PARSE_C) #if defined(POLARSSL_PK_PARSE_C)

View File

@ -23,7 +23,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_PK_WRITE_C) #if defined(POLARSSL_PK_WRITE_C)

View File

@ -23,7 +23,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_PLATFORM_C) #if defined(POLARSSL_PLATFORM_C)

View File

@ -29,7 +29,11 @@
* http://ehash.iaik.tugraz.at/wiki/RIPEMD-160 * http://ehash.iaik.tugraz.at/wiki/RIPEMD-160
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_RIPEMD160_C) #if defined(POLARSSL_RIPEMD160_C)

View File

@ -29,7 +29,11 @@
* http://www.cacr.math.uwaterloo.ca/hac/about/chap8.pdf * http://www.cacr.math.uwaterloo.ca/hac/about/chap8.pdf
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_RSA_C) #if defined(POLARSSL_RSA_C)

View File

@ -28,7 +28,11 @@
* http://www.itl.nist.gov/fipspubs/fip180-1.htm * http://www.itl.nist.gov/fipspubs/fip180-1.htm
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_SHA1_C) #if defined(POLARSSL_SHA1_C)

View File

@ -28,7 +28,11 @@
* http://csrc.nist.gov/publications/fips/fips180-2/fips180-2.pdf * http://csrc.nist.gov/publications/fips/fips180-2/fips180-2.pdf
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_SHA256_C) #if defined(POLARSSL_SHA256_C)

View File

@ -28,7 +28,11 @@
* http://csrc.nist.gov/publications/fips/fips180-2/fips180-2.pdf * http://csrc.nist.gov/publications/fips/fips180-2/fips180-2.pdf
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_SHA512_C) #if defined(POLARSSL_SHA512_C)

View File

@ -27,7 +27,11 @@
* to store and retrieve the session information. * to store and retrieve the session information.
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_SSL_CACHE_C) #if defined(POLARSSL_SSL_CACHE_C)

View File

@ -25,7 +25,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_SSL_TLS_C) #if defined(POLARSSL_SSL_TLS_C)

View File

@ -23,7 +23,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_SSL_CLI_C) #if defined(POLARSSL_SSL_CLI_C)

View File

@ -23,7 +23,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_SSL_SRV_C) #if defined(POLARSSL_SSL_SRV_C)

View File

@ -31,7 +31,11 @@
* http://www.ietf.org/rfc/rfc4346.txt * http://www.ietf.org/rfc/rfc4346.txt
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_SSL_TLS_C) #if defined(POLARSSL_SSL_TLS_C)

View File

@ -23,7 +23,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_THREADING_C) #if defined(POLARSSL_THREADING_C)

View File

@ -23,7 +23,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_SELF_TEST) && defined(POLARSSL_PLATFORM_C) #if defined(POLARSSL_SELF_TEST) && defined(POLARSSL_PLATFORM_C)
#include "polarssl/platform.h" #include "polarssl/platform.h"

View File

@ -23,7 +23,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_VERSION_C) #if defined(POLARSSL_VERSION_C)

View File

@ -23,7 +23,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_VERSION_C) #if defined(POLARSSL_VERSION_C)

View File

@ -34,7 +34,11 @@
* http://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf * http://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_X509_USE_C) #if defined(POLARSSL_X509_USE_C)

View File

@ -23,7 +23,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_X509_CREATE_C) #if defined(POLARSSL_X509_CREATE_C)

View File

@ -34,7 +34,11 @@
* http://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf * http://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_X509_CRL_PARSE_C) #if defined(POLARSSL_X509_CRL_PARSE_C)

View File

@ -34,7 +34,11 @@
* http://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf * http://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf
*/ */
#if !defined(POLARSSL_CONFIG_FILE)
#include "polarssl/config.h" #include "polarssl/config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_X509_CRT_PARSE_C) #if defined(POLARSSL_X509_CRT_PARSE_C)

Some files were not shown because too many files have changed in this diff Show More