Mercurial > dropbear
comparison ssh.h @ 1675:ae41624c2198
split signkey_type and signature_type for RSA sha1 vs sha256
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 17 May 2020 23:58:31 +0800 |
parents | ba6fc7afe1c5 |
children | d5cdc60db08e |
comparison
equal
deleted
inserted
replaced
1674:ba6fc7afe1c5 | 1675:ae41624c2198 |
---|---|
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" | 108 #define SSH_SIGNKEY_ED25519 "ssh-ed25519" |
109 #define SSH_SIGNKEY_ED25519_LEN 11 | 109 #define SSH_SIGNKEY_ED25519_LEN 11 |
110 /* signature type */ | 110 /* signature type */ |
111 #define SSH_SIGNKEY_RSA_SHA256 "rsa-sha2-256" | 111 #define SSH_SIGNATURE_RSA_SHA256 "rsa-sha2-256" |
112 | 112 |
113 /* Agent commands. These aren't part of the spec, and are defined | 113 /* Agent commands. These aren't part of the spec, and are defined |
114 * only on the openssh implementation. */ | 114 * only on the openssh implementation. */ |
115 #define SSH_AGENT_FAILURE 5 | 115 #define SSH_AGENT_FAILURE 5 |
116 #define SSH_AGENT_SUCCESS 6 | 116 #define SSH_AGENT_SUCCESS 6 |