blob: c3fb54385a489583b638ae6dff2099e98445bcef [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
Randell Jesup59fec512005-09-28 22:25:42 +000025#define HAVE_INTTYPES_H 0
Cullen Jennings235513a2005-09-21 22:51:36 +000026#define HAVE_MACHINE_TYPES_H 0
27#define HAVE_SYS_INT_TYPES_H 0
28
David McGrewfec49dd2005-09-23 19:34:11 +000029/* check if an unsigned 64-bit integer is supported natively */
30
31#define HAVE_U_LONG_LONG 0
32
Cullen Jennings235513a2005-09-21 22:51:36 +000033/* check for microsoft integer definitions (e.g., cygwin) */
34
35#define HAVE_MS_TYPES 1
36
37/* if we don't have uio.h, we'll need to define struct iovec */
38
39#define HAVE_SYS_UIO_H 0
40
41/* <unistd.h> is used by some test/ apps */
42
43#define HAVE_UNISTD_H 0
44
45/* test apps should use inet_aton(), if it's available */
46
47#define HAVE_INET_ATON 0
48
49/* check if we have syslog functions */
50
51#define HAVE_SYSLOG_H 0
52
53/* check to see if the user has requested the use of syslog */
54
55#define USE_SYSLOG 0
56
57#define ERR_REPORTING_STDOUT 0
58
59#define ERR_REPORTING_SYSLOG (HAVE_SYSLOG_H & USE_SYSLOG)
60
61/* define ERR_REPORTING_FILE to have messages sent to file */
62
David McGrewb67061f2005-09-28 14:23:06 +000063#define ERR_REPORTING_FILE ""
64
65#define USE_ERR_REPORTING_FILE 0
Cullen Jennings235513a2005-09-21 22:51:36 +000066
67/*
68 * set ENABLE_DEBUGGING to 1 to compile in dynamic debugging system,
69 * set it to 0 to not compile in dynamic debugging (for a slight
70 * performance improvement)
71 */
72
73#define ENABLE_DEBUGGING 0
74
75/* if we're going to use GDOI, define SRTP_GDOI to 1 */
76
77#define SRTP_GDOI 0
78
79/*
80 * CPU_type is defined as 1 if the host processor is of that type.
81 * Note that more than one type can be defined at once; this is so
82 * that special instructions and other optimizations can be handled
83 * independently.
84 *
85 * CPU_RISC RISC machines (assume slow byte access)
86 * CPU_CISC CISC machines (e.g. Intel)
87 * CPU_ALTIVEC Motorola's SIMD instruction set
88 *
89 */
90
91#define CPU_RISC 0
92#define CPU_CISC 0
93#define CPU_ALTIVEC 0
94
95/*
David McGrewfec49dd2005-09-23 19:34:11 +000096 * /dev/urandom is a (true) random number generator which is
Cullen Jennings235513a2005-09-21 22:51:36 +000097 * implemented in many modern operating systems
98 */
99
David McGrewfec49dd2005-09-23 19:34:11 +0000100#define DEV_URANDOM 0
Cullen Jennings235513a2005-09-21 22:51:36 +0000101
David McGrewfec49dd2005-09-23 19:34:11 +0000102/* check for stdlib.h - we use it for alloc() and free() */
Cullen Jennings235513a2005-09-21 22:51:36 +0000103
104#define HAVE_STDLIB_H 0
105
106/* whether to use ismacryp code */
107#define GENERIC_AESICM 0
108
109#endif /* CONFIG_H */
110
111
112
113