Mercurial > dropbear
comparison sysoptions.h @ 766:d1575fdc29a6 ecc
start on ecdsa keys
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 09 Apr 2013 00:36:04 +0800 |
parents | a78a38e402d1 |
children | d386defb5376 |
comparison
equal
deleted
inserted
replaced
765:5503e05ab3a4 | 766:d1575fdc29a6 |
---|---|
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 | 62 |
63 #define DROPBEAR_SIGNKEY_ANY 0 | 63 enum { |
64 #define DROPBEAR_SIGNKEY_RSA 1 | 64 DROPBEAR_SIGNKEY_ANY, |
65 #define DROPBEAR_SIGNKEY_DSS 2 | 65 DROPBEAR_SIGNKEY_RSA, |
66 #define DROPBEAR_SIGNKEY_NONE 3 | 66 DROPBEAR_SIGNKEY_DSS, |
67 DROPBEAR_SIGNKEY_ECDSA, | |
68 DROPBEAR_SIGNKEY_NONE, | |
69 }; | |
67 | 70 |
68 /* Required for pubkey auth */ | 71 /* Required for pubkey auth */ |
69 #if defined(ENABLE_SVR_PUBKEY_AUTH) || defined(DROPBEAR_CLIENT) | 72 #if defined(ENABLE_SVR_PUBKEY_AUTH) || defined(DROPBEAR_CLIENT) |
70 #define DROPBEAR_SIGNKEY_VERIFY | 73 #define DROPBEAR_SIGNKEY_VERIFY |
71 #endif | 74 #endif |