Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 1 | /** |
| 2 | * \file config.h |
| 3 | * |
Paul Bakker | 37ca75d | 2011-01-06 12:28:03 +0000 | [diff] [blame] | 4 | * \brief Configuration options (set of defines) |
| 5 | * |
Paul Bakker | efc3029 | 2011-11-10 14:43:23 +0000 | [diff] [blame] | 6 | * Copyright (C) 2006-2011, Brainspark B.V. |
Paul Bakker | b96f154 | 2010-07-18 20:36:00 +0000 | [diff] [blame] | 7 | * |
| 8 | * This file is part of PolarSSL (http://www.polarssl.org) |
Paul Bakker | 84f12b7 | 2010-07-18 10:13:04 +0000 | [diff] [blame] | 9 | * Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org> |
Paul Bakker | b96f154 | 2010-07-18 20:36:00 +0000 | [diff] [blame] | 10 | * |
Paul Bakker | 77b385e | 2009-07-28 17:23:11 +0000 | [diff] [blame] | 11 | * All rights reserved. |
Paul Bakker | e0ccd0a | 2009-01-04 16:27:10 +0000 | [diff] [blame] | 12 | * |
Paul Bakker | e0ccd0a | 2009-01-04 16:27:10 +0000 | [diff] [blame] | 13 | * This program is free software; you can redistribute it and/or modify |
| 14 | * it under the terms of the GNU General Public License as published by |
| 15 | * the Free Software Foundation; either version 2 of the License, or |
| 16 | * (at your option) any later version. |
| 17 | * |
| 18 | * This program is distributed in the hope that it will be useful, |
| 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 21 | * GNU General Public License for more details. |
| 22 | * |
| 23 | * You should have received a copy of the GNU General Public License along |
| 24 | * with this program; if not, write to the Free Software Foundation, Inc., |
| 25 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
| 26 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 27 | * This set of compile-time options may be used to enable |
| 28 | * or disable features selectively, and reduce the global |
| 29 | * memory footprint. |
| 30 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 31 | #ifndef POLARSSL_CONFIG_H |
| 32 | #define POLARSSL_CONFIG_H |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 33 | |
Paul Bakker | cce9d77 | 2011-11-18 14:26:47 +0000 | [diff] [blame] | 34 | #if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE) |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 35 | #define _CRT_SECURE_NO_DEPRECATE 1 |
| 36 | #endif |
| 37 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 38 | /** |
Paul Bakker | 0a62cd1 | 2011-01-21 11:00:08 +0000 | [diff] [blame] | 39 | * \name SECTION: System support |
| 40 | * |
| 41 | * This section sets system specific settings. |
| 42 | * \{ |
| 43 | */ |
| 44 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 45 | /** |
| 46 | * \def POLARSSL_HAVE_INT8 |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 47 | * |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 48 | * The system uses 8-bit wide native integers. |
| 49 | * |
| 50 | * Uncomment if native integers are 8-bit wide. |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 51 | #define POLARSSL_HAVE_INT8 |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 52 | */ |
| 53 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 54 | /** |
| 55 | * \def POLARSSL_HAVE_INT16 |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 56 | * |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 57 | * The system uses 16-bit wide native integers. |
| 58 | * |
| 59 | * Uncomment if native integers are 16-bit wide. |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 60 | #define POLARSSL_HAVE_INT16 |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 61 | */ |
| 62 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 63 | /** |
| 64 | * \def POLARSSL_HAVE_LONGLONG |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 65 | * |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 66 | * The compiler supports the use of long long. |
| 67 | * |
| 68 | * Uncomment if the compiler supports long long. |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 69 | #define POLARSSL_HAVE_LONGLONG |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 70 | */ |
| 71 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 72 | /** |
| 73 | * \def POLARSSL_HAVE_ASM |
| 74 | * |
| 75 | * The compiler has support for asm() |
| 76 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 77 | * Uncomment to enable the use of assembly code. |
Paul Bakker | 68041ec | 2009-04-19 21:17:55 +0000 | [diff] [blame] | 78 | * |
| 79 | * Requires support for asm() in compiler. |
| 80 | * |
| 81 | * Used in: |
| 82 | * library/timing.c |
| 83 | * library/padlock.c |
| 84 | * include/polarssl/bn_mul.h |
| 85 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 86 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 87 | #define POLARSSL_HAVE_ASM |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 88 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 89 | /** |
| 90 | * \def POLARSSL_HAVE_SSE2 |
| 91 | * |
| 92 | * CPI supports SSE2 instruction set. |
| 93 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 94 | * Uncomment if the CPU supports SSE2 (IA-32 specific). |
| 95 | * |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 96 | #define POLARSSL_HAVE_SSE2 |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 97 | */ |
Paul Bakker | 0a62cd1 | 2011-01-21 11:00:08 +0000 | [diff] [blame] | 98 | /* \} name */ |
| 99 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 100 | /** |
Paul Bakker | 0a62cd1 | 2011-01-21 11:00:08 +0000 | [diff] [blame] | 101 | * \name SECTION: PolarSSL feature support |
| 102 | * |
| 103 | * This section sets support for features that are or are not needed |
| 104 | * within the modules that are enabled. |
| 105 | * \{ |
| 106 | */ |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 107 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 108 | /** |
Paul Bakker | 15566e4 | 2011-04-24 21:19:15 +0000 | [diff] [blame] | 109 | * \def POLARSSL_AES_ROM_TABLES |
| 110 | * |
| 111 | * Store the AES tables in ROM. |
| 112 | * |
| 113 | * Uncomment this macro to store the AES tables in ROM. |
| 114 | * |
| 115 | #define POLARSSL_AES_ROM_TABLES |
| 116 | */ |
| 117 | |
| 118 | /** |
Paul Bakker | b6ecaf5 | 2011-04-19 14:29:23 +0000 | [diff] [blame] | 119 | * \def POLARSSL_CIPHER_MODE_CFB |
| 120 | * |
| 121 | * Enable Cipher Feedback mode (CFB) for symmetric ciphers. |
| 122 | */ |
| 123 | #define POLARSSL_CIPHER_MODE_CFB |
| 124 | |
| 125 | /** |
| 126 | * \def POLARSSL_CIPHER_MODE_CTR |
| 127 | * |
| 128 | * Enable Counter Block Cipher mode (CTR) for symmetric ciphers. |
| 129 | */ |
| 130 | #define POLARSSL_CIPHER_MODE_CTR |
| 131 | |
| 132 | /** |
Paul Bakker | fab5c82 | 2012-02-06 16:45:10 +0000 | [diff] [blame] | 133 | * \def POLARSSL_CIPHER_NULL_CIPHER |
| 134 | * |
| 135 | * Enable NULL cipher. |
| 136 | * Warning: Only do so when you know what you are doing. This allows for |
| 137 | * encryption or channels without any security! |
| 138 | * |
| 139 | * Requires POLARSSL_ENABLE_WEAK_CIPHERSUITES as well to enable |
| 140 | * the following ciphersuites: |
| 141 | * SSL_RSA_NULL_MD5 |
| 142 | * SSL_RSA_NULL_SHA |
| 143 | * SSL_RSA_NULL_SHA256 |
| 144 | * |
| 145 | * Uncomment this macro to enable the NULL cipher and ciphersuites |
| 146 | #define POLARSSL_CIPHER_NULL_CIPHER |
| 147 | */ |
| 148 | |
| 149 | /** |
Paul Bakker | fab5c82 | 2012-02-06 16:45:10 +0000 | [diff] [blame] | 150 | * \def POLARSSL_ENABLE_WEAK_CIPHERSUITES |
| 151 | * |
| 152 | * Enable weak ciphersuites in SSL / TLS (like RC4_40) |
| 153 | * Warning: Only do so when you know what you are doing. This allows for |
| 154 | * channels without virtually no security at all! |
| 155 | * |
| 156 | * This enables the following ciphersuites: |
| 157 | * SSL_RSA_DES_SHA |
| 158 | * SSL_EDH_RSA_DES_SHA |
| 159 | * |
| 160 | * Uncomment this macro to enable weak ciphersuites |
| 161 | #define POLARSSL_ENABLE_WEAK_CIPHERSUITES |
| 162 | */ |
| 163 | |
| 164 | /** |
Paul Bakker | 15566e4 | 2011-04-24 21:19:15 +0000 | [diff] [blame] | 165 | * \def POLARSSL_GENPRIME |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 166 | * |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 167 | * Requires: POLARSSL_BIGNUM_C, POLARSSL_RSA_C |
| 168 | * |
Paul Bakker | 15566e4 | 2011-04-24 21:19:15 +0000 | [diff] [blame] | 169 | * Enable the RSA prime-number generation code. |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 170 | */ |
Paul Bakker | 15566e4 | 2011-04-24 21:19:15 +0000 | [diff] [blame] | 171 | #define POLARSSL_GENPRIME |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 172 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 173 | /** |
Paul Bakker | 335db3f | 2011-04-25 15:28:35 +0000 | [diff] [blame] | 174 | * \def POLARSSL_FS_IO |
| 175 | * |
| 176 | * Enable functions that use the filesystem. |
| 177 | */ |
| 178 | #define POLARSSL_FS_IO |
| 179 | |
| 180 | /** |
Paul Bakker | 43655f4 | 2011-12-15 20:11:16 +0000 | [diff] [blame] | 181 | * \def POLARSSL_NO_DEFAULT_ENTROPY_SOURCES |
| 182 | * |
| 183 | * Do not add default entropy sources. These are the platform specific, |
| 184 | * hardclock and HAVEGE based poll functions. |
| 185 | * |
| 186 | * This is useful to have more control over the added entropy sources in an |
| 187 | * application. |
| 188 | * |
| 189 | * Uncomment this macro to prevent loading of default entropy functions. |
| 190 | #define POLARSSL_NO_DEFAULT_ENTROPY_SOURCES |
| 191 | */ |
| 192 | |
| 193 | /** |
Paul Bakker | 6083fd2 | 2011-12-03 21:45:14 +0000 | [diff] [blame] | 194 | * \def POLARSSL_NO_PLATFORM_ENTROPY |
| 195 | * |
| 196 | * Do not use built-in platform entropy functions. |
| 197 | * This is useful if your platform does not support |
| 198 | * standards like the /dev/urandom or Windows CryptoAPI. |
| 199 | * |
| 200 | * Uncomment this macro to disable the built-in platform entropy functions. |
| 201 | #define POLARSSL_NO_PLATFORM_ENTROPY |
| 202 | */ |
| 203 | |
| 204 | /** |
Paul Bakker | 9dcc322 | 2011-03-08 14:16:06 +0000 | [diff] [blame] | 205 | * \def POLARSSL_PKCS1_V21 |
| 206 | * |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 207 | * Requires: POLARSSL_MD_C, POLARSSL_RSA_C |
| 208 | * |
Paul Bakker | 9dcc322 | 2011-03-08 14:16:06 +0000 | [diff] [blame] | 209 | * Enable support for PKCS#1 v2.1 encoding. |
| 210 | * This enables support for RSAES-OAEP and RSASSA-PSS operations. |
| 211 | */ |
| 212 | #define POLARSSL_PKCS1_V21 |
| 213 | |
| 214 | /** |
Paul Bakker | 0216cc1 | 2011-03-26 13:40:23 +0000 | [diff] [blame] | 215 | * \def POLARSSL_RSA_NO_CRT |
| 216 | * |
| 217 | * Do not use the Chinese Remainder Theorem for the RSA private operation. |
| 218 | * |
| 219 | * Uncomment this macro to disable the use of CRT in RSA. |
| 220 | * |
| 221 | #define POLARSSL_RSA_NO_CRT |
| 222 | */ |
Paul Bakker | 15566e4 | 2011-04-24 21:19:15 +0000 | [diff] [blame] | 223 | |
| 224 | /** |
| 225 | * \def POLARSSL_SELF_TEST |
| 226 | * |
| 227 | * Enable the checkup functions (*_self_test). |
| 228 | */ |
| 229 | #define POLARSSL_SELF_TEST |
Paul Bakker | 5c721f9 | 2011-07-27 16:51:09 +0000 | [diff] [blame] | 230 | |
| 231 | /** |
| 232 | * \def POLARSSL_X509_ALLOW_UNSUPPORTED_CRITICAL_EXTENSION |
| 233 | * |
| 234 | * If set, the X509 parser will not break-off when parsing an X509 certificate |
| 235 | * and encountering an unknown critical extension. |
| 236 | * |
| 237 | * Uncomment to prevent an error. |
| 238 | * |
| 239 | #define POLARSSL_X509_ALLOW_UNSUPPORTED_CRITICAL_EXTENSION |
| 240 | */ |
Paul Bakker | 0a62cd1 | 2011-01-21 11:00:08 +0000 | [diff] [blame] | 241 | /* \} name */ |
| 242 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 243 | /** |
Paul Bakker | 0a62cd1 | 2011-01-21 11:00:08 +0000 | [diff] [blame] | 244 | * \name SECTION: PolarSSL modules |
| 245 | * |
| 246 | * This section enables or disables entire modules in PolarSSL |
| 247 | * \{ |
| 248 | */ |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 249 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 250 | /** |
| 251 | * \def POLARSSL_AES_C |
| 252 | * |
| 253 | * Enable the AES block cipher. |
| 254 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 255 | * Module: library/aes.c |
| 256 | * Caller: library/ssl_tls.c |
Paul Bakker | 96743fc | 2011-02-12 14:30:57 +0000 | [diff] [blame] | 257 | * library/pem.c |
Paul Bakker | 6083fd2 | 2011-12-03 21:45:14 +0000 | [diff] [blame] | 258 | * library/ctr_drbg.c |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 259 | * |
| 260 | * This module enables the following ciphersuites: |
| 261 | * SSL_RSA_AES_128_SHA |
| 262 | * SSL_RSA_AES_256_SHA |
| 263 | * SSL_EDH_RSA_AES_256_SHA |
| 264 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 265 | #define POLARSSL_AES_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 266 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 267 | /** |
| 268 | * \def POLARSSL_ARC4_C |
| 269 | * |
| 270 | * Enable the ARCFOUR stream cipher. |
| 271 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 272 | * Module: library/arc4.c |
| 273 | * Caller: library/ssl_tls.c |
| 274 | * |
| 275 | * This module enables the following ciphersuites: |
| 276 | * SSL_RSA_RC4_128_MD5 |
| 277 | * SSL_RSA_RC4_128_SHA |
| 278 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 279 | #define POLARSSL_ARC4_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 280 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 281 | /** |
Paul Bakker | efc3029 | 2011-11-10 14:43:23 +0000 | [diff] [blame] | 282 | * \def POLARSSL_ASN1_PARSE_C |
| 283 | * |
| 284 | * Enable the generic ASN1 parser. |
| 285 | * |
| 286 | * Module: library/asn1.c |
| 287 | * Caller: library/x509parse.c |
| 288 | */ |
| 289 | #define POLARSSL_ASN1_PARSE_C |
| 290 | |
| 291 | /** |
Paul Bakker | bdb912d | 2012-02-13 23:11:30 +0000 | [diff] [blame] | 292 | * \def POLARSSL_ASN1_WRITE_C |
| 293 | * |
| 294 | * Enable the generic ASN1 writer. |
| 295 | * |
| 296 | * Module: library/asn1write.c |
| 297 | */ |
| 298 | #define POLARSSL_ASN1_WRITE_C |
| 299 | |
| 300 | /** |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 301 | * \def POLARSSL_BASE64_C |
| 302 | * |
| 303 | * Enable the Base64 module. |
| 304 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 305 | * Module: library/base64.c |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 306 | * Caller: library/pem.c |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 307 | * |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 308 | * This module is required for PEM support (required by X.509). |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 309 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 310 | #define POLARSSL_BASE64_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 311 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 312 | /** |
| 313 | * \def POLARSSL_BIGNUM_C |
| 314 | * |
| 315 | * Enable the multo-precision integer library. |
| 316 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 317 | * Module: library/bignum.c |
| 318 | * Caller: library/dhm.c |
| 319 | * library/rsa.c |
| 320 | * library/ssl_tls.c |
| 321 | * library/x509parse.c |
| 322 | * |
| 323 | * This module is required for RSA and DHM support. |
| 324 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 325 | #define POLARSSL_BIGNUM_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 326 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 327 | /** |
| 328 | * \def POLARSSL_CAMELLIA_C |
| 329 | * |
| 330 | * Enable the Camellia block cipher. |
| 331 | * |
Paul Bakker | 38119b1 | 2009-01-10 23:31:23 +0000 | [diff] [blame] | 332 | * Module: library/camellia.c |
Paul Bakker | 13e2dfe | 2009-07-28 07:18:38 +0000 | [diff] [blame] | 333 | * Caller: library/ssl_tls.c |
Paul Bakker | 38119b1 | 2009-01-10 23:31:23 +0000 | [diff] [blame] | 334 | * |
| 335 | * This module enabled the following cipher suites: |
Paul Bakker | 13e2dfe | 2009-07-28 07:18:38 +0000 | [diff] [blame] | 336 | * SSL_RSA_CAMELLIA_128_SHA |
| 337 | * SSL_RSA_CAMELLIA_256_SHA |
| 338 | * SSL_EDH_RSA_CAMELLIA_256_SHA |
Paul Bakker | 38119b1 | 2009-01-10 23:31:23 +0000 | [diff] [blame] | 339 | */ |
| 340 | #define POLARSSL_CAMELLIA_C |
| 341 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 342 | /** |
| 343 | * \def POLARSSL_CERTS_C |
| 344 | * |
| 345 | * Enable the test certificates. |
| 346 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 347 | * Module: library/certs.c |
| 348 | * Caller: |
| 349 | * |
| 350 | * This module is used for testing (ssl_client/server). |
| 351 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 352 | #define POLARSSL_CERTS_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 353 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 354 | /** |
| 355 | * \def POLARSSL_CIPHER_C |
| 356 | * |
| 357 | * Enable the generic cipher layer. |
| 358 | * |
Paul Bakker | 8123e9d | 2011-01-06 15:37:30 +0000 | [diff] [blame] | 359 | * Module: library/cipher.c |
| 360 | * Caller: |
| 361 | * |
| 362 | * Uncomment to enable generic cipher wrappers. |
| 363 | */ |
| 364 | #define POLARSSL_CIPHER_C |
| 365 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 366 | /** |
Paul Bakker | 0e04d0e | 2011-11-27 14:46:59 +0000 | [diff] [blame] | 367 | * \def POLARSSL_CTR_DRBG_C |
| 368 | * |
| 369 | * Enable the CTR_DRBG AES-256-based random generator |
| 370 | * |
| 371 | * Module: library/ctr_drbg.c |
| 372 | * Caller: |
| 373 | * |
Paul Bakker | 6083fd2 | 2011-12-03 21:45:14 +0000 | [diff] [blame] | 374 | * Requires: POLARSSL_AES_C |
| 375 | * |
Paul Bakker | 0e04d0e | 2011-11-27 14:46:59 +0000 | [diff] [blame] | 376 | * This module provides the CTR_DRBG AES-256 random number generator. |
| 377 | */ |
| 378 | #define POLARSSL_CTR_DRBG_C |
| 379 | |
| 380 | /** |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 381 | * \def POLARSSL_DEBUG_C |
| 382 | * |
| 383 | * Enable the debug functions. |
| 384 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 385 | * Module: library/debug.c |
| 386 | * Caller: library/ssl_cli.c |
| 387 | * library/ssl_srv.c |
| 388 | * library/ssl_tls.c |
| 389 | * |
| 390 | * This module provides debugging functions. |
| 391 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 392 | #define POLARSSL_DEBUG_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 393 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 394 | /** |
| 395 | * \def POLARSSL_DES_C |
| 396 | * |
| 397 | * Enable the DES block cipher. |
| 398 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 399 | * Module: library/des.c |
| 400 | * Caller: library/ssl_tls.c |
| 401 | * |
| 402 | * This module enables the following ciphersuites: |
| 403 | * SSL_RSA_DES_168_SHA |
| 404 | * SSL_EDH_RSA_DES_168_SHA |
| 405 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 406 | #define POLARSSL_DES_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 407 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 408 | /** |
| 409 | * \def POLARSSL_DHM_C |
| 410 | * |
| 411 | * Enable the Diffie-Hellman-Merkle key exchange. |
| 412 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 413 | * Module: library/dhm.c |
| 414 | * Caller: library/ssl_cli.c |
| 415 | * library/ssl_srv.c |
| 416 | * |
| 417 | * This module enables the following ciphersuites: |
| 418 | * SSL_EDH_RSA_DES_168_SHA |
| 419 | * SSL_EDH_RSA_AES_256_SHA |
Paul Bakker | 13e2dfe | 2009-07-28 07:18:38 +0000 | [diff] [blame] | 420 | * SSL_EDH_RSA_CAMELLIA_256_SHA |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 421 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 422 | #define POLARSSL_DHM_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 423 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 424 | /** |
Paul Bakker | 6083fd2 | 2011-12-03 21:45:14 +0000 | [diff] [blame] | 425 | * \def POLARSSL_ENTROPY_C |
| 426 | * |
| 427 | * Enable the platform-specific entropy code. |
| 428 | * |
| 429 | * Module: library/entropy.c |
| 430 | * Caller: |
| 431 | * |
| 432 | * Requires: POLARSSL_SHA4_C |
| 433 | * |
| 434 | * This module provides a generic entropy pool |
| 435 | */ |
| 436 | #define POLARSSL_ENTROPY_C |
| 437 | |
| 438 | /** |
Paul Bakker | 9d78140 | 2011-05-09 16:17:09 +0000 | [diff] [blame] | 439 | * \def POLARSSL_ERROR_C |
| 440 | * |
| 441 | * Enable error code to error string conversion. |
| 442 | * |
| 443 | * Module: library/error.c |
| 444 | * Caller: |
| 445 | * |
| 446 | * This module enables err_strerror(). |
| 447 | */ |
| 448 | #define POLARSSL_ERROR_C |
| 449 | |
| 450 | /** |
Paul Bakker | 89e80c9 | 2012-03-20 13:50:09 +0000 | [diff] [blame^] | 451 | * \def POLARSSL_GCM_C |
| 452 | * |
| 453 | * Enable the Galois/Counter Mode (GCM) for AES |
| 454 | * |
| 455 | * Module: library/gcm.c |
| 456 | * |
| 457 | * Requires: POLARSSL_AES_C |
| 458 | */ |
| 459 | #define POLARSSL_GCM_C |
| 460 | |
| 461 | /** |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 462 | * \def POLARSSL_HAVEGE_C |
| 463 | * |
| 464 | * Enable the HAVEGE random generator. |
| 465 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 466 | * Module: library/havege.c |
| 467 | * Caller: |
| 468 | * |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 469 | * Requires: POLARSSL_TIMING_C |
| 470 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 471 | * This module enables the HAVEGE random number generator. |
| 472 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 473 | #define POLARSSL_HAVEGE_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 474 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 475 | /** |
| 476 | * \def POLARSSL_MD_C |
| 477 | * |
| 478 | * Enable the generic message digest layer. |
| 479 | * |
Paul Bakker | 1737385 | 2011-01-06 14:20:01 +0000 | [diff] [blame] | 480 | * Module: library/md.c |
| 481 | * Caller: |
| 482 | * |
| 483 | * Uncomment to enable generic message digest wrappers. |
| 484 | */ |
| 485 | #define POLARSSL_MD_C |
| 486 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 487 | /** |
| 488 | * \def POLARSSL_MD2_C |
| 489 | * |
| 490 | * Enable the MD2 hash algorithm |
| 491 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 492 | * Module: library/md2.c |
| 493 | * Caller: library/x509parse.c |
| 494 | * |
| 495 | * Uncomment to enable support for (rare) MD2-signed X.509 certs. |
| 496 | * |
Paul Bakker | 13e2dfe | 2009-07-28 07:18:38 +0000 | [diff] [blame] | 497 | #define POLARSSL_MD2_C |
Paul Bakker | 6506aff | 2009-07-28 20:52:02 +0000 | [diff] [blame] | 498 | */ |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 499 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 500 | /** |
| 501 | * \def POLARSSL_MD4_C |
| 502 | * |
| 503 | * Enable the MD4 hash algorithm |
| 504 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 505 | * Module: library/md4.c |
| 506 | * Caller: library/x509parse.c |
| 507 | * |
| 508 | * Uncomment to enable support for (rare) MD4-signed X.509 certs. |
| 509 | * |
Paul Bakker | 13e2dfe | 2009-07-28 07:18:38 +0000 | [diff] [blame] | 510 | #define POLARSSL_MD4_C |
Paul Bakker | 6506aff | 2009-07-28 20:52:02 +0000 | [diff] [blame] | 511 | */ |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 512 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 513 | /** |
| 514 | * \def POLARSSL_MD5_C |
| 515 | * |
| 516 | * Enable the MD5 hash algorithm |
| 517 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 518 | * Module: library/md5.c |
| 519 | * Caller: library/ssl_tls.c |
| 520 | * library/x509parse.c |
| 521 | * |
| 522 | * This module is required for SSL/TLS and X.509. |
| 523 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 524 | #define POLARSSL_MD5_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 525 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 526 | /** |
| 527 | * \def POLARSSL_NET_C |
| 528 | * |
| 529 | * Enable the TCP/IP networking routines. |
| 530 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 531 | * Module: library/net.c |
| 532 | * Caller: |
| 533 | * |
| 534 | * This module provides TCP/IP networking routines. |
| 535 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 536 | #define POLARSSL_NET_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 537 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 538 | /** |
| 539 | * \def POLARSSL_PADLOCK_C |
| 540 | * |
| 541 | * Enable VIA Padlock support on x86. |
| 542 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 543 | * Module: library/padlock.c |
| 544 | * Caller: library/aes.c |
| 545 | * |
| 546 | * This modules adds support for the VIA PadLock on x86. |
| 547 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 548 | #define POLARSSL_PADLOCK_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 549 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 550 | /** |
Paul Bakker | 96743fc | 2011-02-12 14:30:57 +0000 | [diff] [blame] | 551 | * \def POLARSSL_PEM_C |
| 552 | * |
| 553 | * Enable PEM decoding |
| 554 | * |
| 555 | * Module: library/pem.c |
| 556 | * Caller: library/x509parse.c |
| 557 | * |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 558 | * Requires: POLARSSL_BASE64_C |
| 559 | * |
Paul Bakker | 96743fc | 2011-02-12 14:30:57 +0000 | [diff] [blame] | 560 | * This modules adds support for decoding PEM files. |
| 561 | */ |
| 562 | #define POLARSSL_PEM_C |
| 563 | |
| 564 | /** |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 565 | * \def POLARSSL_PKCS11_C |
| 566 | * |
| 567 | * Enable support for PKCS#11 smartcard support. |
| 568 | * |
| 569 | * Module: library/ssl_srv.c |
| 570 | * Caller: library/ssl_cli.c |
| 571 | * library/ssl_srv.c |
| 572 | * |
| 573 | * Requires: POLARSSL_SSL_TLS_C |
| 574 | * |
| 575 | * This module is required for SSL/TLS PKCS #11 smartcard support. |
| 576 | * Requires the presence of the PKCS#11 helper library (libpkcs11-helper) |
| 577 | #define POLARSSL_PKCS11_C |
| 578 | */ |
| 579 | |
| 580 | /** |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 581 | * \def POLARSSL_RSA_C |
| 582 | * |
| 583 | * Enable the RSA public-key cryptosystem. |
| 584 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 585 | * Module: library/rsa.c |
| 586 | * Caller: library/ssl_cli.c |
| 587 | * library/ssl_srv.c |
| 588 | * library/ssl_tls.c |
| 589 | * library/x509.c |
| 590 | * |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 591 | * Requires: POLARSSL_BIGNUM_C |
| 592 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 593 | * This module is required for SSL/TLS and MD5-signed certificates. |
| 594 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 595 | #define POLARSSL_RSA_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 596 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 597 | /** |
| 598 | * \def POLARSSL_SHA1_C |
| 599 | * |
| 600 | * Enable the SHA1 cryptographic hash algorithm. |
| 601 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 602 | * Module: library/sha1.c |
| 603 | * Caller: library/ssl_cli.c |
| 604 | * library/ssl_srv.c |
| 605 | * library/ssl_tls.c |
| 606 | * library/x509parse.c |
| 607 | * |
| 608 | * This module is required for SSL/TLS and SHA1-signed certificates. |
| 609 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 610 | #define POLARSSL_SHA1_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 611 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 612 | /** |
| 613 | * \def POLARSSL_SHA2_C |
| 614 | * |
| 615 | * Enable the SHA-224 and SHA-256 cryptographic hash algorithms. |
| 616 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 617 | * Module: library/sha2.c |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 618 | * Caller: library/md_wrap.c |
| 619 | * library/x509parse.c |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 620 | * |
| 621 | * This module adds support for SHA-224 and SHA-256. |
| 622 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 623 | #define POLARSSL_SHA2_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 624 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 625 | /** |
| 626 | * \def POLARSSL_SHA4_C |
| 627 | * |
| 628 | * Enable the SHA-384 and SHA-512 cryptographic hash algorithms. |
| 629 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 630 | * Module: library/sha4.c |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 631 | * Caller: library/md_wrap.c |
| 632 | * library/x509parse.c |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 633 | * |
| 634 | * This module adds support for SHA-384 and SHA-512. |
| 635 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 636 | #define POLARSSL_SHA4_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 637 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 638 | /** |
| 639 | * \def POLARSSL_SSL_CLI_C |
| 640 | * |
| 641 | * Enable the SSL/TLS client code. |
| 642 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 643 | * Module: library/ssl_cli.c |
| 644 | * Caller: |
| 645 | * |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 646 | * Requires: POLARSSL_SSL_TLS_C |
| 647 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 648 | * This module is required for SSL/TLS client support. |
| 649 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 650 | #define POLARSSL_SSL_CLI_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 651 | |
| 652 | /* |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 653 | * \def POLARSSL_SSL_SRV_C |
| 654 | * |
| 655 | * Enable the SSL/TLS server code. |
| 656 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 657 | * Module: library/ssl_srv.c |
| 658 | * Caller: |
| 659 | * |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 660 | * Requires: POLARSSL_SSL_TLS_C |
| 661 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 662 | * This module is required for SSL/TLS server support. |
| 663 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 664 | #define POLARSSL_SSL_SRV_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 665 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 666 | /** |
| 667 | * \def POLARSSL_SSL_TLS_C |
| 668 | * |
Paul Bakker | e29ab06 | 2011-05-18 13:26:54 +0000 | [diff] [blame] | 669 | * Enable the generic SSL/TLS code. |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 670 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 671 | * Module: library/ssl_tls.c |
| 672 | * Caller: library/ssl_cli.c |
| 673 | * library/ssl_srv.c |
| 674 | * |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 675 | * Requires: POLARSSL_MD5_C, POLARSSL_SHA1_C, POLARSSL_X509_PARSE_C |
| 676 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 677 | * This module is required for SSL/TLS. |
| 678 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 679 | #define POLARSSL_SSL_TLS_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 680 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 681 | /** |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 682 | * \def POLARSSL_TIMING_C |
| 683 | * |
| 684 | * Enable the portable timing interface. |
| 685 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 686 | * Module: library/timing.c |
| 687 | * Caller: library/havege.c |
| 688 | * |
| 689 | * This module is used by the HAVEGE random number generator. |
| 690 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 691 | #define POLARSSL_TIMING_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 692 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 693 | /** |
| 694 | * \def POLARSSL_VERSION_C |
| 695 | * |
| 696 | * Enable run-time version information. |
| 697 | * |
Paul Bakker | 0a62cd1 | 2011-01-21 11:00:08 +0000 | [diff] [blame] | 698 | * Module: library/version.c |
| 699 | * |
| 700 | * This module provides run-time version information. |
| 701 | */ |
| 702 | #define POLARSSL_VERSION_C |
| 703 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 704 | /** |
| 705 | * \def POLARSSL_X509_PARSE_C |
| 706 | * |
| 707 | * Enable X.509 certificate parsing. |
| 708 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 709 | * Module: library/x509parse.c |
| 710 | * Caller: library/ssl_cli.c |
| 711 | * library/ssl_srv.c |
| 712 | * library/ssl_tls.c |
| 713 | * |
Paul Bakker | efc3029 | 2011-11-10 14:43:23 +0000 | [diff] [blame] | 714 | * Requires: POLARSSL_ASN1_PARSE_C, POLARSSL_BIGNUM_C, POLARSSL_RSA_C |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 715 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 716 | * This module is required for X.509 certificate parsing. |
| 717 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 718 | #define POLARSSL_X509_PARSE_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 719 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 720 | /** |
Paul Bakker | bdb912d | 2012-02-13 23:11:30 +0000 | [diff] [blame] | 721 | * \def POLARSSL_X509_WRITE_C |
| 722 | * |
| 723 | * Enable X.509 buffer writing. |
| 724 | * |
| 725 | * Module: library/x509write.c |
| 726 | * |
| 727 | * Requires: POLARSSL_BIGNUM_C, POLARSSL_RSA_C |
| 728 | * |
| 729 | * This module is required for X.509 certificate request writing. |
| 730 | */ |
| 731 | #define POLARSSL_X509_WRITE_C |
| 732 | |
| 733 | /** |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 734 | * \def POLARSSL_XTEA_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 735 | * |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 736 | * Enable the XTEA block cipher. |
| 737 | * |
Paul Bakker | 7a7c78f | 2009-01-04 18:15:48 +0000 | [diff] [blame] | 738 | * Module: library/xtea.c |
| 739 | * Caller: |
| 740 | */ |
| 741 | #define POLARSSL_XTEA_C |
Paul Bakker | 0a62cd1 | 2011-01-21 11:00:08 +0000 | [diff] [blame] | 742 | /* \} name */ |
Paul Bakker | 7a7c78f | 2009-01-04 18:15:48 +0000 | [diff] [blame] | 743 | |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 744 | #endif /* config.h */ |