start on ecdsa keys

--HG--
branch : ecc
This commit is contained in:
Matt Johnston
2013-04-09 00:36:04 +08:00
parent 4f07805d0a
commit 7f091e7019
16 changed files with 157 additions and 84 deletions

View File

@@ -188,6 +188,7 @@ int main(int argc, char ** argv) {
exit(EXIT_FAILURE);
}
// TODO: put RSA and DSS size checks into genrsa.c etc
if (keytype == DROPBEAR_SIGNKEY_DSS && bits != 1024) {
fprintf(stderr, "DSS keys have a fixed size of 1024 bits\n");
exit(EXIT_FAILURE);