Mercurial > dropbear
comparison dbrandom.h @ 1278:0c47d97aa9d5
merge
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 16 Mar 2016 22:53:27 +0800 |
parents | 9169e4e7cbee |
children | 17104db7928c 06d52bcb8094 |
comparison
equal
deleted
inserted
replaced
1264:a20b6af6f182 | 1278:0c47d97aa9d5 |
---|---|
25 #ifndef DROPBEAR_RANDOM_H_ | 25 #ifndef DROPBEAR_RANDOM_H_ |
26 #define DROPBEAR_RANDOM_H_ | 26 #define DROPBEAR_RANDOM_H_ |
27 | 27 |
28 #include "includes.h" | 28 #include "includes.h" |
29 | 29 |
30 void seedrandom(); | 30 void seedrandom(void); |
31 void genrandom(unsigned char* buf, unsigned int len); | 31 void genrandom(unsigned char* buf, unsigned int len); |
32 void addrandom(unsigned char * buf, unsigned int len); | 32 void addrandom(unsigned char * buf, unsigned int len); |
33 void gen_random_mpint(mp_int *max, mp_int *rand); | 33 void gen_random_mpint(mp_int *max, mp_int *rand); |
34 | 34 |
35 #endif /* DROPBEAR_RANDOM_H_ */ | 35 #endif /* DROPBEAR_RANDOM_H_ */ |