Mercurial > dropbear
comparison random.h @ 442:d82a2a44c684
Add -u option to specify /dev/urandom instead
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 16 Apr 2007 13:39:50 +0000 |
parents | 3be7ae2e8dfa |
children | 2cd2edfa11ee |
comparison
equal
deleted
inserted
replaced
441:fdf06a5a54e4 | 442:d82a2a44c684 |
---|---|
31 void reseedrandom(); | 31 void reseedrandom(); |
32 void genrandom(unsigned char* buf, int len); | 32 void genrandom(unsigned char* buf, int len); |
33 void addrandom(unsigned char* buf, int len); | 33 void addrandom(unsigned char* buf, int len); |
34 void gen_random_mpint(mp_int *max, mp_int *rand); | 34 void gen_random_mpint(mp_int *max, mp_int *rand); |
35 | 35 |
36 extern const char * random_dev; | |
37 | |
36 #endif /* _RANDOM_H_ */ | 38 #endif /* _RANDOM_H_ */ |