Mercurial > dropbear
comparison common-algo.c @ 795:7f604f9b3756 ecc
ecdsa is working
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 03 May 2013 23:07:48 +0800 |
parents | d1575fdc29a6 |
children | 7dcb46da72d9 |
comparison
equal
deleted
inserted
replaced
794:d386defb5376 | 795:7f604f9b3756 |
---|---|
205 {"none", DROPBEAR_COMP_NONE, NULL, 1, NULL}, | 205 {"none", DROPBEAR_COMP_NONE, NULL, 1, NULL}, |
206 {NULL, 0, NULL, 0, NULL} | 206 {NULL, 0, NULL, 0, NULL} |
207 }; | 207 }; |
208 | 208 |
209 algo_type sshhostkey[] = { | 209 algo_type sshhostkey[] = { |
210 #ifdef DROPBEAR_ECDSA | |
211 #ifdef DROPBEAR_ECC_256 | |
212 {"ecdsa-sha2-nistp256", DROPBEAR_SIGNKEY_ECDSA_NISTP256, NULL, 1, NULL}, | |
213 #endif | |
214 #ifdef DROPBEAR_ECC_384 | |
215 {"ecdsa-sha2-nistp384", DROPBEAR_SIGNKEY_ECDSA_NISTP384, NULL, 1, NULL}, | |
216 #endif | |
217 #ifdef DROPBEAR_ECC_521 | |
218 {"ecdsa-sha2-nistp521", DROPBEAR_SIGNKEY_ECDSA_NISTP521, NULL, 1, NULL}, | |
219 #endif | |
220 #endif | |
210 #ifdef DROPBEAR_RSA | 221 #ifdef DROPBEAR_RSA |
211 {"ssh-rsa", DROPBEAR_SIGNKEY_RSA, NULL, 1, NULL}, | 222 {"ssh-rsa", DROPBEAR_SIGNKEY_RSA, NULL, 1, NULL}, |
212 #endif | 223 #endif |
213 #ifdef DROPBEAR_DSS | 224 #ifdef DROPBEAR_DSS |
214 {"ssh-dss", DROPBEAR_SIGNKEY_DSS, NULL, 1, NULL}, | 225 {"ssh-dss", DROPBEAR_SIGNKEY_DSS, NULL, 1, NULL}, |