Mercurial > dropbear
comparison gensignkey.c @ 855:04ede40a529a
- Some fixes for old compilers like tru64 v4 from Daniel Richard G.
- Don't warn about blocking random device for prngd
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 14 Nov 2013 21:36:45 +0800 |
parents | 7540c0822374 |
children | c19acba28590 |
comparison
equal
deleted
inserted
replaced
854:ccc76acaf4c7 | 855:04ede40a529a |
---|---|
3 #include "buffer.h" | 3 #include "buffer.h" |
4 #include "ecdsa.h" | 4 #include "ecdsa.h" |
5 #include "genrsa.h" | 5 #include "genrsa.h" |
6 #include "gendss.h" | 6 #include "gendss.h" |
7 #include "signkey.h" | 7 #include "signkey.h" |
8 #include "random.h" | |
8 | 9 |
9 #define RSA_DEFAULT_SIZE 2048 | 10 #define RSA_DEFAULT_SIZE 2048 |
10 #define DSS_DEFAULT_SIZE 1024 | 11 #define DSS_DEFAULT_SIZE 1024 |
11 | 12 |
12 // Returns DROPBEAR_SUCCESS or DROPBEAR_FAILURE | 13 // Returns DROPBEAR_SUCCESS or DROPBEAR_FAILURE |