comparison fuzz.h @ 1746:28ab2cdb84bf

Fix fuzzer build
author Matt Johnston <matt@ucc.asn.au>
date Sun, 18 Oct 2020 23:32:39 +0800
parents d1b279aa5ed1
children 3b9b427925a0
comparison
equal deleted inserted replaced
1745:a6824c54962a 1746:28ab2cdb84bf
18 // must be called once per fuzz iteration. 18 // must be called once per fuzz iteration.
19 // returns DROPBEAR_SUCCESS or DROPBEAR_FAILURE 19 // returns DROPBEAR_SUCCESS or DROPBEAR_FAILURE
20 int fuzz_set_input(const uint8_t *Data, size_t Size); 20 int fuzz_set_input(const uint8_t *Data, size_t Size);
21 21
22 int fuzz_run_preauth(const uint8_t *Data, size_t Size, int skip_kexmaths); 22 int fuzz_run_preauth(const uint8_t *Data, size_t Size, int skip_kexmaths);
23 int fuzz_run_client(const uint8_t *Data, size_t Size, int skip_kexmaths);
23 const void* fuzz_get_algo(const algo_type *algos, const char* name); 24 const void* fuzz_get_algo(const algo_type *algos, const char* name);
24 25
25 // fuzzer functions that intrude into general code 26 // fuzzer functions that intrude into general code
26 void fuzz_kex_fakealgos(void); 27 void fuzz_kex_fakealgos(void);
27 int fuzz_checkpubkey_line(buffer* line, int line_num, char* filename, 28 int fuzz_checkpubkey_line(buffer* line, int line_num, char* filename,