Cullen Jennings | 235513a | 2005-09-21 22:51:36 +0000 | [diff] [blame] | 1 | /* |
| 2 | * config_in.h |
| 3 | * |
David McGrew | fec49dd | 2005-09-23 19:34:11 +0000 | [diff] [blame] | 4 | * template for header config file for Secure RTP and libcryptomodule |
Cullen Jennings | 235513a | 2005-09-21 22:51:36 +0000 | [diff] [blame] | 5 | * |
| 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 McGrew | 89fb7ea | 2005-09-26 19:33:44 +0000 | [diff] [blame] | 18 | /* if we're on an intel x86, define this to use inlined asm */ |
| 19 | |
| 20 | #define HAVE_X86 0 |
| 21 | |
Cullen Jennings | 235513a | 2005-09-21 22:51:36 +0000 | [diff] [blame] | 22 | /* 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 McGrew | fec49dd | 2005-09-23 19:34:11 +0000 | [diff] [blame] | 28 | /* check if an unsigned 64-bit integer is supported natively */ |
| 29 | |
| 30 | #define HAVE_U_LONG_LONG 0 |
| 31 | |
Cullen Jennings | 235513a | 2005-09-21 22:51:36 +0000 | [diff] [blame] | 32 | /* 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 | |
David McGrew | b67061f | 2005-09-28 14:23:06 +0000 | [diff] [blame^] | 62 | #define ERR_REPORTING_FILE "" |
| 63 | |
| 64 | #define USE_ERR_REPORTING_FILE 0 |
Cullen Jennings | 235513a | 2005-09-21 22:51:36 +0000 | [diff] [blame] | 65 | |
| 66 | /* |
| 67 | * set ENABLE_DEBUGGING to 1 to compile in dynamic debugging system, |
| 68 | * set it to 0 to not compile in dynamic debugging (for a slight |
| 69 | * performance improvement) |
| 70 | */ |
| 71 | |
| 72 | #define ENABLE_DEBUGGING 0 |
| 73 | |
| 74 | /* if we're going to use GDOI, define SRTP_GDOI to 1 */ |
| 75 | |
| 76 | #define SRTP_GDOI 0 |
| 77 | |
| 78 | /* |
| 79 | * CPU_type is defined as 1 if the host processor is of that type. |
| 80 | * Note that more than one type can be defined at once; this is so |
| 81 | * that special instructions and other optimizations can be handled |
| 82 | * independently. |
| 83 | * |
| 84 | * CPU_RISC RISC machines (assume slow byte access) |
| 85 | * CPU_CISC CISC machines (e.g. Intel) |
| 86 | * CPU_ALTIVEC Motorola's SIMD instruction set |
| 87 | * |
| 88 | */ |
| 89 | |
| 90 | #define CPU_RISC 0 |
| 91 | #define CPU_CISC 0 |
| 92 | #define CPU_ALTIVEC 0 |
| 93 | |
| 94 | /* |
David McGrew | fec49dd | 2005-09-23 19:34:11 +0000 | [diff] [blame] | 95 | * /dev/urandom is a (true) random number generator which is |
Cullen Jennings | 235513a | 2005-09-21 22:51:36 +0000 | [diff] [blame] | 96 | * implemented in many modern operating systems |
| 97 | */ |
| 98 | |
David McGrew | fec49dd | 2005-09-23 19:34:11 +0000 | [diff] [blame] | 99 | #define DEV_URANDOM 0 |
Cullen Jennings | 235513a | 2005-09-21 22:51:36 +0000 | [diff] [blame] | 100 | |
David McGrew | fec49dd | 2005-09-23 19:34:11 +0000 | [diff] [blame] | 101 | /* check for stdlib.h - we use it for alloc() and free() */ |
Cullen Jennings | 235513a | 2005-09-21 22:51:36 +0000 | [diff] [blame] | 102 | |
| 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 | |