Mercurial > dropbear
comparison dbrandom.c @ 1369:ddfcadca3c4c fuzz
fuzzer-pubkey
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 23 May 2017 22:43:34 +0800 |
parents | 6b89eb92f872 |
children | 798854f62430 |
comparison
equal
deleted
inserted
replaced
1368:10df23099071 | 1369:ddfcadca3c4c |
---|---|
180 fclose(f); | 180 fclose(f); |
181 #endif | 181 #endif |
182 } | 182 } |
183 | 183 |
184 #ifdef DROPBEAR_FUZZ | 184 #ifdef DROPBEAR_FUZZ |
185 void seedfuzz(void) { | 185 void fuzz_seed(void) { |
186 hash_state hs; | 186 hash_state hs; |
187 sha1_init(&hs); | 187 sha1_init(&hs); |
188 sha1_process(&hs, "fuzzfuzzfuzz", strlen("fuzzfuzzfuzz")); | 188 sha1_process(&hs, "fuzzfuzzfuzz", strlen("fuzzfuzzfuzz")); |
189 sha1_done(&hs, hashpool); | 189 sha1_done(&hs, hashpool); |
190 | 190 |