comparison sysoptions.h @ 847:f4bb964c8678 keyondemand

Add '-R' for delayed hostkey option
author Matt Johnston <matt@ucc.asn.au>
date Thu, 07 Nov 2013 23:49:37 +0800
parents 4365e12c68e6
children 7507b174bba0
comparison
equal deleted inserted replaced
846:b298bb438625 847:f4bb964c8678
102 102
103 #ifdef DROPBEAR_ECC 103 #ifdef DROPBEAR_ECC
104 #define DROPBEAR_LTC_PRNG 104 #define DROPBEAR_LTC_PRNG
105 #endif 105 #endif
106 106
107 // hashes which will be linked and registered 107 /* hashes which will be linked and registered */
108 #if defined(DROPBEAR_SHA2_256_HMAC) || defined(DROPBEAR_ECC_256) 108 #if defined(DROPBEAR_SHA2_256_HMAC) || defined(DROPBEAR_ECC_256)
109 #define DROPBEAR_SHA256 109 #define DROPBEAR_SHA256
110 #endif 110 #endif
111 #if defined(DROPBEAR_ECC_384) 111 #if defined(DROPBEAR_ECC_384)
112 #define DROPBEAR_SHA384 112 #define DROPBEAR_SHA384
113 #endif 113 #endif
114 #if defined(DROPBEAR_SHA2_512_HMAC) || defined(DROPBEAR_ECC_521) 114 /* LTC SHA384 depends on SHA512 */
115 #if defined(DROPBEAR_SHA2_512_HMAC) || defined(DROPBEAR_ECC_521) || defined(DROPBEAR_ECC_384)
115 #define DROPBEAR_SHA512 116 #define DROPBEAR_SHA512
116 #endif 117 #endif
117 #if defined(DROPBEAR_MD5_HMAC) 118 #if defined(DROPBEAR_MD5_HMAC)
118 #define DROPBEAR_MD5 119 #define DROPBEAR_MD5
119 #endif 120 #endif
120 121
121 // roughly 2x 521 bits 122 /* roughly 2x 521 bits */
122 #define MAX_ECC_SIZE 140 123 #define MAX_ECC_SIZE 140
123 124
124 #define MAX_NAME_LEN 64 /* maximum length of a protocol name, isn't 125 #define MAX_NAME_LEN 64 /* maximum length of a protocol name, isn't
125 explicitly specified for all protocols (just 126 explicitly specified for all protocols (just
126 for algos) but seems valid */ 127 for algos) but seems valid */