Mercurial > dropbear
comparison fuzz.h @ 1757:517fb7b62438
Add some more variation to fuzzer random number generation
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 23 Oct 2020 23:32:44 +0800 |
parents | 3b9b427925a0 |
children | 1365661f6be6 |
comparison
equal
deleted
inserted
replaced
1756:d5680e12ac33 | 1757:517fb7b62438 |
---|---|
27 void fuzz_kex_fakealgos(void); | 27 void fuzz_kex_fakealgos(void); |
28 int fuzz_checkpubkey_line(buffer* line, int line_num, char* filename, | 28 int fuzz_checkpubkey_line(buffer* line, int line_num, char* filename, |
29 const char* algo, unsigned int algolen, | 29 const char* algo, unsigned int algolen, |
30 const unsigned char* keyblob, unsigned int keybloblen); | 30 const unsigned char* keyblob, unsigned int keybloblen); |
31 extern const char * const * fuzz_signkey_names; | 31 extern const char * const * fuzz_signkey_names; |
32 void fuzz_seed(void); | 32 void fuzz_seed(const unsigned char* dat, unsigned int len); |
33 | 33 |
34 // helpers | 34 // helpers |
35 void fuzz_get_socket_address(int fd, char **local_host, char **local_port, | 35 void fuzz_get_socket_address(int fd, char **local_host, char **local_port, |
36 char **remote_host, char **remote_port, int host_lookup); | 36 char **remote_host, char **remote_port, int host_lookup); |
37 void fuzz_fake_send_kexdh_reply(void); | 37 void fuzz_fake_send_kexdh_reply(void); |