opensslconf-trusty.h revision c64f6fe2be99cb3fa8e491b5bede9a217de87a4c
16eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble/* opensslconf.h */ 26eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble/* WARNING: Generated automatically from opensslconf.h.in by Configure. */ 36eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble 4c64f6fe2be99cb3fa8e491b5bede9a217de87a4cKenny Root#ifdef __cplusplus 5c64f6fe2be99cb3fa8e491b5bede9a217de87a4cKenny Rootextern "C" { 6c64f6fe2be99cb3fa8e491b5bede9a217de87a4cKenny Root#endif 76eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble/* OpenSSL was configured with the following options: */ 86eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_DOING_MAKEDEPEND 96eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble 106eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble 116eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_CAMELLIA 126eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_CAMELLIA 136eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 146eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_CAPIENG 156eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_CAPIENG 166eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 176eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_CAST 186eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_CAST 196eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 206eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_CMS 216eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_CMS 226eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 236eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_COMP 246eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_COMP 256eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 266eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_CONF 276eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_CONF 286eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 296eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_DES 306eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_DES 316eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 326eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_DTLS1 336eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_DTLS1 346eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 356eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 366eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_EC_NISTP_64_GCC_128 376eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 386eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_GMP 396eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_GMP 406eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 416eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_GOST 426eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_GOST 436eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 446eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_HEARTBEATS 456eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_HEARTBEATS 466eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 476eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_IDEA 486eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_IDEA 496eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 506eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_JPAKE 516eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_JPAKE 526eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 536eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_KRB5 546eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_KRB5 556eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 566eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_LOCKING 576eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_LOCKING 586eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 596eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_MD2 606eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_MD2 616eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 626eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_MD4 636eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_MD4 646eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 656eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_MD5 666eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_MD5 676eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 686eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_MDC2 696eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_MDC2 706eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 716eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_OCSP 726eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_OCSP 736eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 746eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_PEM 756eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_PEM 766eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 776eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_PKCS12 786eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_PKCS12 796eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 806eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_PQUEUE 816eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_PQUEUE 826eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 836eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_RC2 846eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_RC2 856eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 866eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_RC4 876eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_RC4 886eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 896eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_RC5 906eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_RC5 916eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 926eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_RDRAND 936eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_RDRAND 946eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 956eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_RFC3779 966eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_RFC3779 976eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 986eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_RIPEMD 996eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_RIPEMD 1006eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 1016eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_RSAX 1026eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_RSAX 1036eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 1046eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_SCTP 1056eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_SCTP 1066eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 1076eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_SEED 1086eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_SEED 1096eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 1106eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_SHA0 1116eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_SHA0 1126eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 1136eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_SRP 1146eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_SRP 1156eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 1166eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_SSL2 1176eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_SSL2 1186eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 1196eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_SSL3 1206eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_SSL3 1216eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 1226eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_STATIC_ENGINE 1236eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_STATIC_ENGINE 1246eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 1256eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_STORE 1266eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_STORE 1276eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 1286eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_TLS1 1296eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_TLS1 1306eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 1316eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_TLSEXT 1326eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_TLSEXT 1336eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 1346eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_TS 1356eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_TS 1366eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 1376eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_TXT_DB 1386eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_TXT_DB 1396eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 1406eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_UI 1416eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_UI 1426eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 143c64f6fe2be99cb3fa8e491b5bede9a217de87a4cKenny Root#ifndef OPENSSL_NO_UNIT_TEST 144c64f6fe2be99cb3fa8e491b5bede9a217de87a4cKenny Root# define OPENSSL_NO_UNIT_TEST 145c64f6fe2be99cb3fa8e491b5bede9a217de87a4cKenny Root#endif 1466eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_WHIRLPOOL 1476eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_WHIRLPOOL 1486eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 1496eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble 1506eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif /* OPENSSL_DOING_MAKEDEPEND */ 1516eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble 1526eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_ERR 1536eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_ERR 1546eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 1556eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef OPENSSL_NO_DYNAMIC_ENGINE 1566eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define OPENSSL_NO_DYNAMIC_ENGINE 1576eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 1586eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble 1596eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble/* The OPENSSL_NO_* macros are also defined as NO_* if the application 1606eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble asks for it. This is a transient feature that is provided for those 1616eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble who haven't had the time to do the appropriate changes in their 1626eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble applications. */ 1636eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifdef OPENSSL_ALGORITHM_DEFINES 1646eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) 1656eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_CAMELLIA 1666eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 1676eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_CAPIENG) && !defined(NO_CAPIENG) 1686eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_CAPIENG 1696eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 1706eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_CAST) && !defined(NO_CAST) 1716eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_CAST 1726eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 1736eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS) 1746eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_CMS 1756eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 1766eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_COMP) && !defined(NO_COMP) 1776eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_COMP 1786eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 1796eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_CONF) && !defined(NO_CONF) 1806eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_CONF 1816eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 1826eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_DES) && !defined(NO_DES) 1836eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_DES 1846eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 1856eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_DTLS1) && !defined(NO_DTLS1) 1866eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_DTLS1 1876eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 1886eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128) 1896eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_EC_NISTP_64_GCC_128 1906eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 1916eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_GMP) && !defined(NO_GMP) 1926eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_GMP 1936eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 1946eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_GOST) && !defined(NO_GOST) 1956eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_GOST 1966eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 1976eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_HEARTBEATS) && !defined(NO_HEARTBEATS) 1986eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_HEARTBEATS 1996eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 2006eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_IDEA) && !defined(NO_IDEA) 2016eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_IDEA 2026eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 2036eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_JPAKE) && !defined(NO_JPAKE) 2046eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_JPAKE 2056eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 2066eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5) 2076eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_KRB5 2086eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 2096eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_LOCKING) && !defined(NO_LOCKING) 2106eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_LOCKING 2116eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 2126eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2) 2136eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_MD2 2146eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 2156eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_MD4) && !defined(NO_MD4) 2166eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_MD4 2176eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 2186eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_MD5) && !defined(NO_MD5) 2196eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_MD5 2206eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 2216eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2) 2226eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_MDC2 2236eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 2246eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_OCSP) && !defined(NO_OCSP) 2256eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_OCSP 2266eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 2276eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_PEM) && !defined(NO_PEM) 2286eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_PEM 2296eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 2306eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_PKCS12) && !defined(NO_PKCS12) 2316eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_PKCS12 2326eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 2336eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_PQUEUE) && !defined(NO_PQUEUE) 2346eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_PQUEUE 2356eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 2366eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_RC2) && !defined(NO_RC2) 2376eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_RC2 2386eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 2396eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_RC4) && !defined(NO_RC4) 2406eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_RC4 2416eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 2426eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) 2436eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_RC5 2446eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 2456eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_RDRAND) && !defined(NO_RDRAND) 2466eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_RDRAND 2476eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 2486eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) 2496eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_RFC3779 2506eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 2516eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_RIPEMD) && !defined(NO_RIPEMD) 2526eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_RIPEMD 2536eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 2546eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_RSAX) && !defined(NO_RSAX) 2556eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_RSAX 2566eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 2576eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP) 2586eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_SCTP 2596eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 2606eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED) 2616eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_SEED 2626eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 2636eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_SHA0) && !defined(NO_SHA0) 2646eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_SHA0 2656eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 2666eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_SRP) && !defined(NO_SRP) 2676eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_SRP 2686eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 2696eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2) 2706eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_SSL2 2716eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 2726eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_SSL3) && !defined(NO_SSL3) 2736eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_SSL3 2746eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 2756eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_STATIC_ENGINE) && !defined(NO_STATIC_ENGINE) 2766eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_STATIC_ENGINE 2776eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 2786eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_STORE) && !defined(NO_STORE) 2796eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_STORE 2806eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 2816eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_TLS1) && !defined(NO_TLS1) 2826eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_TLS1 2836eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 2846eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_TLSEXT) && !defined(NO_TLSEXT) 2856eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_TLSEXT 2866eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 2876eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_TS) && !defined(NO_TS) 2886eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_TS 2896eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 2906eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_TXT_DB) && !defined(NO_TXT_DB) 2916eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_TXT_DB 2926eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 2936eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_UI) && !defined(NO_UI) 2946eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_UI 2956eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 296c64f6fe2be99cb3fa8e491b5bede9a217de87a4cKenny Root# if defined(OPENSSL_NO_UNIT_TEST) && !defined(NO_UNIT_TEST) 297c64f6fe2be99cb3fa8e491b5bede9a217de87a4cKenny Root# define NO_UNIT_TEST 298c64f6fe2be99cb3fa8e491b5bede9a217de87a4cKenny Root# endif 2996eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# if defined(OPENSSL_NO_WHIRLPOOL) && !defined(NO_WHIRLPOOL) 3006eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define NO_WHIRLPOOL 3016eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# endif 3026eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 3036eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble 3046eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble/* crypto/opensslconf.h.in */ 3056eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble 3066eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble/* Generate 80386 code? */ 3076eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#undef I386_ONLY 3086eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble 3096eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */ 3106eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR) 3116eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#define ENGINESDIR "/usr/local/ssl/lib/engines" 3126eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#define OPENSSLDIR "/usr/local/ssl" 3136eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 3146eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 3156eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble 3166eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#undef OPENSSL_UNISTD 3176eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#define OPENSSL_UNISTD <trusty_std.h> 3186eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble 3196eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#undef OPENSSL_EXPORT_VAR_AS_FUNCTION 3206eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble 3216eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#if defined(HEADER_IDEA_H) && !defined(IDEA_INT) 3226eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#define IDEA_INT unsigned int 3236eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 3246eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble 3256eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#if defined(HEADER_MD2_H) && !defined(MD2_INT) 3266eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#define MD2_INT unsigned int 3276eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 3286eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble 3296eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#if defined(HEADER_RC2_H) && !defined(RC2_INT) 3306eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble/* I need to put in a mod for the alpha - eay */ 3316eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#define RC2_INT unsigned int 3326eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 3336eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble 3346eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#if defined(HEADER_RC4_H) 3356eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#if !defined(RC4_INT) 3366eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble/* using int types make the structure larger but make the code faster 3376eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble * on most boxes I have tested - up to %20 faster. */ 3386eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble/* 3396eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble * I don't know what does "most" mean, but declaring "int" is a must on: 3406eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble * - Intel P6 because partial register stalls are very expensive; 3416eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble * - elder Alpha because it lacks byte load/store instructions; 3426eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble */ 3436eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#define RC4_INT unsigned int 3446eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 3456eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#if !defined(RC4_CHUNK) 3466eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble/* 3476eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble * This enables code handling data aligned at natural CPU word 3486eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble * boundary. See crypto/rc4/rc4_enc.c for further details. 3496eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble */ 3506eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#undef RC4_CHUNK 3516eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 3526eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 3536eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble 3546eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) 3556eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble/* If this is set to 'unsigned int' on a DEC Alpha, this gives about a 3566eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble * %20 speed up (longs are 8 bytes, int's are 4). */ 3576eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef DES_LONG 3586eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#define DES_LONG unsigned long 3596eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 3606eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 3616eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble 3626eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) 3636eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#define CONFIG_HEADER_BN_H 3646eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#undef BN_LLONG 3656eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble 3666eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble/* Should we define BN_DIV2W here? */ 3676eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble 3686eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble/* Only one for the following should be defined */ 3696eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#undef SIXTY_FOUR_BIT_LONG 3706eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#undef SIXTY_FOUR_BIT 3716eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#define THIRTY_TWO_BIT 3726eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 3736eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble 3746eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H) 3756eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#define CONFIG_HEADER_RC4_LOCL_H 3766eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble/* if this is defined data[i] is used instead of *data, this is a %20 3776eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble * speedup on x86 */ 3786eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#undef RC4_INDEX 3796eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 3806eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble 3816eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) 3826eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#define CONFIG_HEADER_BF_LOCL_H 3836eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#undef BF_PTR 3846eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif /* HEADER_BF_LOCL_H */ 3856eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble 3866eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H) 3876eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#define CONFIG_HEADER_DES_LOCL_H 3886eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef DES_DEFAULT_OPTIONS 3896eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble/* the following is tweaked from a config script, that is why it is a 3906eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble * protected undef/define */ 3916eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef DES_PTR 3926eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#undef DES_PTR 3936eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 3946eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble 3956eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble/* This helps C compiler generate the correct code for multiple functional 3966eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble * units. It reduces register dependancies at the expense of 2 more 3976eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble * registers */ 3986eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef DES_RISC1 3996eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#undef DES_RISC1 4006eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 4016eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble 4026eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef DES_RISC2 4036eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#undef DES_RISC2 4046eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 4056eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble 4066eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#if defined(DES_RISC1) && defined(DES_RISC2) 4076eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron GambleYOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!! 4086eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 4096eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble 4106eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble/* Unroll the inner loop, this sometimes helps, sometimes hinders. 4116eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble * Very mucy CPU dependant */ 4126eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#ifndef DES_UNROLL 4136eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#undef DES_UNROLL 4146eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 4156eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble 4166eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble/* These default values were supplied by 4176eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble * Peter Gutman <pgut001@cs.auckland.ac.nz> 4186eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble * They are only used if nothing else has been defined */ 4196eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL) 4206eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble/* Special defines which change the way the code is built depending on the 4216eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find 4226eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble even newer MIPS CPU's, but at the moment one size fits all for 4236eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble optimization options. Older Sparc's work better with only UNROLL, but 4246eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble there's no way to tell at compile time what it is you're running on */ 4256eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble 4266eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#if defined( sun ) /* Newer Sparc's */ 4276eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define DES_PTR 4286eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define DES_RISC1 4296eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define DES_UNROLL 4306eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#elif defined( __ultrix ) /* Older MIPS */ 4316eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define DES_PTR 4326eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define DES_RISC2 4336eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define DES_UNROLL 4346eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#elif defined( __osf1__ ) /* Alpha */ 4356eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define DES_PTR 4366eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define DES_RISC2 4376eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#elif defined ( _AIX ) /* RS6000 */ 4386eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble /* Unknown */ 4396eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#elif defined( __hpux ) /* HP-PA */ 4406eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble /* Unknown */ 4416eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#elif defined( __aux ) /* 68K */ 4426eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble /* Unknown */ 4436eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#elif defined( __dgux ) /* 88K (but P6 in latest boxes) */ 4446eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define DES_UNROLL 4456eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#elif defined( __sgi ) /* Newer MIPS */ 4466eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define DES_PTR 4476eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define DES_RISC2 4486eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define DES_UNROLL 4496eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */ 4506eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define DES_PTR 4516eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define DES_RISC1 4526eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble# define DES_UNROLL 4536eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif /* Systems-specific speed defines */ 4546eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif 4556eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble 4566eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif /* DES_DEFAULT_OPTIONS */ 4576eb98cdb6b8b25a0c0f23458a369f3d060914147Aaron Gamble#endif /* HEADER_DES_LOCL_H */ 458c64f6fe2be99cb3fa8e491b5bede9a217de87a4cKenny Root#ifdef __cplusplus 459c64f6fe2be99cb3fa8e491b5bede9a217de87a4cKenny Root} 460c64f6fe2be99cb3fa8e491b5bede9a217de87a4cKenny Root#endif 461