blob: 014bc14915636518cb4c0991026ce46ce505ab13 [file] [log] [blame]
Paul Bakker5121ce52009-01-03 21:22:43 +00001/**
2 * \file config.h
3 *
Paul Bakker37ca75d2011-01-06 12:28:03 +00004 * \brief Configuration options (set of defines)
5 *
Paul Bakker84f12b72010-07-18 10:13:04 +00006 * Copyright (C) 2006-2010, Brainspark B.V.
Paul Bakkerb96f1542010-07-18 20:36:00 +00007 *
8 * This file is part of PolarSSL (http://www.polarssl.org)
Paul Bakker84f12b72010-07-18 10:13:04 +00009 * Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org>
Paul Bakkerb96f1542010-07-18 20:36:00 +000010 *
Paul Bakker77b385e2009-07-28 17:23:11 +000011 * All rights reserved.
Paul Bakkere0ccd0a2009-01-04 16:27:10 +000012 *
Paul Bakkere0ccd0a2009-01-04 16:27:10 +000013 * 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 Bakker5121ce52009-01-03 21:22:43 +000027 * 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 Bakker40e46942009-01-03 21:51:57 +000031#ifndef POLARSSL_CONFIG_H
32#define POLARSSL_CONFIG_H
Paul Bakker5121ce52009-01-03 21:22:43 +000033
34#ifndef _CRT_SECURE_NO_DEPRECATE
35#define _CRT_SECURE_NO_DEPRECATE 1
36#endif
37
Paul Bakkerf3b86c12011-01-27 15:24:17 +000038/**
Paul Bakker0a62cd12011-01-21 11:00:08 +000039 * \name SECTION: System support
40 *
41 * This section sets system specific settings.
42 * \{
43 */
44
Paul Bakkerf3b86c12011-01-27 15:24:17 +000045/**
46 * \def POLARSSL_HAVE_INT8
Paul Bakker5121ce52009-01-03 21:22:43 +000047 *
Paul Bakkerf3b86c12011-01-27 15:24:17 +000048 * The system uses 8-bit wide native integers.
49 *
50 * Uncomment if native integers are 8-bit wide.
Paul Bakker40e46942009-01-03 21:51:57 +000051#define POLARSSL_HAVE_INT8
Paul Bakker5121ce52009-01-03 21:22:43 +000052 */
53
Paul Bakkerf3b86c12011-01-27 15:24:17 +000054/**
55 * \def POLARSSL_HAVE_INT16
Paul Bakker5121ce52009-01-03 21:22:43 +000056 *
Paul Bakkerf3b86c12011-01-27 15:24:17 +000057 * The system uses 16-bit wide native integers.
58 *
59 * Uncomment if native integers are 16-bit wide.
Paul Bakker40e46942009-01-03 21:51:57 +000060#define POLARSSL_HAVE_INT16
Paul Bakker5121ce52009-01-03 21:22:43 +000061 */
62
Paul Bakkerf3b86c12011-01-27 15:24:17 +000063/**
64 * \def POLARSSL_HAVE_LONGLONG
Paul Bakker5121ce52009-01-03 21:22:43 +000065 *
Paul Bakkerf3b86c12011-01-27 15:24:17 +000066 * The compiler supports the use of long long.
67 *
68 * Uncomment if the compiler supports long long.
Paul Bakker40e46942009-01-03 21:51:57 +000069#define POLARSSL_HAVE_LONGLONG
Paul Bakker5121ce52009-01-03 21:22:43 +000070 */
71
Paul Bakkerf3b86c12011-01-27 15:24:17 +000072/**
73 * \def POLARSSL_HAVE_ASM
74 *
75 * The compiler has support for asm()
76 *
Paul Bakker5121ce52009-01-03 21:22:43 +000077 * Uncomment to enable the use of assembly code.
Paul Bakker68041ec2009-04-19 21:17:55 +000078 *
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 Bakker5121ce52009-01-03 21:22:43 +000086 */
Paul Bakker40e46942009-01-03 21:51:57 +000087#define POLARSSL_HAVE_ASM
Paul Bakker5121ce52009-01-03 21:22:43 +000088
Paul Bakkerf3b86c12011-01-27 15:24:17 +000089/**
90 * \def POLARSSL_HAVE_SSE2
91 *
92 * CPI supports SSE2 instruction set.
93 *
Paul Bakker5121ce52009-01-03 21:22:43 +000094 * Uncomment if the CPU supports SSE2 (IA-32 specific).
95 *
Paul Bakker40e46942009-01-03 21:51:57 +000096#define POLARSSL_HAVE_SSE2
Paul Bakker5121ce52009-01-03 21:22:43 +000097 */
Paul Bakker0a62cd12011-01-21 11:00:08 +000098/* \} name */
99
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000100/**
Paul Bakker0a62cd12011-01-21 11:00:08 +0000101 * \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 Bakker5121ce52009-01-03 21:22:43 +0000107
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000108/**
109 * \def POLARSSL_DEBUG_MSG
110 *
Paul Bakker5121ce52009-01-03 21:22:43 +0000111 * Enable all SSL/TLS debugging messages.
112 */
Paul Bakker40e46942009-01-03 21:51:57 +0000113#define POLARSSL_DEBUG_MSG
Paul Bakker5121ce52009-01-03 21:22:43 +0000114
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000115/**
116 * \def POLARSSL_SELF_TEST
117 *
Paul Bakker5121ce52009-01-03 21:22:43 +0000118 * Enable the checkup functions (*_self_test).
119 */
Paul Bakker40e46942009-01-03 21:51:57 +0000120#define POLARSSL_SELF_TEST
Paul Bakker5121ce52009-01-03 21:22:43 +0000121
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000122/**
123 * \def POLARSSL_GENPRIME
124 *
Paul Bakker5121ce52009-01-03 21:22:43 +0000125 * Enable the prime-number generation code.
126 */
Paul Bakker40e46942009-01-03 21:51:57 +0000127#define POLARSSL_GENPRIME
Paul Bakker5121ce52009-01-03 21:22:43 +0000128
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000129/**
130 * \def POLARSSL_AES_ROM_TABLES
131 *
132 * Store the AES tables in ROM.
133 *
Paul Bakker5121ce52009-01-03 21:22:43 +0000134 * Uncomment this macro to store the AES tables in ROM.
135 *
Paul Bakker40e46942009-01-03 21:51:57 +0000136#define POLARSSL_AES_ROM_TABLES
Paul Bakker5121ce52009-01-03 21:22:43 +0000137 */
Paul Bakker0a62cd12011-01-21 11:00:08 +0000138/* \} name */
139
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000140/**
Paul Bakker0a62cd12011-01-21 11:00:08 +0000141 * \name SECTION: PolarSSL modules
142 *
143 * This section enables or disables entire modules in PolarSSL
144 * \{
145 */
Paul Bakker5121ce52009-01-03 21:22:43 +0000146
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000147/**
148 * \def POLARSSL_AES_C
149 *
150 * Enable the AES block cipher.
151 *
Paul Bakker5121ce52009-01-03 21:22:43 +0000152 * Module: library/aes.c
153 * Caller: library/ssl_tls.c
Paul Bakker96743fc2011-02-12 14:30:57 +0000154 * library/pem.c
Paul Bakker5121ce52009-01-03 21:22:43 +0000155 *
156 * This module enables the following ciphersuites:
157 * SSL_RSA_AES_128_SHA
158 * SSL_RSA_AES_256_SHA
159 * SSL_EDH_RSA_AES_256_SHA
160 */
Paul Bakker40e46942009-01-03 21:51:57 +0000161#define POLARSSL_AES_C
Paul Bakker5121ce52009-01-03 21:22:43 +0000162
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000163/**
164 * \def POLARSSL_ARC4_C
165 *
166 * Enable the ARCFOUR stream cipher.
167 *
Paul Bakker5121ce52009-01-03 21:22:43 +0000168 * Module: library/arc4.c
169 * Caller: library/ssl_tls.c
170 *
171 * This module enables the following ciphersuites:
172 * SSL_RSA_RC4_128_MD5
173 * SSL_RSA_RC4_128_SHA
174 */
Paul Bakker40e46942009-01-03 21:51:57 +0000175#define POLARSSL_ARC4_C
Paul Bakker5121ce52009-01-03 21:22:43 +0000176
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000177/**
178 * \def POLARSSL_BASE64_C
179 *
180 * Enable the Base64 module.
181 *
Paul Bakker5121ce52009-01-03 21:22:43 +0000182 * Module: library/base64.c
183 * Caller: library/x509parse.c
184 *
185 * This module is required for X.509 support.
186 */
Paul Bakker40e46942009-01-03 21:51:57 +0000187#define POLARSSL_BASE64_C
Paul Bakker5121ce52009-01-03 21:22:43 +0000188
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000189/**
190 * \def POLARSSL_BIGNUM_C
191 *
192 * Enable the multo-precision integer library.
193 *
Paul Bakker5121ce52009-01-03 21:22:43 +0000194 * Module: library/bignum.c
195 * Caller: library/dhm.c
196 * library/rsa.c
197 * library/ssl_tls.c
198 * library/x509parse.c
199 *
200 * This module is required for RSA and DHM support.
201 */
Paul Bakker40e46942009-01-03 21:51:57 +0000202#define POLARSSL_BIGNUM_C
Paul Bakker5121ce52009-01-03 21:22:43 +0000203
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000204/**
205 * \def POLARSSL_CAMELLIA_C
206 *
207 * Enable the Camellia block cipher.
208 *
Paul Bakker38119b12009-01-10 23:31:23 +0000209 * Module: library/camellia.c
Paul Bakker13e2dfe2009-07-28 07:18:38 +0000210 * Caller: library/ssl_tls.c
Paul Bakker38119b12009-01-10 23:31:23 +0000211 *
212 * This module enabled the following cipher suites:
Paul Bakker13e2dfe2009-07-28 07:18:38 +0000213 * SSL_RSA_CAMELLIA_128_SHA
214 * SSL_RSA_CAMELLIA_256_SHA
215 * SSL_EDH_RSA_CAMELLIA_256_SHA
Paul Bakker38119b12009-01-10 23:31:23 +0000216 */
217#define POLARSSL_CAMELLIA_C
218
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000219/**
220 * \def POLARSSL_CERTS_C
221 *
222 * Enable the test certificates.
223 *
Paul Bakker5121ce52009-01-03 21:22:43 +0000224 * Module: library/certs.c
225 * Caller:
226 *
227 * This module is used for testing (ssl_client/server).
228 */
Paul Bakker40e46942009-01-03 21:51:57 +0000229#define POLARSSL_CERTS_C
Paul Bakker5121ce52009-01-03 21:22:43 +0000230
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000231/**
232 * \def POLARSSL_CIPHER_C
233 *
234 * Enable the generic cipher layer.
235 *
Paul Bakker8123e9d2011-01-06 15:37:30 +0000236 * Module: library/cipher.c
237 * Caller:
238 *
239 * Uncomment to enable generic cipher wrappers.
240 */
241#define POLARSSL_CIPHER_C
242
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000243/**
244 * \def POLARSSL_DEBUG_C
245 *
246 * Enable the debug functions.
247 *
Paul Bakker5121ce52009-01-03 21:22:43 +0000248 * Module: library/debug.c
249 * Caller: library/ssl_cli.c
250 * library/ssl_srv.c
251 * library/ssl_tls.c
252 *
253 * This module provides debugging functions.
254 */
Paul Bakker40e46942009-01-03 21:51:57 +0000255#define POLARSSL_DEBUG_C
Paul Bakker5121ce52009-01-03 21:22:43 +0000256
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000257/**
258 * \def POLARSSL_DES_C
259 *
260 * Enable the DES block cipher.
261 *
Paul Bakker5121ce52009-01-03 21:22:43 +0000262 * Module: library/des.c
263 * Caller: library/ssl_tls.c
264 *
265 * This module enables the following ciphersuites:
266 * SSL_RSA_DES_168_SHA
267 * SSL_EDH_RSA_DES_168_SHA
268 */
Paul Bakker40e46942009-01-03 21:51:57 +0000269#define POLARSSL_DES_C
Paul Bakker5121ce52009-01-03 21:22:43 +0000270
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000271/**
272 * \def POLARSSL_DHM_C
273 *
274 * Enable the Diffie-Hellman-Merkle key exchange.
275 *
Paul Bakker5121ce52009-01-03 21:22:43 +0000276 * Module: library/dhm.c
277 * Caller: library/ssl_cli.c
278 * library/ssl_srv.c
279 *
280 * This module enables the following ciphersuites:
281 * SSL_EDH_RSA_DES_168_SHA
282 * SSL_EDH_RSA_AES_256_SHA
Paul Bakker13e2dfe2009-07-28 07:18:38 +0000283 * SSL_EDH_RSA_CAMELLIA_256_SHA
Paul Bakker5121ce52009-01-03 21:22:43 +0000284 */
Paul Bakker40e46942009-01-03 21:51:57 +0000285#define POLARSSL_DHM_C
Paul Bakker5121ce52009-01-03 21:22:43 +0000286
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000287/**
288 * \def POLARSSL_HAVEGE_C
289 *
290 * Enable the HAVEGE random generator.
291 *
Paul Bakker5121ce52009-01-03 21:22:43 +0000292 * Module: library/havege.c
293 * Caller:
294 *
295 * This module enables the HAVEGE random number generator.
296 */
Paul Bakker40e46942009-01-03 21:51:57 +0000297#define POLARSSL_HAVEGE_C
Paul Bakker5121ce52009-01-03 21:22:43 +0000298
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000299/**
300 * \def POLARSSL_MD_C
301 *
302 * Enable the generic message digest layer.
303 *
Paul Bakker17373852011-01-06 14:20:01 +0000304 * Module: library/md.c
305 * Caller:
306 *
307 * Uncomment to enable generic message digest wrappers.
308 */
309#define POLARSSL_MD_C
310
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000311/**
312 * \def POLARSSL_MD2_C
313 *
314 * Enable the MD2 hash algorithm
315 *
Paul Bakker5121ce52009-01-03 21:22:43 +0000316 * Module: library/md2.c
317 * Caller: library/x509parse.c
318 *
319 * Uncomment to enable support for (rare) MD2-signed X.509 certs.
320 *
Paul Bakker13e2dfe2009-07-28 07:18:38 +0000321#define POLARSSL_MD2_C
Paul Bakker6506aff2009-07-28 20:52:02 +0000322 */
Paul Bakker5121ce52009-01-03 21:22:43 +0000323
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000324/**
325 * \def POLARSSL_MD4_C
326 *
327 * Enable the MD4 hash algorithm
328 *
Paul Bakker5121ce52009-01-03 21:22:43 +0000329 * Module: library/md4.c
330 * Caller: library/x509parse.c
331 *
332 * Uncomment to enable support for (rare) MD4-signed X.509 certs.
333 *
Paul Bakker13e2dfe2009-07-28 07:18:38 +0000334#define POLARSSL_MD4_C
Paul Bakker6506aff2009-07-28 20:52:02 +0000335 */
Paul Bakker5121ce52009-01-03 21:22:43 +0000336
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000337/**
338 * \def POLARSSL_MD5_C
339 *
340 * Enable the MD5 hash algorithm
341 *
Paul Bakker5121ce52009-01-03 21:22:43 +0000342 * Module: library/md5.c
343 * Caller: library/ssl_tls.c
344 * library/x509parse.c
345 *
346 * This module is required for SSL/TLS and X.509.
347 */
Paul Bakker40e46942009-01-03 21:51:57 +0000348#define POLARSSL_MD5_C
Paul Bakker5121ce52009-01-03 21:22:43 +0000349
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000350/**
351 * \def POLARSSL_NET_C
352 *
353 * Enable the TCP/IP networking routines.
354 *
Paul Bakker5121ce52009-01-03 21:22:43 +0000355 * Module: library/net.c
356 * Caller:
357 *
358 * This module provides TCP/IP networking routines.
359 */
Paul Bakker40e46942009-01-03 21:51:57 +0000360#define POLARSSL_NET_C
Paul Bakker5121ce52009-01-03 21:22:43 +0000361
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000362/**
363 * \def POLARSSL_PADLOCK_C
364 *
365 * Enable VIA Padlock support on x86.
366 *
Paul Bakker5121ce52009-01-03 21:22:43 +0000367 * Module: library/padlock.c
368 * Caller: library/aes.c
369 *
370 * This modules adds support for the VIA PadLock on x86.
371 */
Paul Bakker40e46942009-01-03 21:51:57 +0000372#define POLARSSL_PADLOCK_C
Paul Bakker5121ce52009-01-03 21:22:43 +0000373
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000374/**
Paul Bakker96743fc2011-02-12 14:30:57 +0000375 * \def POLARSSL_PEM_C
376 *
377 * Enable PEM decoding
378 *
379 * Module: library/pem.c
380 * Caller: library/x509parse.c
381 *
382 * This modules adds support for decoding PEM files.
383 */
384#define POLARSSL_PEM_C
385
386/**
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000387 * \def POLARSSL_RSA_C
388 *
389 * Enable the RSA public-key cryptosystem.
390 *
Paul Bakker5121ce52009-01-03 21:22:43 +0000391 * Module: library/rsa.c
392 * Caller: library/ssl_cli.c
393 * library/ssl_srv.c
394 * library/ssl_tls.c
395 * library/x509.c
396 *
397 * This module is required for SSL/TLS and MD5-signed certificates.
398 */
Paul Bakker40e46942009-01-03 21:51:57 +0000399#define POLARSSL_RSA_C
Paul Bakker5121ce52009-01-03 21:22:43 +0000400
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000401/**
402 * \def POLARSSL_SHA1_C
403 *
404 * Enable the SHA1 cryptographic hash algorithm.
405 *
Paul Bakker5121ce52009-01-03 21:22:43 +0000406 * Module: library/sha1.c
407 * Caller: library/ssl_cli.c
408 * library/ssl_srv.c
409 * library/ssl_tls.c
410 * library/x509parse.c
411 *
412 * This module is required for SSL/TLS and SHA1-signed certificates.
413 */
Paul Bakker40e46942009-01-03 21:51:57 +0000414#define POLARSSL_SHA1_C
Paul Bakker5121ce52009-01-03 21:22:43 +0000415
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000416/**
417 * \def POLARSSL_SHA2_C
418 *
419 * Enable the SHA-224 and SHA-256 cryptographic hash algorithms.
420 *
Paul Bakker5121ce52009-01-03 21:22:43 +0000421 * Module: library/sha2.c
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000422 * Caller: library/md_wrap.c
423 * library/x509parse.c
Paul Bakker5121ce52009-01-03 21:22:43 +0000424 *
425 * This module adds support for SHA-224 and SHA-256.
426 */
Paul Bakker40e46942009-01-03 21:51:57 +0000427#define POLARSSL_SHA2_C
Paul Bakker5121ce52009-01-03 21:22:43 +0000428
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000429/**
430 * \def POLARSSL_SHA4_C
431 *
432 * Enable the SHA-384 and SHA-512 cryptographic hash algorithms.
433 *
Paul Bakker5121ce52009-01-03 21:22:43 +0000434 * Module: library/sha4.c
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000435 * Caller: library/md_wrap.c
436 * library/x509parse.c
Paul Bakker5121ce52009-01-03 21:22:43 +0000437 *
438 * This module adds support for SHA-384 and SHA-512.
439 */
Paul Bakker40e46942009-01-03 21:51:57 +0000440#define POLARSSL_SHA4_C
Paul Bakker5121ce52009-01-03 21:22:43 +0000441
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000442/**
443 * \def POLARSSL_SSL_CLI_C
444 *
445 * Enable the SSL/TLS client code.
446 *
Paul Bakker5121ce52009-01-03 21:22:43 +0000447 * Module: library/ssl_cli.c
448 * Caller:
449 *
450 * This module is required for SSL/TLS client support.
451 */
Paul Bakker40e46942009-01-03 21:51:57 +0000452#define POLARSSL_SSL_CLI_C
Paul Bakker5121ce52009-01-03 21:22:43 +0000453
454/*
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000455 * \def POLARSSL_SSL_SRV_C
456 *
457 * Enable the SSL/TLS server code.
458 *
Paul Bakker5121ce52009-01-03 21:22:43 +0000459 * Module: library/ssl_srv.c
460 * Caller:
461 *
462 * This module is required for SSL/TLS server support.
463 */
Paul Bakker40e46942009-01-03 21:51:57 +0000464#define POLARSSL_SSL_SRV_C
Paul Bakker5121ce52009-01-03 21:22:43 +0000465
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000466/**
467 * \def POLARSSL_SSL_TLS_C
468 *
469 * Enable the generic SSL/RLS code.
470 *
Paul Bakker5121ce52009-01-03 21:22:43 +0000471 * Module: library/ssl_tls.c
472 * Caller: library/ssl_cli.c
473 * library/ssl_srv.c
474 *
475 * This module is required for SSL/TLS.
476 */
Paul Bakker40e46942009-01-03 21:51:57 +0000477#define POLARSSL_SSL_TLS_C
Paul Bakker5121ce52009-01-03 21:22:43 +0000478
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000479/**
480 * \def POLARSSL_PKCS11_C
481 *
482 * Enable support for PKCS#11 smartcard support.
483 *
Paul Bakker43b7e352011-01-18 15:27:19 +0000484 * Module: library/ssl_srv.c
485 * Caller: library/ssl_cli.c
486 * library/ssl_srv.c
487 *
488 * This module is required for SSL/TLS PKCS #11 smartcard support.
489 * Requires the presence of the PKCS#11 helper library (libpkcs11-helper)
Paul Bakker43b7e352011-01-18 15:27:19 +0000490#define POLARSSL_PKCS11_C
Paul Bakkerf917e422011-01-18 16:15:25 +0000491 */
Paul Bakker43b7e352011-01-18 15:27:19 +0000492
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000493/**
494 * \def POLARSSL_TIMING_C
495 *
496 * Enable the portable timing interface.
497 *
Paul Bakker5121ce52009-01-03 21:22:43 +0000498 * Module: library/timing.c
499 * Caller: library/havege.c
500 *
501 * This module is used by the HAVEGE random number generator.
502 */
Paul Bakker40e46942009-01-03 21:51:57 +0000503#define POLARSSL_TIMING_C
Paul Bakker5121ce52009-01-03 21:22:43 +0000504
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000505/**
506 * \def POLARSSL_VERSION_C
507 *
508 * Enable run-time version information.
509 *
Paul Bakker0a62cd12011-01-21 11:00:08 +0000510 * Module: library/version.c
511 *
512 * This module provides run-time version information.
513 */
514#define POLARSSL_VERSION_C
515
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000516/**
517 * \def POLARSSL_X509_PARSE_C
518 *
519 * Enable X.509 certificate parsing.
520 *
Paul Bakker5121ce52009-01-03 21:22:43 +0000521 * Module: library/x509parse.c
522 * Caller: library/ssl_cli.c
523 * library/ssl_srv.c
524 * library/ssl_tls.c
525 *
526 * This module is required for X.509 certificate parsing.
527 */
Paul Bakker40e46942009-01-03 21:51:57 +0000528#define POLARSSL_X509_PARSE_C
Paul Bakker5121ce52009-01-03 21:22:43 +0000529
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000530/**
531 * \def POLARSSL_XTEA_C
Paul Bakker5121ce52009-01-03 21:22:43 +0000532 *
Paul Bakkerf3b86c12011-01-27 15:24:17 +0000533 * Enable the XTEA block cipher.
534 *
Paul Bakker7a7c78f2009-01-04 18:15:48 +0000535 * Module: library/xtea.c
536 * Caller:
537 */
538#define POLARSSL_XTEA_C
Paul Bakker0a62cd12011-01-21 11:00:08 +0000539/* \} name */
Paul Bakker7a7c78f2009-01-04 18:15:48 +0000540
Paul Bakker5121ce52009-01-03 21:22:43 +0000541#endif /* config.h */