00001 00022 #ifndef _SSL_CONF_H 00023 #define _SSL_CONF_H 00024 00025 #ifdef __cplusplus 00026 extern "C" { 00027 #endif 00028 00029 /* 00030 * For a minimalist SSL/TLS client: 00031 * (compiled size reduced by ~50 Kb) 00032 * 00033 #define NO_GENPRIME 00034 #define NO_DHM 00035 #define NO_MD2 00036 #define NO_MD4 00037 #define NO_DES 00038 #define NO_AES 00039 #define NO_SSL_SRV 00040 */ 00041 00042 /* 00043 * Don't include prime-number generation 00044 * 00045 #define NO_GENPRIME 00046 */ 00047 00048 /* 00049 * Don't include the DHM key exchange 00050 * 00051 #define NO_DHM 00052 */ 00053 00054 /* 00055 * Don't include the MD2 hash function 00056 * 00057 #define NO_MD2 00058 */ 00059 00060 /* 00061 * Don't include the MD4 hash function 00062 * 00063 #define NO_MD4 00064 */ 00065 00066 /* 00067 * Don't include the ARC4 cipher 00068 * 00069 #define NO_ARC4 00070 */ 00071 00072 /* 00073 * Don't include the DES/3DES ciphers 00074 * 00075 #define NO_DES 00076 */ 00077 00078 /* 00079 * Don't include the AES cipher 00080 * 00081 #define NO_AES 00082 */ 00083 00084 /* 00085 * Don't include SSL client-side code 00086 * 00087 #define NO_SSL_CLI 00088 */ 00089 00090 /* 00091 * Don't include SSL server-side code 00092 * 00093 #define NO_SSL_SRV 00094 */ 00095 00096 #ifdef __cplusplus 00097 } 00098 #endif 00099 00100 #endif /* ssl_conf.h */