Mercurial > dropbear
comparison sysoptions.h @ 794:d386defb5376 ecc
more ecdsa signkey work, not correct
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 28 Apr 2013 23:17:43 +0800 |
parents | d1575fdc29a6 |
children | 7f604f9b3756 |
comparison
equal
deleted
inserted
replaced
793:70625eed40c9 | 794:d386defb5376 |
---|---|
57 #define DROPBEAR_ESCAPE_CHAR '~' | 57 #define DROPBEAR_ESCAPE_CHAR '~' |
58 | 58 |
59 /* success/failure defines */ | 59 /* success/failure defines */ |
60 #define DROPBEAR_SUCCESS 0 | 60 #define DROPBEAR_SUCCESS 0 |
61 #define DROPBEAR_FAILURE -1 | 61 #define DROPBEAR_FAILURE -1 |
62 | |
63 enum { | |
64 DROPBEAR_SIGNKEY_ANY, | |
65 DROPBEAR_SIGNKEY_RSA, | |
66 DROPBEAR_SIGNKEY_DSS, | |
67 DROPBEAR_SIGNKEY_ECDSA, | |
68 DROPBEAR_SIGNKEY_NONE, | |
69 }; | |
70 | 62 |
71 /* Required for pubkey auth */ | 63 /* Required for pubkey auth */ |
72 #if defined(ENABLE_SVR_PUBKEY_AUTH) || defined(DROPBEAR_CLIENT) | 64 #if defined(ENABLE_SVR_PUBKEY_AUTH) || defined(DROPBEAR_CLIENT) |
73 #define DROPBEAR_SIGNKEY_VERIFY | 65 #define DROPBEAR_SIGNKEY_VERIFY |
74 #endif | 66 #endif |