comparison dropbearkey.c @ 840:5128e525c8fa ecc

Default to some larger key sizes
author Matt Johnston <matt@ucc.asn.au>
date Thu, 31 Oct 2013 22:49:15 +0800
parents 75509065db53
children d4ce5269a439
comparison
equal deleted inserted replaced
835:4095b6d7c9fc 840:5128e525c8fa
55 #include "crypto_desc.h" 55 #include "crypto_desc.h"
56 #include "random.h" 56 #include "random.h"
57 57
58 static void printhelp(char * progname); 58 static void printhelp(char * progname);
59 59
60 #define RSA_DEFAULT_SIZE 1024 60 #define RSA_DEFAULT_SIZE 2048
61 #define DSS_DEFAULT_SIZE 1024 61 #define DSS_DEFAULT_SIZE 1024
62 62
63 static void buf_writefile(buffer * buf, const char * filename); 63 static void buf_writefile(buffer * buf, const char * filename);
64 static void printpubkey(sign_key * key, int keytype); 64 static void printpubkey(sign_key * key, int keytype);
65 static void justprintpub(const char* filename); 65 static void justprintpub(const char* filename);