comparison common-algo.c @ 1659:d32bcb5c557d

Add Ed25519 support (#91) * Add support for Ed25519 as a public key type Ed25519 is a elliptic curve signature scheme that offers better security than ECDSA and DSA and good performance. It may be used for both user and host keys. OpenSSH key import and fuzzer are not supported yet. Initially inspired by Peter Szabo. * Add curve25519 and ed25519 fuzzers * Add import and export of Ed25519 keys
author Vladislav Grishenko <themiron@users.noreply.github.com>
date Wed, 11 Mar 2020 21:09:45 +0500
parents 049b28f4be4a
children 3a97f14c0235 ba6fc7afe1c5
comparison
equal deleted inserted replaced
1658:7402218141d4 1659:d32bcb5c557d
220 {"none", DROPBEAR_COMP_NONE, NULL, 1, NULL}, 220 {"none", DROPBEAR_COMP_NONE, NULL, 1, NULL},
221 {NULL, 0, NULL, 0, NULL} 221 {NULL, 0, NULL, 0, NULL}
222 }; 222 };
223 223
224 algo_type sshhostkey[] = { 224 algo_type sshhostkey[] = {
225 #if DROPBEAR_ED25519
226 {"ssh-ed25519", DROPBEAR_SIGNKEY_ED25519, NULL, 1, NULL},
227 #endif
225 #if DROPBEAR_ECDSA 228 #if DROPBEAR_ECDSA
226 #if DROPBEAR_ECC_256 229 #if DROPBEAR_ECC_256
227 {"ecdsa-sha2-nistp256", DROPBEAR_SIGNKEY_ECDSA_NISTP256, NULL, 1, NULL}, 230 {"ecdsa-sha2-nistp256", DROPBEAR_SIGNKEY_ECDSA_NISTP256, NULL, 1, NULL},
228 #endif 231 #endif
229 #if DROPBEAR_ECC_384 232 #if DROPBEAR_ECC_384