From 9f24cdf74c93aa75416687972e69b5b4c8be2698 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Fri, 12 May 2017 23:14:54 +0800 Subject: copy over some fuzzing code from AFL branch --HG-- branch : fuzz --- Makefile.in | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index d9bfdfa..286e25a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -223,3 +223,14 @@ distclean: clean tidy tidy: -rm -f *~ *.gcov */*~ + +# run this manually for fuzzing. hostkeys.c is checked in. +hostkeys: + dropbearkey -t rsa -f keyr + dropbearkey -t dss -f keyd + dropbearkey -t ecdsa -size 256 -f keye + echo > hostkeys.c + /usr/bin/xxd -i -a keyr >> hostkeys.c + /usr/bin/xxd -i -a keye >> hostkeys.c + /usr/bin/xxd -i -a keyd >> hostkeys.c + -- cgit v1.2.3