blob: f991ce79d1746f2b51b2f7c51b09c647952c373d [file] [log] [blame]
Cullen Jennings235513a2005-09-21 22:51:36 +00001/*
2 * config_in.h
3 *
David McGrewfec49dd2005-09-23 19:34:11 +00004 * template for header config file for Secure RTP and libcryptomodule
Cullen Jennings235513a2005-09-21 22:51:36 +00005 *
6 * David A. McGrew
7 * Cisco Systems, Inc.
8 */
9
10
11#ifndef CONFIG_H
12#define CONFIG_H
13
14/* if we're on a big endian machine, we need to define this */
15
16#define WORDS_BIGENDIAN 0
17
David McGrew89fb7ea2005-09-26 19:33:44 +000018/* if we're on an intel x86, define this to use inlined asm */
19
20#define HAVE_X86 0
21
Cullen Jennings235513a2005-09-21 22:51:36 +000022/* check for <stdint.h> or <machine/types.h> */
23
24#define HAVE_STDINT_H 0
25#define HAVE_MACHINE_TYPES_H 0
26#define HAVE_SYS_INT_TYPES_H 0
27
David McGrewfec49dd2005-09-23 19:34:11 +000028/* check if an unsigned 64-bit integer is supported natively */
29
30#define HAVE_U_LONG_LONG 0
31
Cullen Jennings235513a2005-09-21 22:51:36 +000032/* check for microsoft integer definitions (e.g., cygwin) */
33
34#define HAVE_MS_TYPES 1
35
36/* if we don't have uio.h, we'll need to define struct iovec */
37
38#define HAVE_SYS_UIO_H 0
39
40/* <unistd.h> is used by some test/ apps */
41
42#define HAVE_UNISTD_H 0
43
44/* test apps should use inet_aton(), if it's available */
45
46#define HAVE_INET_ATON 0
47
48/* check if we have syslog functions */
49
50#define HAVE_SYSLOG_H 0
51
52/* check to see if the user has requested the use of syslog */
53
54#define USE_SYSLOG 0
55
56#define ERR_REPORTING_STDOUT 0
57
58#define ERR_REPORTING_SYSLOG (HAVE_SYSLOG_H & USE_SYSLOG)
59
60/* define ERR_REPORTING_FILE to have messages sent to file */
61
62#define ERR_REPORTING_FILE
63
64/*
65 * set ENABLE_DEBUGGING to 1 to compile in dynamic debugging system,
66 * set it to 0 to not compile in dynamic debugging (for a slight
67 * performance improvement)
68 */
69
70#define ENABLE_DEBUGGING 0
71
72/* if we're going to use GDOI, define SRTP_GDOI to 1 */
73
74#define SRTP_GDOI 0
75
76/*
77 * CPU_type is defined as 1 if the host processor is of that type.
78 * Note that more than one type can be defined at once; this is so
79 * that special instructions and other optimizations can be handled
80 * independently.
81 *
82 * CPU_RISC RISC machines (assume slow byte access)
83 * CPU_CISC CISC machines (e.g. Intel)
84 * CPU_ALTIVEC Motorola's SIMD instruction set
85 *
86 */
87
88#define CPU_RISC 0
89#define CPU_CISC 0
90#define CPU_ALTIVEC 0
91
92/*
David McGrewfec49dd2005-09-23 19:34:11 +000093 * if /dev/urandom is available, then DEV_URANDOM == 1
Cullen Jennings235513a2005-09-21 22:51:36 +000094 *
David McGrewfec49dd2005-09-23 19:34:11 +000095 * /dev/urandom is a (true) random number generator which is
Cullen Jennings235513a2005-09-21 22:51:36 +000096 * implemented in many modern operating systems
97 */
98
David McGrewfec49dd2005-09-23 19:34:11 +000099#define DEV_URANDOM 0
Cullen Jennings235513a2005-09-21 22:51:36 +0000100
David McGrewfec49dd2005-09-23 19:34:11 +0000101/* check for stdlib.h - we use it for alloc() and free() */
Cullen Jennings235513a2005-09-21 22:51:36 +0000102
103#define HAVE_STDLIB_H 0
104
105/* whether to use ismacryp code */
106#define GENERIC_AESICM 0
107
108#endif /* CONFIG_H */
109
110
111
112