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 | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 133 | * \def POLARSSL_DEBUG_MSG |
| 134 | * |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 135 | * Requires: POLARSSL_DEBUG_C |
| 136 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 137 | * Enable all SSL/TLS debugging messages. |
| 138 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 139 | #define POLARSSL_DEBUG_MSG |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 140 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 141 | /** |
Paul Bakker | 15566e4 | 2011-04-24 21:19:15 +0000 | [diff] [blame] | 142 | * \def POLARSSL_GENPRIME |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 143 | * |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 144 | * Requires: POLARSSL_BIGNUM_C, POLARSSL_RSA_C |
| 145 | * |
Paul Bakker | 15566e4 | 2011-04-24 21:19:15 +0000 | [diff] [blame] | 146 | * Enable the RSA prime-number generation code. |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 147 | */ |
Paul Bakker | 15566e4 | 2011-04-24 21:19:15 +0000 | [diff] [blame] | 148 | #define POLARSSL_GENPRIME |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 149 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 150 | /** |
Paul Bakker | 335db3f | 2011-04-25 15:28:35 +0000 | [diff] [blame] | 151 | * \def POLARSSL_FS_IO |
| 152 | * |
| 153 | * Enable functions that use the filesystem. |
| 154 | */ |
| 155 | #define POLARSSL_FS_IO |
| 156 | |
| 157 | /** |
Paul Bakker | 43655f4 | 2011-12-15 20:11:16 +0000 | [diff] [blame^] | 158 | * \def POLARSSL_NO_DEFAULT_ENTROPY_SOURCES |
| 159 | * |
| 160 | * Do not add default entropy sources. These are the platform specific, |
| 161 | * hardclock and HAVEGE based poll functions. |
| 162 | * |
| 163 | * This is useful to have more control over the added entropy sources in an |
| 164 | * application. |
| 165 | * |
| 166 | * Uncomment this macro to prevent loading of default entropy functions. |
| 167 | #define POLARSSL_NO_DEFAULT_ENTROPY_SOURCES |
| 168 | */ |
| 169 | |
| 170 | /** |
Paul Bakker | 6083fd2 | 2011-12-03 21:45:14 +0000 | [diff] [blame] | 171 | * \def POLARSSL_NO_PLATFORM_ENTROPY |
| 172 | * |
| 173 | * Do not use built-in platform entropy functions. |
| 174 | * This is useful if your platform does not support |
| 175 | * standards like the /dev/urandom or Windows CryptoAPI. |
| 176 | * |
| 177 | * Uncomment this macro to disable the built-in platform entropy functions. |
| 178 | #define POLARSSL_NO_PLATFORM_ENTROPY |
| 179 | */ |
| 180 | |
| 181 | /** |
Paul Bakker | 9dcc322 | 2011-03-08 14:16:06 +0000 | [diff] [blame] | 182 | * \def POLARSSL_PKCS1_V21 |
| 183 | * |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 184 | * Requires: POLARSSL_MD_C, POLARSSL_RSA_C |
| 185 | * |
Paul Bakker | 9dcc322 | 2011-03-08 14:16:06 +0000 | [diff] [blame] | 186 | * Enable support for PKCS#1 v2.1 encoding. |
| 187 | * This enables support for RSAES-OAEP and RSASSA-PSS operations. |
| 188 | */ |
| 189 | #define POLARSSL_PKCS1_V21 |
| 190 | |
| 191 | /** |
Paul Bakker | 0216cc1 | 2011-03-26 13:40:23 +0000 | [diff] [blame] | 192 | * \def POLARSSL_RSA_NO_CRT |
| 193 | * |
| 194 | * Do not use the Chinese Remainder Theorem for the RSA private operation. |
| 195 | * |
| 196 | * Uncomment this macro to disable the use of CRT in RSA. |
| 197 | * |
| 198 | #define POLARSSL_RSA_NO_CRT |
| 199 | */ |
Paul Bakker | 15566e4 | 2011-04-24 21:19:15 +0000 | [diff] [blame] | 200 | |
| 201 | /** |
| 202 | * \def POLARSSL_SELF_TEST |
| 203 | * |
| 204 | * Enable the checkup functions (*_self_test). |
| 205 | */ |
| 206 | #define POLARSSL_SELF_TEST |
Paul Bakker | 5c721f9 | 2011-07-27 16:51:09 +0000 | [diff] [blame] | 207 | |
| 208 | /** |
| 209 | * \def POLARSSL_X509_ALLOW_UNSUPPORTED_CRITICAL_EXTENSION |
| 210 | * |
| 211 | * If set, the X509 parser will not break-off when parsing an X509 certificate |
| 212 | * and encountering an unknown critical extension. |
| 213 | * |
| 214 | * Uncomment to prevent an error. |
| 215 | * |
| 216 | #define POLARSSL_X509_ALLOW_UNSUPPORTED_CRITICAL_EXTENSION |
| 217 | */ |
Paul Bakker | 0a62cd1 | 2011-01-21 11:00:08 +0000 | [diff] [blame] | 218 | /* \} name */ |
| 219 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 220 | /** |
Paul Bakker | 0a62cd1 | 2011-01-21 11:00:08 +0000 | [diff] [blame] | 221 | * \name SECTION: PolarSSL modules |
| 222 | * |
| 223 | * This section enables or disables entire modules in PolarSSL |
| 224 | * \{ |
| 225 | */ |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 226 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 227 | /** |
| 228 | * \def POLARSSL_AES_C |
| 229 | * |
| 230 | * Enable the AES block cipher. |
| 231 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 232 | * Module: library/aes.c |
| 233 | * Caller: library/ssl_tls.c |
Paul Bakker | 96743fc | 2011-02-12 14:30:57 +0000 | [diff] [blame] | 234 | * library/pem.c |
Paul Bakker | 6083fd2 | 2011-12-03 21:45:14 +0000 | [diff] [blame] | 235 | * library/ctr_drbg.c |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 236 | * |
| 237 | * This module enables the following ciphersuites: |
| 238 | * SSL_RSA_AES_128_SHA |
| 239 | * SSL_RSA_AES_256_SHA |
| 240 | * SSL_EDH_RSA_AES_256_SHA |
| 241 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 242 | #define POLARSSL_AES_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 243 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 244 | /** |
| 245 | * \def POLARSSL_ARC4_C |
| 246 | * |
| 247 | * Enable the ARCFOUR stream cipher. |
| 248 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 249 | * Module: library/arc4.c |
| 250 | * Caller: library/ssl_tls.c |
| 251 | * |
| 252 | * This module enables the following ciphersuites: |
| 253 | * SSL_RSA_RC4_128_MD5 |
| 254 | * SSL_RSA_RC4_128_SHA |
| 255 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 256 | #define POLARSSL_ARC4_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 257 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 258 | /** |
Paul Bakker | efc3029 | 2011-11-10 14:43:23 +0000 | [diff] [blame] | 259 | * \def POLARSSL_ASN1_PARSE_C |
| 260 | * |
| 261 | * Enable the generic ASN1 parser. |
| 262 | * |
| 263 | * Module: library/asn1.c |
| 264 | * Caller: library/x509parse.c |
| 265 | */ |
| 266 | #define POLARSSL_ASN1_PARSE_C |
| 267 | |
| 268 | /** |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 269 | * \def POLARSSL_BASE64_C |
| 270 | * |
| 271 | * Enable the Base64 module. |
| 272 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 273 | * Module: library/base64.c |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 274 | * Caller: library/pem.c |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 275 | * |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 276 | * This module is required for PEM support (required by X.509). |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 277 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 278 | #define POLARSSL_BASE64_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 279 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 280 | /** |
| 281 | * \def POLARSSL_BIGNUM_C |
| 282 | * |
| 283 | * Enable the multo-precision integer library. |
| 284 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 285 | * Module: library/bignum.c |
| 286 | * Caller: library/dhm.c |
| 287 | * library/rsa.c |
| 288 | * library/ssl_tls.c |
| 289 | * library/x509parse.c |
| 290 | * |
| 291 | * This module is required for RSA and DHM support. |
| 292 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 293 | #define POLARSSL_BIGNUM_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 294 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 295 | /** |
| 296 | * \def POLARSSL_CAMELLIA_C |
| 297 | * |
| 298 | * Enable the Camellia block cipher. |
| 299 | * |
Paul Bakker | 38119b1 | 2009-01-10 23:31:23 +0000 | [diff] [blame] | 300 | * Module: library/camellia.c |
Paul Bakker | 13e2dfe | 2009-07-28 07:18:38 +0000 | [diff] [blame] | 301 | * Caller: library/ssl_tls.c |
Paul Bakker | 38119b1 | 2009-01-10 23:31:23 +0000 | [diff] [blame] | 302 | * |
| 303 | * This module enabled the following cipher suites: |
Paul Bakker | 13e2dfe | 2009-07-28 07:18:38 +0000 | [diff] [blame] | 304 | * SSL_RSA_CAMELLIA_128_SHA |
| 305 | * SSL_RSA_CAMELLIA_256_SHA |
| 306 | * SSL_EDH_RSA_CAMELLIA_256_SHA |
Paul Bakker | 38119b1 | 2009-01-10 23:31:23 +0000 | [diff] [blame] | 307 | */ |
| 308 | #define POLARSSL_CAMELLIA_C |
| 309 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 310 | /** |
| 311 | * \def POLARSSL_CERTS_C |
| 312 | * |
| 313 | * Enable the test certificates. |
| 314 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 315 | * Module: library/certs.c |
| 316 | * Caller: |
| 317 | * |
| 318 | * This module is used for testing (ssl_client/server). |
| 319 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 320 | #define POLARSSL_CERTS_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 321 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 322 | /** |
| 323 | * \def POLARSSL_CIPHER_C |
| 324 | * |
| 325 | * Enable the generic cipher layer. |
| 326 | * |
Paul Bakker | 8123e9d | 2011-01-06 15:37:30 +0000 | [diff] [blame] | 327 | * Module: library/cipher.c |
| 328 | * Caller: |
| 329 | * |
| 330 | * Uncomment to enable generic cipher wrappers. |
| 331 | */ |
| 332 | #define POLARSSL_CIPHER_C |
| 333 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 334 | /** |
Paul Bakker | 0e04d0e | 2011-11-27 14:46:59 +0000 | [diff] [blame] | 335 | * \def POLARSSL_CTR_DRBG_C |
| 336 | * |
| 337 | * Enable the CTR_DRBG AES-256-based random generator |
| 338 | * |
| 339 | * Module: library/ctr_drbg.c |
| 340 | * Caller: |
| 341 | * |
Paul Bakker | 6083fd2 | 2011-12-03 21:45:14 +0000 | [diff] [blame] | 342 | * Requires: POLARSSL_AES_C |
| 343 | * |
Paul Bakker | 0e04d0e | 2011-11-27 14:46:59 +0000 | [diff] [blame] | 344 | * This module provides the CTR_DRBG AES-256 random number generator. |
| 345 | */ |
| 346 | #define POLARSSL_CTR_DRBG_C |
| 347 | |
| 348 | /** |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 349 | * \def POLARSSL_DEBUG_C |
| 350 | * |
| 351 | * Enable the debug functions. |
| 352 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 353 | * Module: library/debug.c |
| 354 | * Caller: library/ssl_cli.c |
| 355 | * library/ssl_srv.c |
| 356 | * library/ssl_tls.c |
| 357 | * |
| 358 | * This module provides debugging functions. |
| 359 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 360 | #define POLARSSL_DEBUG_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 361 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 362 | /** |
| 363 | * \def POLARSSL_DES_C |
| 364 | * |
| 365 | * Enable the DES block cipher. |
| 366 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 367 | * Module: library/des.c |
| 368 | * Caller: library/ssl_tls.c |
| 369 | * |
| 370 | * This module enables the following ciphersuites: |
| 371 | * SSL_RSA_DES_168_SHA |
| 372 | * SSL_EDH_RSA_DES_168_SHA |
| 373 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 374 | #define POLARSSL_DES_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 375 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 376 | /** |
| 377 | * \def POLARSSL_DHM_C |
| 378 | * |
| 379 | * Enable the Diffie-Hellman-Merkle key exchange. |
| 380 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 381 | * Module: library/dhm.c |
| 382 | * Caller: library/ssl_cli.c |
| 383 | * library/ssl_srv.c |
| 384 | * |
| 385 | * This module enables the following ciphersuites: |
| 386 | * SSL_EDH_RSA_DES_168_SHA |
| 387 | * SSL_EDH_RSA_AES_256_SHA |
Paul Bakker | 13e2dfe | 2009-07-28 07:18:38 +0000 | [diff] [blame] | 388 | * SSL_EDH_RSA_CAMELLIA_256_SHA |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 389 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 390 | #define POLARSSL_DHM_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 391 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 392 | /** |
Paul Bakker | 6083fd2 | 2011-12-03 21:45:14 +0000 | [diff] [blame] | 393 | * \def POLARSSL_ENTROPY_C |
| 394 | * |
| 395 | * Enable the platform-specific entropy code. |
| 396 | * |
| 397 | * Module: library/entropy.c |
| 398 | * Caller: |
| 399 | * |
| 400 | * Requires: POLARSSL_SHA4_C |
| 401 | * |
| 402 | * This module provides a generic entropy pool |
| 403 | */ |
| 404 | #define POLARSSL_ENTROPY_C |
| 405 | |
| 406 | /** |
Paul Bakker | 9d78140 | 2011-05-09 16:17:09 +0000 | [diff] [blame] | 407 | * \def POLARSSL_ERROR_C |
| 408 | * |
| 409 | * Enable error code to error string conversion. |
| 410 | * |
| 411 | * Module: library/error.c |
| 412 | * Caller: |
| 413 | * |
| 414 | * This module enables err_strerror(). |
| 415 | */ |
| 416 | #define POLARSSL_ERROR_C |
| 417 | |
| 418 | /** |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 419 | * \def POLARSSL_HAVEGE_C |
| 420 | * |
| 421 | * Enable the HAVEGE random generator. |
| 422 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 423 | * Module: library/havege.c |
| 424 | * Caller: |
| 425 | * |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 426 | * Requires: POLARSSL_TIMING_C |
| 427 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 428 | * This module enables the HAVEGE random number generator. |
| 429 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 430 | #define POLARSSL_HAVEGE_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 431 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 432 | /** |
| 433 | * \def POLARSSL_MD_C |
| 434 | * |
| 435 | * Enable the generic message digest layer. |
| 436 | * |
Paul Bakker | 1737385 | 2011-01-06 14:20:01 +0000 | [diff] [blame] | 437 | * Module: library/md.c |
| 438 | * Caller: |
| 439 | * |
| 440 | * Uncomment to enable generic message digest wrappers. |
| 441 | */ |
| 442 | #define POLARSSL_MD_C |
| 443 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 444 | /** |
| 445 | * \def POLARSSL_MD2_C |
| 446 | * |
| 447 | * Enable the MD2 hash algorithm |
| 448 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 449 | * Module: library/md2.c |
| 450 | * Caller: library/x509parse.c |
| 451 | * |
| 452 | * Uncomment to enable support for (rare) MD2-signed X.509 certs. |
| 453 | * |
Paul Bakker | 13e2dfe | 2009-07-28 07:18:38 +0000 | [diff] [blame] | 454 | #define POLARSSL_MD2_C |
Paul Bakker | 6506aff | 2009-07-28 20:52:02 +0000 | [diff] [blame] | 455 | */ |
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 | /** |
| 458 | * \def POLARSSL_MD4_C |
| 459 | * |
| 460 | * Enable the MD4 hash algorithm |
| 461 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 462 | * Module: library/md4.c |
| 463 | * Caller: library/x509parse.c |
| 464 | * |
| 465 | * Uncomment to enable support for (rare) MD4-signed X.509 certs. |
| 466 | * |
Paul Bakker | 13e2dfe | 2009-07-28 07:18:38 +0000 | [diff] [blame] | 467 | #define POLARSSL_MD4_C |
Paul Bakker | 6506aff | 2009-07-28 20:52:02 +0000 | [diff] [blame] | 468 | */ |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 469 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 470 | /** |
| 471 | * \def POLARSSL_MD5_C |
| 472 | * |
| 473 | * Enable the MD5 hash algorithm |
| 474 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 475 | * Module: library/md5.c |
| 476 | * Caller: library/ssl_tls.c |
| 477 | * library/x509parse.c |
| 478 | * |
| 479 | * This module is required for SSL/TLS and X.509. |
| 480 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 481 | #define POLARSSL_MD5_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 482 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 483 | /** |
| 484 | * \def POLARSSL_NET_C |
| 485 | * |
| 486 | * Enable the TCP/IP networking routines. |
| 487 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 488 | * Module: library/net.c |
| 489 | * Caller: |
| 490 | * |
| 491 | * This module provides TCP/IP networking routines. |
| 492 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 493 | #define POLARSSL_NET_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 494 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 495 | /** |
| 496 | * \def POLARSSL_PADLOCK_C |
| 497 | * |
| 498 | * Enable VIA Padlock support on x86. |
| 499 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 500 | * Module: library/padlock.c |
| 501 | * Caller: library/aes.c |
| 502 | * |
| 503 | * This modules adds support for the VIA PadLock on x86. |
| 504 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 505 | #define POLARSSL_PADLOCK_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 506 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 507 | /** |
Paul Bakker | 96743fc | 2011-02-12 14:30:57 +0000 | [diff] [blame] | 508 | * \def POLARSSL_PEM_C |
| 509 | * |
| 510 | * Enable PEM decoding |
| 511 | * |
| 512 | * Module: library/pem.c |
| 513 | * Caller: library/x509parse.c |
| 514 | * |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 515 | * Requires: POLARSSL_BASE64_C |
| 516 | * |
Paul Bakker | 96743fc | 2011-02-12 14:30:57 +0000 | [diff] [blame] | 517 | * This modules adds support for decoding PEM files. |
| 518 | */ |
| 519 | #define POLARSSL_PEM_C |
| 520 | |
| 521 | /** |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 522 | * \def POLARSSL_PKCS11_C |
| 523 | * |
| 524 | * Enable support for PKCS#11 smartcard support. |
| 525 | * |
| 526 | * Module: library/ssl_srv.c |
| 527 | * Caller: library/ssl_cli.c |
| 528 | * library/ssl_srv.c |
| 529 | * |
| 530 | * Requires: POLARSSL_SSL_TLS_C |
| 531 | * |
| 532 | * This module is required for SSL/TLS PKCS #11 smartcard support. |
| 533 | * Requires the presence of the PKCS#11 helper library (libpkcs11-helper) |
| 534 | #define POLARSSL_PKCS11_C |
| 535 | */ |
| 536 | |
| 537 | /** |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 538 | * \def POLARSSL_RSA_C |
| 539 | * |
| 540 | * Enable the RSA public-key cryptosystem. |
| 541 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 542 | * Module: library/rsa.c |
| 543 | * Caller: library/ssl_cli.c |
| 544 | * library/ssl_srv.c |
| 545 | * library/ssl_tls.c |
| 546 | * library/x509.c |
| 547 | * |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 548 | * Requires: POLARSSL_BIGNUM_C |
| 549 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 550 | * This module is required for SSL/TLS and MD5-signed certificates. |
| 551 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 552 | #define POLARSSL_RSA_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 553 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 554 | /** |
| 555 | * \def POLARSSL_SHA1_C |
| 556 | * |
| 557 | * Enable the SHA1 cryptographic hash algorithm. |
| 558 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 559 | * Module: library/sha1.c |
| 560 | * Caller: library/ssl_cli.c |
| 561 | * library/ssl_srv.c |
| 562 | * library/ssl_tls.c |
| 563 | * library/x509parse.c |
| 564 | * |
| 565 | * This module is required for SSL/TLS and SHA1-signed certificates. |
| 566 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 567 | #define POLARSSL_SHA1_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 568 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 569 | /** |
| 570 | * \def POLARSSL_SHA2_C |
| 571 | * |
| 572 | * Enable the SHA-224 and SHA-256 cryptographic hash algorithms. |
| 573 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 574 | * Module: library/sha2.c |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 575 | * Caller: library/md_wrap.c |
| 576 | * library/x509parse.c |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 577 | * |
| 578 | * This module adds support for SHA-224 and SHA-256. |
| 579 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 580 | #define POLARSSL_SHA2_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 581 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 582 | /** |
| 583 | * \def POLARSSL_SHA4_C |
| 584 | * |
| 585 | * Enable the SHA-384 and SHA-512 cryptographic hash algorithms. |
| 586 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 587 | * Module: library/sha4.c |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 588 | * Caller: library/md_wrap.c |
| 589 | * library/x509parse.c |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 590 | * |
| 591 | * This module adds support for SHA-384 and SHA-512. |
| 592 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 593 | #define POLARSSL_SHA4_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 594 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 595 | /** |
| 596 | * \def POLARSSL_SSL_CLI_C |
| 597 | * |
| 598 | * Enable the SSL/TLS client code. |
| 599 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 600 | * Module: library/ssl_cli.c |
| 601 | * Caller: |
| 602 | * |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 603 | * Requires: POLARSSL_SSL_TLS_C |
| 604 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 605 | * This module is required for SSL/TLS client support. |
| 606 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 607 | #define POLARSSL_SSL_CLI_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 608 | |
| 609 | /* |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 610 | * \def POLARSSL_SSL_SRV_C |
| 611 | * |
| 612 | * Enable the SSL/TLS server code. |
| 613 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 614 | * Module: library/ssl_srv.c |
| 615 | * Caller: |
| 616 | * |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 617 | * Requires: POLARSSL_SSL_TLS_C |
| 618 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 619 | * This module is required for SSL/TLS server support. |
| 620 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 621 | #define POLARSSL_SSL_SRV_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 622 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 623 | /** |
| 624 | * \def POLARSSL_SSL_TLS_C |
| 625 | * |
Paul Bakker | e29ab06 | 2011-05-18 13:26:54 +0000 | [diff] [blame] | 626 | * Enable the generic SSL/TLS code. |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 627 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 628 | * Module: library/ssl_tls.c |
| 629 | * Caller: library/ssl_cli.c |
| 630 | * library/ssl_srv.c |
| 631 | * |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 632 | * Requires: POLARSSL_MD5_C, POLARSSL_SHA1_C, POLARSSL_X509_PARSE_C |
| 633 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 634 | * This module is required for SSL/TLS. |
| 635 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 636 | #define POLARSSL_SSL_TLS_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 | /** |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 639 | * \def POLARSSL_TIMING_C |
| 640 | * |
| 641 | * Enable the portable timing interface. |
| 642 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 643 | * Module: library/timing.c |
| 644 | * Caller: library/havege.c |
| 645 | * |
| 646 | * This module is used by the HAVEGE random number generator. |
| 647 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 648 | #define POLARSSL_TIMING_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 649 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 650 | /** |
| 651 | * \def POLARSSL_VERSION_C |
| 652 | * |
| 653 | * Enable run-time version information. |
| 654 | * |
Paul Bakker | 0a62cd1 | 2011-01-21 11:00:08 +0000 | [diff] [blame] | 655 | * Module: library/version.c |
| 656 | * |
| 657 | * This module provides run-time version information. |
| 658 | */ |
| 659 | #define POLARSSL_VERSION_C |
| 660 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 661 | /** |
| 662 | * \def POLARSSL_X509_PARSE_C |
| 663 | * |
| 664 | * Enable X.509 certificate parsing. |
| 665 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 666 | * Module: library/x509parse.c |
| 667 | * Caller: library/ssl_cli.c |
| 668 | * library/ssl_srv.c |
| 669 | * library/ssl_tls.c |
| 670 | * |
Paul Bakker | efc3029 | 2011-11-10 14:43:23 +0000 | [diff] [blame] | 671 | * Requires: POLARSSL_ASN1_PARSE_C, POLARSSL_BIGNUM_C, POLARSSL_RSA_C |
Paul Bakker | 5690efc | 2011-05-26 13:16:06 +0000 | [diff] [blame] | 672 | * |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 673 | * This module is required for X.509 certificate parsing. |
| 674 | */ |
Paul Bakker | 40e4694 | 2009-01-03 21:51:57 +0000 | [diff] [blame] | 675 | #define POLARSSL_X509_PARSE_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 676 | |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 677 | /** |
| 678 | * \def POLARSSL_XTEA_C |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 679 | * |
Paul Bakker | f3b86c1 | 2011-01-27 15:24:17 +0000 | [diff] [blame] | 680 | * Enable the XTEA block cipher. |
| 681 | * |
Paul Bakker | 7a7c78f | 2009-01-04 18:15:48 +0000 | [diff] [blame] | 682 | * Module: library/xtea.c |
| 683 | * Caller: |
| 684 | */ |
| 685 | #define POLARSSL_XTEA_C |
Paul Bakker | 0a62cd1 | 2011-01-21 11:00:08 +0000 | [diff] [blame] | 686 | /* \} name */ |
Paul Bakker | 7a7c78f | 2009-01-04 18:15:48 +0000 | [diff] [blame] | 687 | |
Paul Bakker | 5121ce5 | 2009-01-03 21:22:43 +0000 | [diff] [blame] | 688 | #endif /* config.h */ |