comparison ssh.h @ 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 79bf1023cf11
children ba6fc7afe1c5
comparison
equal deleted inserted replaced
1658:7402218141d4 1659:d32bcb5c557d
103 /* public key types */ 103 /* public key types */
104 #define SSH_SIGNKEY_DSS "ssh-dss" 104 #define SSH_SIGNKEY_DSS "ssh-dss"
105 #define SSH_SIGNKEY_DSS_LEN 7 105 #define SSH_SIGNKEY_DSS_LEN 7
106 #define SSH_SIGNKEY_RSA "ssh-rsa" 106 #define SSH_SIGNKEY_RSA "ssh-rsa"
107 #define SSH_SIGNKEY_RSA_LEN 7 107 #define SSH_SIGNKEY_RSA_LEN 7
108 #define SSH_SIGNKEY_ED25519 "ssh-ed25519"
109 #define SSH_SIGNKEY_ED25519_LEN 11
108 110
109 /* Agent commands. These aren't part of the spec, and are defined 111 /* Agent commands. These aren't part of the spec, and are defined
110 * only on the openssh implementation. */ 112 * only on the openssh implementation. */
111 #define SSH_AGENT_FAILURE 5 113 #define SSH_AGENT_FAILURE 5
112 #define SSH_AGENT_SUCCESS 6 114 #define SSH_AGENT_SUCCESS 6