Home | History | Annotate | Download | only in dropbear

Lines Matching defs:keytype

61 static void printpubkey(sign_key * key, int keytype);
97 int keytype = -1;
168 keytype = DROPBEAR_SIGNKEY_RSA;
174 keytype = DROPBEAR_SIGNKEY_DSS;
179 if (keytype == -1) {
199 if (keytype == DROPBEAR_SIGNKEY_DSS) {
201 } else if (keytype == DROPBEAR_SIGNKEY_RSA) {
219 switch(keytype) {
237 buf_put_priv_key(buf, key, keytype);
244 printpubkey(key, keytype);
256 int keytype;
269 keytype = DROPBEAR_SIGNKEY_ANY;
272 ret = buf_get_priv_key(buf, key, &keytype);
278 printpubkey(key, keytype);
293 static void printpubkey(sign_key * key, int keytype) {
307 buf_put_pub_key(buf, key, keytype);
319 typestring = signkey_name_from_type(keytype, &err);