comparison common-algo.c @ 252:29afa62b5450 insecure-nocrypto

- a hack for grahame to run dropbear with "none" cipher. DO NOT USE IF YOU DON'T KNOW THE CONSEQUENCES Here is your noose. Use it wisely.
author Matt Johnston <matt@ucc.asn.au>
date Fri, 23 Sep 2005 16:29:19 +0000
parents e923801a7678
children 64abb124763d
comparison
equal deleted inserted replaced
251:b02e8eef3c3a 252:29afa62b5450
101 {"twofish128-cbc", 0, (void*)&dropbear_twofish128, 1}, 101 {"twofish128-cbc", 0, (void*)&dropbear_twofish128, 1},
102 #endif 102 #endif
103 #ifdef DROPBEAR_BLOWFISH_CBC 103 #ifdef DROPBEAR_BLOWFISH_CBC
104 {"blowfish-cbc", 0, (void*)&dropbear_blowfish, 1}, 104 {"blowfish-cbc", 0, (void*)&dropbear_blowfish, 1},
105 #endif 105 #endif
106 #ifdef DROPBEAR_NONE_CIPHER
107 {"none", 0, (void*)&dropbear_nocipher, 1},
108 #endif
106 {NULL, 0, NULL, 0} 109 {NULL, 0, NULL, 0}
107 }; 110 };
108 111
109 algo_type sshhashes[] = { 112 algo_type sshhashes[] = {
110 #ifdef DROPBEAR_SHA1_96_HMAC 113 #ifdef DROPBEAR_SHA1_96_HMAC
113 #ifdef DROPBEAR_SHA1_HMAC 116 #ifdef DROPBEAR_SHA1_HMAC
114 {"hmac-sha1", 0, (void*)&dropbear_sha1, 1}, 117 {"hmac-sha1", 0, (void*)&dropbear_sha1, 1},
115 #endif 118 #endif
116 #ifdef DROPBEAR_MD5_HMAC 119 #ifdef DROPBEAR_MD5_HMAC
117 {"hmac-md5", 0, (void*)&dropbear_md5, 1}, 120 {"hmac-md5", 0, (void*)&dropbear_md5, 1},
121 #endif
122 #ifdef DROPBEAR_NONE_INTEGRITY
123 {"none", 0, (void*)&dropbear_nohash, 1},
118 #endif 124 #endif
119 {NULL, 0, NULL, 0} 125 {NULL, 0, NULL, 0}
120 }; 126 };
121 127
122 algo_type sshcompress[] = { 128 algo_type sshcompress[] = {