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 | 6fa5488 | 2013-06-17 15:44:03 +0200 | [diff] [blame] | 6 | * Copyright (C) 2006-2013, 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 | /** |
Paul Bakker | 62261d6 | 2012-10-02 12:19:31 +0000 | [diff] [blame] | 64 | * \def POLARSSL_HAVE_LONGLONG |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 65 | * |
Paul Bakker | 62261d6 | 2012-10-02 12:19:31 +0000 | [diff] [blame] | 66 | * The compiler supports the 'long long' type. |
| 67 | * (Only used on 32-bit platforms) |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 68 | */ |
Paul Bakker | 62261d6 | 2012-10-02 12:19:31 +0000 | [diff] [blame] | 69 | #define POLARSSL_HAVE_LONGLONG |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 70 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 71 | /** |
| 72 | * \def POLARSSL_HAVE_ASM |
| 73 | * |
| 74 | * The compiler has support for asm() |
| 75 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 76 | * Uncomment to enable the use of assembly code. |
Paul Bakker | 68041ec | 2009-04-19 21:17:55 +0000 | [diff] [blame] | 77 | * |
| 78 | * Requires support for asm() in compiler. |
| 79 | * |
| 80 | * Used in: |
| 81 | * library/timing.c |
| 82 | * library/padlock.c |
| 83 | * include/polarssl/bn_mul.h |
| 84 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 85 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 86 | #define POLARSSL_HAVE_ASM |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 87 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 88 | /** |
| 89 | * \def POLARSSL_HAVE_SSE2 |
| 90 | * |
Paul Bakker | e23c315 | 2012-10-01 14:42:47 +0000 | [diff] [blame] | 91 | * CPU supports SSE2 instruction set. |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 92 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 93 | * Uncomment if the CPU supports SSE2 (IA-32 specific). |
| 94 | * |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 95 | #define POLARSSL_HAVE_SSE2 |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 96 | */ |
Paul Bakker | 9ccb211 | 2014-07-07 13:43:31 +0200 | [diff] [blame] | 97 | |
| 98 | /** |
| 99 | * \def POLARSSL_HAVE_READDIR_R |
| 100 | * |
| 101 | * (Non Windows) System has readdir_r(). |
| 102 | * |
| 103 | * Required for x509_crt_parse_path() in non-Windows systems. |
| 104 | * |
| 105 | * Comment if your system does not have support. |
| 106 | */ |
| 107 | #define POLARSSL_HAVE_READDIR_R |
Paul Bakker | 0a62cd1 | 2011-01-21 11:00:08 +0000 | [diff] [blame] | 108 | /* \} name */ |
| 109 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 110 | /** |
Paul Bakker | 0a62cd1 | 2011-01-21 11:00:08 +0000 | [diff] [blame] | 111 | * \name SECTION: PolarSSL feature support |
| 112 | * |
| 113 | * This section sets support for features that are or are not needed |
| 114 | * within the modules that are enabled. |
| 115 | * \{ |
| 116 | */ |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 117 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 118 | /** |
Paul Bakker | 4087c47 | 2013-06-12 16:49:10 +0200 | [diff] [blame] | 119 | * \def POLARSSL_XXX_ALT |
| 120 | * |
| 121 | * Uncomment a macro to let PolarSSL use your alternate core implementation of |
| 122 | * a symmetric or hash algorithm (e.g. platform specific assembly optimized |
| 123 | * implementations). Keep in mind that the function prototypes should remain |
| 124 | * the same. |
| 125 | * |
| 126 | * Example: In case you uncomment POLARSSL_AES_ALT, PolarSSL will no longer |
| 127 | * provide the "struct aes_context" definition and omit the base function |
| 128 | * declarations and implementations. "aes_alt.h" will be included from |
| 129 | * "aes.h" to include the new function definitions. |
| 130 | * |
| 131 | * Uncomment a macro to enable alternate implementation for core algorithm |
| 132 | * functions |
| 133 | #define POLARSSL_AES_ALT |
| 134 | #define POLARSSL_ARC4_ALT |
| 135 | #define POLARSSL_BLOWFISH_ALT |
| 136 | #define POLARSSL_CAMELLIA_ALT |
| 137 | #define POLARSSL_DES_ALT |
| 138 | #define POLARSSL_XTEA_ALT |
| 139 | #define POLARSSL_MD2_ALT |
| 140 | #define POLARSSL_MD4_ALT |
| 141 | #define POLARSSL_MD5_ALT |
| 142 | #define POLARSSL_SHA1_ALT |
| 143 | #define POLARSSL_SHA2_ALT |
| 144 | #define POLARSSL_SHA4_ALT |
| 145 | */ |
| 146 | |
| 147 | /** |
Paul Bakker | 15566e4 | 2011-04-24 21:19:15 +0000 | [diff] [blame] | 148 | * \def POLARSSL_AES_ROM_TABLES |
| 149 | * |
| 150 | * Store the AES tables in ROM. |
| 151 | * |
| 152 | * Uncomment this macro to store the AES tables in ROM. |
| 153 | * |
| 154 | #define POLARSSL_AES_ROM_TABLES |
| 155 | */ |
| 156 | |
| 157 | /** |
Paul Bakker | b6ecaf5 | 2011-04-19 14:29:23 +0000 | [diff] [blame] | 158 | * \def POLARSSL_CIPHER_MODE_CFB |
| 159 | * |
| 160 | * Enable Cipher Feedback mode (CFB) for symmetric ciphers. |
| 161 | */ |
| 162 | #define POLARSSL_CIPHER_MODE_CFB |
| 163 | |
| 164 | /** |
| 165 | * \def POLARSSL_CIPHER_MODE_CTR |
| 166 | * |
| 167 | * Enable Counter Block Cipher mode (CTR) for symmetric ciphers. |
| 168 | */ |
| 169 | #define POLARSSL_CIPHER_MODE_CTR |
| 170 | |
| 171 | /** |
Paul Bakker | fab5c82 | 2012-02-06 16:45:10 +0000 | [diff] [blame] | 172 | * \def POLARSSL_CIPHER_NULL_CIPHER |
| 173 | * |
| 174 | * Enable NULL cipher. |
| 175 | * Warning: Only do so when you know what you are doing. This allows for |
| 176 | * encryption or channels without any security! |
| 177 | * |
| 178 | * Requires POLARSSL_ENABLE_WEAK_CIPHERSUITES as well to enable |
| 179 | * the following ciphersuites: |
Paul Bakker | 645ce3a | 2012-10-31 12:32:41 +0000 | [diff] [blame] | 180 | * TLS_RSA_WITH_NULL_MD5 |
| 181 | * TLS_RSA_WITH_NULL_SHA |
| 182 | * TLS_RSA_WITH_NULL_SHA256 |
Paul Bakker | fab5c82 | 2012-02-06 16:45:10 +0000 | [diff] [blame] | 183 | * |
| 184 | * Uncomment this macro to enable the NULL cipher and ciphersuites |
| 185 | #define POLARSSL_CIPHER_NULL_CIPHER |
| 186 | */ |
| 187 | |
| 188 | /** |
Paul Bakker | fab5c82 | 2012-02-06 16:45:10 +0000 | [diff] [blame] | 189 | * \def POLARSSL_ENABLE_WEAK_CIPHERSUITES |
| 190 | * |
Paul Bakker | 645ce3a | 2012-10-31 12:32:41 +0000 | [diff] [blame] | 191 | * Enable weak ciphersuites in SSL / TLS |
Paul Bakker | fab5c82 | 2012-02-06 16:45:10 +0000 | [diff] [blame] | 192 | * Warning: Only do so when you know what you are doing. This allows for |
Paul Bakker | 9a73632 | 2012-11-14 12:39:52 +0000 | [diff] [blame] | 193 | * channels with virtually no security at all! |
Paul Bakker | fab5c82 | 2012-02-06 16:45:10 +0000 | [diff] [blame] | 194 | * |
| 195 | * This enables the following ciphersuites: |
Paul Bakker | 645ce3a | 2012-10-31 12:32:41 +0000 | [diff] [blame] | 196 | * TLS_RSA_WITH_DES_CBC_SHA |
| 197 | * TLS_DHE_RSA_WITH_DES_CBC_SHA |
Paul Bakker | fab5c82 | 2012-02-06 16:45:10 +0000 | [diff] [blame] | 198 | * |
| 199 | * Uncomment this macro to enable weak ciphersuites |
| 200 | #define POLARSSL_ENABLE_WEAK_CIPHERSUITES |
| 201 | */ |
| 202 | |
| 203 | /** |
Paul Bakker | 8fe40dc | 2013-02-02 12:43:08 +0100 | [diff] [blame] | 204 | * \def POLARSSL_ERROR_STRERROR_DUMMY |
| 205 | * |
| 206 | * Enable a dummy error function to make use of error_strerror() in |
| 207 | * third party libraries easier. |
| 208 | * |
| 209 | * Disable if you run into name conflicts and want to really remove the |
| 210 | * error_strerror() |
| 211 | */ |
| 212 | #define POLARSSL_ERROR_STRERROR_DUMMY |
| 213 | |
| 214 | /** |
Paul Bakker | 15566e4 | 2011-04-24 21:19:15 +0000 | [diff] [blame] | 215 | * \def POLARSSL_GENPRIME |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 216 | * |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 217 | * Requires: POLARSSL_BIGNUM_C, POLARSSL_RSA_C |
| 218 | * |
Paul Bakker | 15566e4 | 2011-04-24 21:19:15 +0000 | [diff] [blame] | 219 | * Enable the RSA prime-number generation code. |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 220 | */ |
Paul Bakker | 15566e4 | 2011-04-24 21:19:15 +0000 | [diff] [blame] | 221 | #define POLARSSL_GENPRIME |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 222 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 223 | /** |
Paul Bakker | 335db3f | 2011-04-25 15:28:35 +0000 | [diff] [blame] | 224 | * \def POLARSSL_FS_IO |
| 225 | * |
| 226 | * Enable functions that use the filesystem. |
| 227 | */ |
| 228 | #define POLARSSL_FS_IO |
| 229 | |
| 230 | /** |
Paul Bakker | 43655f4 | 2011-12-15 20:11:16 +0000 | [diff] [blame] | 231 | * \def POLARSSL_NO_DEFAULT_ENTROPY_SOURCES |
| 232 | * |
| 233 | * Do not add default entropy sources. These are the platform specific, |
| 234 | * hardclock and HAVEGE based poll functions. |
| 235 | * |
| 236 | * This is useful to have more control over the added entropy sources in an |
| 237 | * application. |
| 238 | * |
| 239 | * Uncomment this macro to prevent loading of default entropy functions. |
| 240 | #define POLARSSL_NO_DEFAULT_ENTROPY_SOURCES |
| 241 | */ |
| 242 | |
| 243 | /** |
Paul Bakker | 6083fd2 | 2011-12-03 21:45:14 +0000 | [diff] [blame] | 244 | * \def POLARSSL_NO_PLATFORM_ENTROPY |
| 245 | * |
| 246 | * Do not use built-in platform entropy functions. |
| 247 | * This is useful if your platform does not support |
| 248 | * standards like the /dev/urandom or Windows CryptoAPI. |
| 249 | * |
| 250 | * Uncomment this macro to disable the built-in platform entropy functions. |
| 251 | #define POLARSSL_NO_PLATFORM_ENTROPY |
| 252 | */ |
| 253 | |
| 254 | /** |
Paul Bakker | 9dcc322 | 2011-03-08 14:16:06 +0000 | [diff] [blame] | 255 | * \def POLARSSL_PKCS1_V21 |
| 256 | * |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 257 | * Requires: POLARSSL_MD_C, POLARSSL_RSA_C |
| 258 | * |
Paul Bakker | 9dcc322 | 2011-03-08 14:16:06 +0000 | [diff] [blame] | 259 | * Enable support for PKCS#1 v2.1 encoding. |
| 260 | * This enables support for RSAES-OAEP and RSASSA-PSS operations. |
| 261 | */ |
| 262 | #define POLARSSL_PKCS1_V21 |
| 263 | |
| 264 | /** |
Paul Bakker | 0216cc1 | 2011-03-26 13:40:23 +0000 | [diff] [blame] | 265 | * \def POLARSSL_RSA_NO_CRT |
| 266 | * |
| 267 | * Do not use the Chinese Remainder Theorem for the RSA private operation. |
| 268 | * |
| 269 | * Uncomment this macro to disable the use of CRT in RSA. |
| 270 | * |
| 271 | #define POLARSSL_RSA_NO_CRT |
| 272 | */ |
Paul Bakker | 15566e4 | 2011-04-24 21:19:15 +0000 | [diff] [blame] | 273 | |
| 274 | /** |
| 275 | * \def POLARSSL_SELF_TEST |
| 276 | * |
| 277 | * Enable the checkup functions (*_self_test). |
| 278 | */ |
| 279 | #define POLARSSL_SELF_TEST |
Paul Bakker | 5c721f9 | 2011-07-27 16:51:09 +0000 | [diff] [blame] | 280 | |
| 281 | /** |
Paul Bakker | 40865c8 | 2013-01-31 17:13:13 +0100 | [diff] [blame] | 282 | * \def POLARSSL_SSL_ALL_ALERT_MESSAGES |
| 283 | * |
| 284 | * Enable sending of alert messages in case of encountered errors as per RFC. |
| 285 | * If you choose not to send the alert messages, PolarSSL can still communicate |
| 286 | * with other servers, only debugging of failures is harder. |
| 287 | * |
| 288 | * The advantage of not sending alert messages, is that no information is given |
| 289 | * about reasons for failures thus preventing adversaries of gaining intel. |
| 290 | * |
| 291 | * Enable sending of all alert messages |
| 292 | */ |
| 293 | #define POLARSSL_SSL_ALERT_MESSAGES |
| 294 | |
| 295 | /** |
Paul Bakker | d66f070 | 2013-01-31 16:57:45 +0100 | [diff] [blame] | 296 | * \def POLARSSL_SSL_DEBUG_ALL |
| 297 | * |
| 298 | * Enable the debug messages in SSL module for all issues. |
| 299 | * Debug messages have been disabled in some places to prevent timing |
| 300 | * attacks due to (unbalanced) debugging function calls. |
| 301 | * |
| 302 | * If you need all error reporting you should enable this during debugging, |
| 303 | * but remove this for production servers that should log as well. |
| 304 | * |
| 305 | * Uncomment this macro to report all debug messages on errors introducing |
| 306 | * a timing side-channel. |
| 307 | * |
| 308 | #define POLARSSL_SSL_DEBUG_ALL |
| 309 | */ |
| 310 | |
| 311 | /** |
Paul Bakker | 05ef835 | 2012-05-08 09:17:57 +0000 | [diff] [blame] | 312 | * \def POLARSSL_SSL_HW_RECORD_ACCEL |
| 313 | * |
| 314 | * Enable hooking functions in SSL module for hardware acceleration of |
| 315 | * individual records. |
| 316 | * |
| 317 | * Uncomment this macro to enable hooking functions. |
| 318 | #define POLARSSL_SSL_HW_RECORD_ACCEL |
| 319 | */ |
| 320 | |
| 321 | /** |
Paul Bakker | 78a8c71 | 2013-03-06 17:01:52 +0100 | [diff] [blame] | 322 | * \def POLARSSL_SSL_SRV_SUPPORT_SSLV2_CLIENT_HELLO |
| 323 | * |
| 324 | * Enable support for receiving and parsing SSLv2 Client Hello messages for the |
| 325 | * SSL Server module (POLARSSL_SSL_SRV_C) |
| 326 | * |
| 327 | * Comment this macro to disable support for SSLv2 Client Hello messages. |
| 328 | */ |
| 329 | #define POLARSSL_SSL_SRV_SUPPORT_SSLV2_CLIENT_HELLO |
| 330 | |
| 331 | /** |
Paul Bakker | 5c721f9 | 2011-07-27 16:51:09 +0000 | [diff] [blame] | 332 | * \def POLARSSL_X509_ALLOW_UNSUPPORTED_CRITICAL_EXTENSION |
| 333 | * |
| 334 | * If set, the X509 parser will not break-off when parsing an X509 certificate |
| 335 | * and encountering an unknown critical extension. |
| 336 | * |
| 337 | * Uncomment to prevent an error. |
| 338 | * |
| 339 | #define POLARSSL_X509_ALLOW_UNSUPPORTED_CRITICAL_EXTENSION |
| 340 | */ |
Paul Bakker | 2770fbd | 2012-07-03 13:30:23 +0000 | [diff] [blame] | 341 | |
| 342 | /** |
| 343 | * \def POLARSSL_ZLIB_SUPPORT |
| 344 | * |
| 345 | * If set, the SSL/TLS module uses ZLIB to support compression and |
| 346 | * decompression of packet data. |
| 347 | * |
Manuel Pégourié-Gonnard | 588b66f | 2014-03-11 10:30:38 +0100 | [diff] [blame] | 348 | * \warning TLS-level compression MAY REDUCE SECURITY! See for example the |
| 349 | * CRIME attack. Before enabling this option, you should examine with care if |
| 350 | * CRIME or similar exploits may be a applicable to your use case. |
| 351 | * |
Paul Bakker | 2770fbd | 2012-07-03 13:30:23 +0000 | [diff] [blame] | 352 | * Used in: library/ssl_tls.c |
| 353 | * library/ssl_cli.c |
| 354 | * library/ssl_srv.c |
| 355 | * |
| 356 | * This feature requires zlib library and headers to be present. |
| 357 | * |
| 358 | * Uncomment to enable use of ZLIB |
| 359 | #define POLARSSL_ZLIB_SUPPORT |
| 360 | */ |
Paul Bakker | 0a62cd1 | 2011-01-21 11:00:08 +0000 | [diff] [blame] | 361 | /* \} name */ |
| 362 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 363 | /** |
Paul Bakker | 0a62cd1 | 2011-01-21 11:00:08 +0000 | [diff] [blame] | 364 | * \name SECTION: PolarSSL modules |
| 365 | * |
| 366 | * This section enables or disables entire modules in PolarSSL |
| 367 | * \{ |
| 368 | */ |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 369 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 370 | /** |
| 371 | * \def POLARSSL_AES_C |
| 372 | * |
| 373 | * Enable the AES block cipher. |
| 374 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 375 | * Module: library/aes.c |
| 376 | * Caller: library/ssl_tls.c |
Paul Bakker | 96743fc | 2011-02-12 14:30:57 +0000 | [diff] [blame] | 377 | * library/pem.c |
Paul Bakker | 6083fd2 | 2011-12-03 21:45:14 +0000 | [diff] [blame] | 378 | * library/ctr_drbg.c |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 379 | * |
Paul Bakker | 645ce3a | 2012-10-31 12:32:41 +0000 | [diff] [blame] | 380 | * This module enables the following ciphersuites (if other requisites are |
| 381 | * enabled as well): |
| 382 | * TLS_RSA_WITH_AES_128_CBC_SHA |
| 383 | * TLS_RSA_WITH_AES_256_CBC_SHA |
| 384 | * TLS_DHE_RSA_WITH_AES_128_CBC_SHA |
| 385 | * TLS_DHE_RSA_WITH_AES_256_CBC_SHA |
| 386 | * TLS_RSA_WITH_AES_128_CBC_SHA256 |
| 387 | * TLS_RSA_WITH_AES_256_CBC_SHA256 |
| 388 | * TLS_DHE_RSA_WITH_AES_128_CBC_SHA256 |
| 389 | * TLS_DHE_RSA_WITH_AES_256_CBC_SHA256 |
| 390 | * TLS_RSA_WITH_AES_128_GCM_SHA256 |
| 391 | * TLS_RSA_WITH_AES_256_GCM_SHA384 |
Paul Bakker | 6deb37e | 2013-02-19 13:17:08 +0100 | [diff] [blame] | 392 | * |
| 393 | * PEM uses AES for decrypting encrypted keys. |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 394 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 395 | #define POLARSSL_AES_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 396 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 397 | /** |
| 398 | * \def POLARSSL_ARC4_C |
| 399 | * |
| 400 | * Enable the ARCFOUR stream cipher. |
| 401 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 402 | * Module: library/arc4.c |
| 403 | * Caller: library/ssl_tls.c |
| 404 | * |
| 405 | * This module enables the following ciphersuites: |
Paul Bakker | 645ce3a | 2012-10-31 12:32:41 +0000 | [diff] [blame] | 406 | * TLS_RSA_WITH_RC4_128_MD5 |
| 407 | * TLS_RSA_WITH_RC4_128_SHA |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 408 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 409 | #define POLARSSL_ARC4_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 410 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 411 | /** |
Paul Bakker | efc3029 | 2011-11-10 14:43:23 +0000 | [diff] [blame] | 412 | * \def POLARSSL_ASN1_PARSE_C |
| 413 | * |
| 414 | * Enable the generic ASN1 parser. |
| 415 | * |
| 416 | * Module: library/asn1.c |
| 417 | * Caller: library/x509parse.c |
| 418 | */ |
| 419 | #define POLARSSL_ASN1_PARSE_C |
| 420 | |
| 421 | /** |
Paul Bakker | bdb912d | 2012-02-13 23:11:30 +0000 | [diff] [blame] | 422 | * \def POLARSSL_ASN1_WRITE_C |
| 423 | * |
| 424 | * Enable the generic ASN1 writer. |
| 425 | * |
| 426 | * Module: library/asn1write.c |
| 427 | */ |
| 428 | #define POLARSSL_ASN1_WRITE_C |
| 429 | |
| 430 | /** |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 431 | * \def POLARSSL_BASE64_C |
| 432 | * |
| 433 | * Enable the Base64 module. |
| 434 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 435 | * Module: library/base64.c |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 436 | * Caller: library/pem.c |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 437 | * |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 438 | * This module is required for PEM support (required by X.509). |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 439 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 440 | #define POLARSSL_BASE64_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 441 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 442 | /** |
| 443 | * \def POLARSSL_BIGNUM_C |
| 444 | * |
Paul Bakker | 9a73632 | 2012-11-14 12:39:52 +0000 | [diff] [blame] | 445 | * Enable the multi-precision integer library. |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 446 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 447 | * Module: library/bignum.c |
| 448 | * Caller: library/dhm.c |
| 449 | * library/rsa.c |
| 450 | * library/ssl_tls.c |
| 451 | * library/x509parse.c |
| 452 | * |
| 453 | * This module is required for RSA and DHM support. |
| 454 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 455 | #define POLARSSL_BIGNUM_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 456 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 457 | /** |
Paul Bakker | a9379c0 | 2012-07-04 11:02:11 +0000 | [diff] [blame] | 458 | * \def POLARSSL_BLOWFISH_C |
| 459 | * |
| 460 | * Enable the Blowfish block cipher. |
| 461 | * |
| 462 | * Module: library/blowfish.c |
| 463 | */ |
| 464 | #define POLARSSL_BLOWFISH_C |
| 465 | |
| 466 | /** |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 467 | * \def POLARSSL_CAMELLIA_C |
| 468 | * |
| 469 | * Enable the Camellia block cipher. |
| 470 | * |
Paul Bakker | 38119b1 | 2009-01-10 23:31:23 +0000 | [diff] [blame] | 471 | * Module: library/camellia.c |
Paul Bakker | 13e2dfe | 2009-07-28 07:18:38 +0000 | [diff] [blame] | 472 | * Caller: library/ssl_tls.c |
Paul Bakker | 38119b1 | 2009-01-10 23:31:23 +0000 | [diff] [blame] | 473 | * |
Paul Bakker | 645ce3a | 2012-10-31 12:32:41 +0000 | [diff] [blame] | 474 | * This module enables the following ciphersuites (if other requisites are |
| 475 | * enabled as well): |
| 476 | * TLS_RSA_WITH_CAMELLIA_128_CBC_SHA |
| 477 | * TLS_RSA_WITH_CAMELLIA_256_CBC_SHA |
| 478 | * TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA |
| 479 | * TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA |
| 480 | * TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256 |
| 481 | * TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256 |
| 482 | * TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256 |
| 483 | * TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256 |
Paul Bakker | 38119b1 | 2009-01-10 23:31:23 +0000 | [diff] [blame] | 484 | */ |
| 485 | #define POLARSSL_CAMELLIA_C |
| 486 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 487 | /** |
| 488 | * \def POLARSSL_CERTS_C |
| 489 | * |
| 490 | * Enable the test certificates. |
| 491 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 492 | * Module: library/certs.c |
| 493 | * Caller: |
| 494 | * |
| 495 | * This module is used for testing (ssl_client/server). |
| 496 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 497 | #define POLARSSL_CERTS_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 498 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 499 | /** |
| 500 | * \def POLARSSL_CIPHER_C |
| 501 | * |
| 502 | * Enable the generic cipher layer. |
| 503 | * |
Paul Bakker | 8123e9d | 2011-01-06 15:37:30 +0000 | [diff] [blame] | 504 | * Module: library/cipher.c |
| 505 | * Caller: |
| 506 | * |
| 507 | * Uncomment to enable generic cipher wrappers. |
| 508 | */ |
| 509 | #define POLARSSL_CIPHER_C |
| 510 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 511 | /** |
Paul Bakker | 0e04d0e | 2011-11-27 14:46:59 +0000 | [diff] [blame] | 512 | * \def POLARSSL_CTR_DRBG_C |
| 513 | * |
| 514 | * Enable the CTR_DRBG AES-256-based random generator |
| 515 | * |
| 516 | * Module: library/ctr_drbg.c |
| 517 | * Caller: |
| 518 | * |
Paul Bakker | 6083fd2 | 2011-12-03 21:45:14 +0000 | [diff] [blame] | 519 | * Requires: POLARSSL_AES_C |
| 520 | * |
Paul Bakker | 0e04d0e | 2011-11-27 14:46:59 +0000 | [diff] [blame] | 521 | * This module provides the CTR_DRBG AES-256 random number generator. |
| 522 | */ |
| 523 | #define POLARSSL_CTR_DRBG_C |
| 524 | |
| 525 | /** |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 526 | * \def POLARSSL_DEBUG_C |
| 527 | * |
| 528 | * Enable the debug functions. |
| 529 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 530 | * Module: library/debug.c |
| 531 | * Caller: library/ssl_cli.c |
| 532 | * library/ssl_srv.c |
| 533 | * library/ssl_tls.c |
| 534 | * |
| 535 | * This module provides debugging functions. |
| 536 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 537 | #define POLARSSL_DEBUG_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 538 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 539 | /** |
| 540 | * \def POLARSSL_DES_C |
| 541 | * |
| 542 | * Enable the DES block cipher. |
| 543 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 544 | * Module: library/des.c |
Paul Bakker | 6deb37e | 2013-02-19 13:17:08 +0100 | [diff] [blame] | 545 | * Caller: library/pem.c |
| 546 | * library/ssl_tls.c |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 547 | * |
Paul Bakker | 645ce3a | 2012-10-31 12:32:41 +0000 | [diff] [blame] | 548 | * This module enables the following ciphersuites (if other requisites are |
| 549 | * enabled as well): |
| 550 | * TLS_RSA_WITH_3DES_EDE_CBC_SHA |
| 551 | * TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA |
Paul Bakker | 6deb37e | 2013-02-19 13:17:08 +0100 | [diff] [blame] | 552 | * |
| 553 | * PEM uses DES/3DES for decrypting encrypted keys. |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 554 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 555 | #define POLARSSL_DES_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 556 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 557 | /** |
| 558 | * \def POLARSSL_DHM_C |
| 559 | * |
| 560 | * Enable the Diffie-Hellman-Merkle key exchange. |
| 561 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 562 | * Module: library/dhm.c |
| 563 | * Caller: library/ssl_cli.c |
| 564 | * library/ssl_srv.c |
| 565 | * |
Paul Bakker | 645ce3a | 2012-10-31 12:32:41 +0000 | [diff] [blame] | 566 | * This module enables the following ciphersuites (if other requisites are |
| 567 | * enabled as well): |
| 568 | * TLS_DHE_RSA_WITH_DES_CBC_SHA |
| 569 | * TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA |
| 570 | * TLS_DHE_RSA_WITH_AES_128_CBC_SHA |
| 571 | * TLS_DHE_RSA_WITH_AES_256_CBC_SHA |
| 572 | * TLS_DHE_RSA_WITH_AES_128_CBC_SHA256 |
| 573 | * TLS_DHE_RSA_WITH_AES_256_CBC_SHA256 |
| 574 | * TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA |
| 575 | * TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA |
| 576 | * TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256 |
| 577 | * TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256 |
| 578 | * TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 |
| 579 | * TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 580 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 581 | #define POLARSSL_DHM_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 582 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 583 | /** |
Paul Bakker | 6083fd2 | 2011-12-03 21:45:14 +0000 | [diff] [blame] | 584 | * \def POLARSSL_ENTROPY_C |
| 585 | * |
| 586 | * Enable the platform-specific entropy code. |
| 587 | * |
| 588 | * Module: library/entropy.c |
| 589 | * Caller: |
| 590 | * |
| 591 | * Requires: POLARSSL_SHA4_C |
| 592 | * |
| 593 | * This module provides a generic entropy pool |
| 594 | */ |
| 595 | #define POLARSSL_ENTROPY_C |
| 596 | |
| 597 | /** |
Paul Bakker | 9d78140 | 2011-05-09 16:17:09 +0000 | [diff] [blame] | 598 | * \def POLARSSL_ERROR_C |
| 599 | * |
| 600 | * Enable error code to error string conversion. |
| 601 | * |
| 602 | * Module: library/error.c |
| 603 | * Caller: |
| 604 | * |
| 605 | * This module enables err_strerror(). |
| 606 | */ |
| 607 | #define POLARSSL_ERROR_C |
| 608 | |
| 609 | /** |
Paul Bakker | 89e80c9 | 2012-03-20 13:50:09 +0000 | [diff] [blame] | 610 | * \def POLARSSL_GCM_C |
| 611 | * |
| 612 | * Enable the Galois/Counter Mode (GCM) for AES |
| 613 | * |
| 614 | * Module: library/gcm.c |
| 615 | * |
| 616 | * Requires: POLARSSL_AES_C |
Paul Bakker | 645ce3a | 2012-10-31 12:32:41 +0000 | [diff] [blame] | 617 | * |
| 618 | * This module enables the following ciphersuites (if other requisites are |
| 619 | * enabled as well): |
| 620 | * TLS_RSA_WITH_AES_128_GCM_SHA256 |
| 621 | * TLS_RSA_WITH_AES_256_GCM_SHA384 |
Paul Bakker | 89e80c9 | 2012-03-20 13:50:09 +0000 | [diff] [blame] | 622 | */ |
| 623 | #define POLARSSL_GCM_C |
| 624 | |
| 625 | /** |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 626 | * \def POLARSSL_HAVEGE_C |
| 627 | * |
| 628 | * Enable the HAVEGE random generator. |
| 629 | * |
Paul Bakker | 08f06cf | 2013-06-06 14:05:26 +0200 | [diff] [blame] | 630 | * Warning: the HAVEGE random generator is not suitable for virtualized |
| 631 | * environments |
| 632 | * |
| 633 | * Warning: the HAVEGE random generator is dependent on timing and specific |
| 634 | * processor traits. It is therefore not advised to use HAVEGE as |
| 635 | * your applications primary random generator or primary entropy pool |
| 636 | * input. As a secondary input to your entropy pool, it IS able add |
| 637 | * the (limited) extra entropy it provides. |
| 638 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 639 | * Module: library/havege.c |
| 640 | * Caller: |
| 641 | * |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 642 | * Requires: POLARSSL_TIMING_C |
| 643 | * |
Paul Bakker | 08f06cf | 2013-06-06 14:05:26 +0200 | [diff] [blame] | 644 | * Uncomment to enable the HAVEGE random generator. |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 645 | #define POLARSSL_HAVEGE_C |
Paul Bakker | 08f06cf | 2013-06-06 14:05:26 +0200 | [diff] [blame] | 646 | */ |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 647 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 648 | /** |
| 649 | * \def POLARSSL_MD_C |
| 650 | * |
| 651 | * Enable the generic message digest layer. |
| 652 | * |
Paul Bakker | 1737385 | 2011-01-06 14:20:01 +0000 | [diff] [blame] | 653 | * Module: library/md.c |
| 654 | * Caller: |
| 655 | * |
| 656 | * Uncomment to enable generic message digest wrappers. |
| 657 | */ |
| 658 | #define POLARSSL_MD_C |
| 659 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 660 | /** |
| 661 | * \def POLARSSL_MD2_C |
| 662 | * |
| 663 | * Enable the MD2 hash algorithm |
| 664 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 665 | * Module: library/md2.c |
| 666 | * Caller: library/x509parse.c |
| 667 | * |
| 668 | * Uncomment to enable support for (rare) MD2-signed X.509 certs. |
| 669 | * |
Paul Bakker | 13e2dfe | 2009-07-28 07:18:38 +0000 | [diff] [blame] | 670 | #define POLARSSL_MD2_C |
Paul Bakker | 6506aff | 2009-07-28 20:52:02 +0000 | [diff] [blame] | 671 | */ |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 672 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 673 | /** |
| 674 | * \def POLARSSL_MD4_C |
| 675 | * |
| 676 | * Enable the MD4 hash algorithm |
| 677 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 678 | * Module: library/md4.c |
| 679 | * Caller: library/x509parse.c |
| 680 | * |
| 681 | * Uncomment to enable support for (rare) MD4-signed X.509 certs. |
| 682 | * |
Paul Bakker | 13e2dfe | 2009-07-28 07:18:38 +0000 | [diff] [blame] | 683 | #define POLARSSL_MD4_C |
Paul Bakker | 6506aff | 2009-07-28 20:52:02 +0000 | [diff] [blame] | 684 | */ |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 685 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 686 | /** |
| 687 | * \def POLARSSL_MD5_C |
| 688 | * |
| 689 | * Enable the MD5 hash algorithm |
| 690 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 691 | * Module: library/md5.c |
Paul Bakker | 6deb37e | 2013-02-19 13:17:08 +0100 | [diff] [blame] | 692 | * Caller: library/pem.c |
| 693 | * library/ssl_tls.c |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 694 | * library/x509parse.c |
| 695 | * |
| 696 | * This module is required for SSL/TLS and X.509. |
Paul Bakker | 6deb37e | 2013-02-19 13:17:08 +0100 | [diff] [blame] | 697 | * PEM uses MD5 for decrypting encrypted keys. |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 698 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 699 | #define POLARSSL_MD5_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 700 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 701 | /** |
| 702 | * \def POLARSSL_NET_C |
| 703 | * |
| 704 | * Enable the TCP/IP networking routines. |
| 705 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 706 | * Module: library/net.c |
| 707 | * Caller: |
| 708 | * |
| 709 | * This module provides TCP/IP networking routines. |
| 710 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 711 | #define POLARSSL_NET_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 712 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 713 | /** |
| 714 | * \def POLARSSL_PADLOCK_C |
| 715 | * |
| 716 | * Enable VIA Padlock support on x86. |
| 717 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 718 | * Module: library/padlock.c |
| 719 | * Caller: library/aes.c |
| 720 | * |
| 721 | * This modules adds support for the VIA PadLock on x86. |
| 722 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 723 | #define POLARSSL_PADLOCK_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 724 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 725 | /** |
Paul Bakker | f518b16 | 2012-08-23 13:03:18 +0000 | [diff] [blame] | 726 | * \def POLARSSL_PBKDF2_C |
| 727 | * |
| 728 | * Enable PKCS#5 PBKDF2 key derivation function |
Paul Bakker | 19bd297 | 2013-06-14 12:06:45 +0200 | [diff] [blame] | 729 | * DEPRECATED: Use POLARSSL_PKCS5_C instead |
Paul Bakker | f518b16 | 2012-08-23 13:03:18 +0000 | [diff] [blame] | 730 | * |
| 731 | * Module: library/pbkdf2.c |
| 732 | * |
Paul Bakker | 19bd297 | 2013-06-14 12:06:45 +0200 | [diff] [blame] | 733 | * Requires: POLARSSL_PKCS5_C |
Paul Bakker | f518b16 | 2012-08-23 13:03:18 +0000 | [diff] [blame] | 734 | * |
| 735 | * This module adds support for the PKCS#5 PBKDF2 key derivation function. |
| 736 | #define POLARSSL_PBKDF2_C |
| 737 | */ |
| 738 | |
| 739 | /** |
Paul Bakker | 96743fc | 2011-02-12 14:30:57 +0000 | [diff] [blame] | 740 | * \def POLARSSL_PEM_C |
| 741 | * |
| 742 | * Enable PEM decoding |
| 743 | * |
| 744 | * Module: library/pem.c |
| 745 | * Caller: library/x509parse.c |
| 746 | * |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 747 | * Requires: POLARSSL_BASE64_C |
| 748 | * |
Paul Bakker | 96743fc | 2011-02-12 14:30:57 +0000 | [diff] [blame] | 749 | * This modules adds support for decoding PEM files. |
| 750 | */ |
| 751 | #define POLARSSL_PEM_C |
| 752 | |
| 753 | /** |
Paul Bakker | 19bd297 | 2013-06-14 12:06:45 +0200 | [diff] [blame] | 754 | * \def POLARSSL_PKCS5_C |
| 755 | * |
| 756 | * Enable PKCS#5 functions |
| 757 | * |
| 758 | * Module: library/pkcs5.c |
| 759 | * |
| 760 | * Requires: POLARSSL_MD_C |
| 761 | * |
| 762 | * This module adds support for the PKCS#5 functions. |
| 763 | */ |
| 764 | #define POLARSSL_PKCS5_C |
| 765 | |
| 766 | /** |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 767 | * \def POLARSSL_PKCS11_C |
| 768 | * |
Paul Bakker | eb2c658 | 2012-09-27 19:15:01 +0000 | [diff] [blame] | 769 | * Enable wrapper for PKCS#11 smartcard support. |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 770 | * |
| 771 | * Module: library/ssl_srv.c |
| 772 | * Caller: library/ssl_cli.c |
| 773 | * library/ssl_srv.c |
| 774 | * |
| 775 | * Requires: POLARSSL_SSL_TLS_C |
| 776 | * |
Paul Bakker | eb2c658 | 2012-09-27 19:15:01 +0000 | [diff] [blame] | 777 | * This module enables SSL/TLS PKCS #11 smartcard support. |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 778 | * Requires the presence of the PKCS#11 helper library (libpkcs11-helper) |
| 779 | #define POLARSSL_PKCS11_C |
| 780 | */ |
| 781 | |
| 782 | /** |
Paul Bakker | cf6e95d | 2013-06-12 13:18:15 +0200 | [diff] [blame] | 783 | * \def POLARSSL_PKCS12_C |
| 784 | * |
| 785 | * Enable PKCS#12 PBE functions |
| 786 | * Adds algorithms for parsing PKCS#8 encrypted private keys |
| 787 | * |
| 788 | * Module: library/pkcs12.c |
| 789 | * Caller: library/x509parse.c |
| 790 | * |
Paul Bakker | 602c31b | 2013-06-18 16:49:18 +0200 | [diff] [blame] | 791 | * Requires: POLARSSL_ASN1_PARSE_C, POLARSSL_CIPHER_C, POLARSSL_MD_C |
| 792 | * Can use: POLARSSL_ARC4_C |
Paul Bakker | cf6e95d | 2013-06-12 13:18:15 +0200 | [diff] [blame] | 793 | * |
| 794 | * This module enables PKCS#12 functions. |
| 795 | */ |
| 796 | #define POLARSSL_PKCS12_C |
| 797 | |
| 798 | /** |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 799 | * \def POLARSSL_RSA_C |
| 800 | * |
| 801 | * Enable the RSA public-key cryptosystem. |
| 802 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 803 | * Module: library/rsa.c |
| 804 | * Caller: library/ssl_cli.c |
| 805 | * library/ssl_srv.c |
| 806 | * library/ssl_tls.c |
| 807 | * library/x509.c |
| 808 | * |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 809 | * Requires: POLARSSL_BIGNUM_C |
| 810 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 811 | * This module is required for SSL/TLS and MD5-signed certificates. |
| 812 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 813 | #define POLARSSL_RSA_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 814 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 815 | /** |
| 816 | * \def POLARSSL_SHA1_C |
| 817 | * |
| 818 | * Enable the SHA1 cryptographic hash algorithm. |
| 819 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 820 | * Module: library/sha1.c |
| 821 | * Caller: library/ssl_cli.c |
| 822 | * library/ssl_srv.c |
| 823 | * library/ssl_tls.c |
| 824 | * library/x509parse.c |
| 825 | * |
| 826 | * This module is required for SSL/TLS and SHA1-signed certificates. |
| 827 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 828 | #define POLARSSL_SHA1_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 829 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 830 | /** |
| 831 | * \def POLARSSL_SHA2_C |
| 832 | * |
| 833 | * Enable the SHA-224 and SHA-256 cryptographic hash algorithms. |
| 834 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 835 | * Module: library/sha2.c |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 836 | * Caller: library/md_wrap.c |
| 837 | * library/x509parse.c |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 838 | * |
| 839 | * This module adds support for SHA-224 and SHA-256. |
Paul Bakker | 769075d | 2012-11-24 11:26:46 +0100 | [diff] [blame] | 840 | * This module is required for the SSL/TLS 1.2 PRF function. |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 841 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 842 | #define POLARSSL_SHA2_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 843 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 844 | /** |
| 845 | * \def POLARSSL_SHA4_C |
| 846 | * |
| 847 | * Enable the SHA-384 and SHA-512 cryptographic hash algorithms. |
| 848 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 849 | * Module: library/sha4.c |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 850 | * Caller: library/md_wrap.c |
| 851 | * library/x509parse.c |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 852 | * |
| 853 | * This module adds support for SHA-384 and SHA-512. |
| 854 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 855 | #define POLARSSL_SHA4_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 856 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 857 | /** |
Paul Bakker | 0a59707 | 2012-09-25 21:55:46 +0000 | [diff] [blame] | 858 | * \def POLARSSL_SSL_CACHE_C |
| 859 | * |
| 860 | * Enable simple SSL cache implementation. |
| 861 | * |
| 862 | * Module: library/ssl_cache.c |
| 863 | * Caller: |
| 864 | * |
| 865 | * Requires: POLARSSL_SSL_CACHE_C |
| 866 | */ |
| 867 | #define POLARSSL_SSL_CACHE_C |
| 868 | |
| 869 | /** |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 870 | * \def POLARSSL_SSL_CLI_C |
| 871 | * |
| 872 | * Enable the SSL/TLS client code. |
| 873 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 874 | * Module: library/ssl_cli.c |
| 875 | * Caller: |
| 876 | * |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 877 | * Requires: POLARSSL_SSL_TLS_C |
| 878 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 879 | * This module is required for SSL/TLS client support. |
| 880 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 881 | #define POLARSSL_SSL_CLI_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 882 | |
Paul Bakker | 9a73632 | 2012-11-14 12:39:52 +0000 | [diff] [blame] | 883 | /** |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 884 | * \def POLARSSL_SSL_SRV_C |
| 885 | * |
| 886 | * Enable the SSL/TLS server code. |
| 887 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 888 | * Module: library/ssl_srv.c |
| 889 | * Caller: |
| 890 | * |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 891 | * Requires: POLARSSL_SSL_TLS_C |
| 892 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 893 | * This module is required for SSL/TLS server support. |
| 894 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 895 | #define POLARSSL_SSL_SRV_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 896 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 897 | /** |
| 898 | * \def POLARSSL_SSL_TLS_C |
| 899 | * |
Paul Bakker | e29ab06 | 2011-05-18 13:26:54 +0000 | [diff] [blame] | 900 | * Enable the generic SSL/TLS code. |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 901 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 902 | * Module: library/ssl_tls.c |
| 903 | * Caller: library/ssl_cli.c |
| 904 | * library/ssl_srv.c |
| 905 | * |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 906 | * Requires: POLARSSL_MD5_C, POLARSSL_SHA1_C, POLARSSL_X509_PARSE_C |
| 907 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 908 | * This module is required for SSL/TLS. |
| 909 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 910 | #define POLARSSL_SSL_TLS_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 911 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 912 | /** |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 913 | * \def POLARSSL_TIMING_C |
| 914 | * |
| 915 | * Enable the portable timing interface. |
| 916 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 917 | * Module: library/timing.c |
| 918 | * Caller: library/havege.c |
| 919 | * |
| 920 | * This module is used by the HAVEGE random number generator. |
| 921 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 922 | #define POLARSSL_TIMING_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 923 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 924 | /** |
| 925 | * \def POLARSSL_VERSION_C |
| 926 | * |
| 927 | * Enable run-time version information. |
| 928 | * |
Paul Bakker | 0a62cd1 | 2011-01-21 11:00:08 +0000 | [diff] [blame] | 929 | * Module: library/version.c |
| 930 | * |
| 931 | * This module provides run-time version information. |
| 932 | */ |
| 933 | #define POLARSSL_VERSION_C |
| 934 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 935 | /** |
| 936 | * \def POLARSSL_X509_PARSE_C |
| 937 | * |
| 938 | * Enable X.509 certificate parsing. |
| 939 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 940 | * Module: library/x509parse.c |
| 941 | * Caller: library/ssl_cli.c |
| 942 | * library/ssl_srv.c |
| 943 | * library/ssl_tls.c |
| 944 | * |
Paul Bakker | efc3029 | 2011-11-10 14:43:23 +0000 | [diff] [blame] | 945 | * Requires: POLARSSL_ASN1_PARSE_C, POLARSSL_BIGNUM_C, POLARSSL_RSA_C |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 946 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 947 | * This module is required for X.509 certificate parsing. |
| 948 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 949 | #define POLARSSL_X509_PARSE_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 950 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 951 | /** |
Paul Bakker | bdb912d | 2012-02-13 23:11:30 +0000 | [diff] [blame] | 952 | * \def POLARSSL_X509_WRITE_C |
| 953 | * |
| 954 | * Enable X.509 buffer writing. |
| 955 | * |
| 956 | * Module: library/x509write.c |
| 957 | * |
| 958 | * Requires: POLARSSL_BIGNUM_C, POLARSSL_RSA_C |
| 959 | * |
| 960 | * This module is required for X.509 certificate request writing. |
| 961 | */ |
| 962 | #define POLARSSL_X509_WRITE_C |
| 963 | |
| 964 | /** |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 965 | * \def POLARSSL_XTEA_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 966 | * |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 967 | * Enable the XTEA block cipher. |
| 968 | * |
Paul Bakker | 7a7c78f | 2009-01-04 18:15:48 +0000 | [diff] [blame] | 969 | * Module: library/xtea.c |
| 970 | * Caller: |
| 971 | */ |
| 972 | #define POLARSSL_XTEA_C |
Paul Bakker | 0a62cd1 | 2011-01-21 11:00:08 +0000 | [diff] [blame] | 973 | /* \} name */ |
Paul Bakker | 7a7c78f | 2009-01-04 18:15:48 +0000 | [diff] [blame] | 974 | |
Paul Bakker | 6fa5488 | 2013-06-17 15:44:03 +0200 | [diff] [blame] | 975 | /** |
| 976 | * \name SECTION: Module configuration options |
| 977 | * |
| 978 | * This section allows for the setting of module specific sizes and |
| 979 | * configuration options. The default values are already present in the |
| 980 | * relevant header files and should suffice for the regular use cases. |
| 981 | * Our advice is to enable POLARSSL_CONFIG_OPTIONS and change values here |
| 982 | * only if you have a good reason and know the consequences. |
| 983 | * |
| 984 | * If POLARSSL_CONFIG_OPTIONS is undefined here the options in the module |
| 985 | * header file take precedence. |
| 986 | * |
| 987 | * Please check the respective header file for documentation on these |
| 988 | * parameters (to prevent duplicate documentation). |
| 989 | * |
| 990 | * Uncomment POLARSSL_CONFIG_OPTIONS to enable using the values defined here. |
| 991 | * \{ |
| 992 | */ |
| 993 | //#define POLARSSL_CONFIG_OPTIONS /**< Enable config.h module value configuration */ |
| 994 | |
| 995 | #if defined(POLARSSL_CONFIG_OPTIONS) |
| 996 | |
| 997 | // MPI / BIGNUM options |
| 998 | // |
| 999 | #define POLARSSL_MPI_WINDOW_SIZE 6 /**< Maximum windows size used. */ |
| 1000 | #define POLARSSL_MPI_MAX_SIZE 512 /**< Maximum number of bytes for usable MPIs. */ |
| 1001 | |
| 1002 | // CTR_DRBG options |
| 1003 | // |
| 1004 | #define CTR_DRBG_ENTROPY_LEN 48 /**< Amount of entropy used per seed by default */ |
| 1005 | #define CTR_DRBG_RESEED_INTERVAL 10000 /**< Interval before reseed is performed by default */ |
| 1006 | #define CTR_DRBG_MAX_INPUT 256 /**< Maximum number of additional input bytes */ |
| 1007 | #define CTR_DRBG_MAX_REQUEST 1024 /**< Maximum number of requested bytes per call */ |
| 1008 | #define CTR_DRBG_MAX_SEED_INPUT 384 /**< Maximum size of (re)seed buffer */ |
| 1009 | |
| 1010 | // Entropy options |
| 1011 | // |
| 1012 | #define ENTROPY_MAX_SOURCES 20 /**< Maximum number of sources supported */ |
| 1013 | #define ENTROPY_MAX_GATHER 128 /**< Maximum amount requested from entropy sources */ |
| 1014 | |
| 1015 | // SSL Cache options |
| 1016 | // |
| 1017 | #define SSL_CACHE_DEFAULT_TIMEOUT 86400 /**< 1 day */ |
| 1018 | #define SSL_CACHE_DEFAULT_MAX_ENTRIES 50 /**< Maximum entries in cache */ |
| 1019 | |
| 1020 | // SSL options |
| 1021 | // |
| 1022 | #define SSL_MAX_CONTENT_LEN 16384 /**< Size of the input / output buffer */ |
| 1023 | |
Manuel Pégourié-Gonnard | 4cdb3ba | 2014-11-20 17:12:15 +0100 | [diff] [blame^] | 1024 | // X509 options |
| 1025 | // |
| 1026 | #define POLARSSL_X509_MAX_INTERMEDIATE_CA 8 /**< Maximum number of intermediate CAs in a verification chain. */ |
| 1027 | |
Paul Bakker | 6fa5488 | 2013-06-17 15:44:03 +0200 | [diff] [blame] | 1028 | #endif /* POLARSSL_CONFIG_OPTIONS */ |
| 1029 | |
| 1030 | /* \} name */ |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 1031 | #endif /* config.h */ |