comparison Makefile.in @ 1655:f52919ffd3b1

update ltm to 1.1.0 and enable FIPS 186.4 compliant key-generation (#79) * make key-generation compliant to FIPS 186.4 * fix includes in tommath_class.h * update fuzzcorpus instead of error-out * fixup fuzzing make-targets * update Makefile.in * apply necessary patches to ltm sources * clean-up not required ltm files * update to vanilla ltm 1.1.0 this already only contains the required files * remove set/get double
author Steffen Jaeckel <s_jaeckel@gmx.de>
date Mon, 16 Sep 2019 15:50:38 +0200
parents cc0fc5131c5c
children d32bcb5c557d
comparison
equal deleted inserted replaced
1654:cc0fc5131c5c 1655:f52919ffd3b1
276 fuzzstandalone: fuzz-harness.o fuzz-targets 276 fuzzstandalone: fuzz-harness.o fuzz-targets
277 277
278 # exclude svr-main.o to avoid duplicate main 278 # exclude svr-main.o to avoid duplicate main
279 svrfuzzobjs=$(subst svr-main.o, ,$(dropbearobjs)) 279 svrfuzzobjs=$(subst svr-main.o, ,$(dropbearobjs))
280 280
281 fuzz-harness.o: $(HEADERS) $(LIBTOM_DEPS) Makefile $(svrfuzzobjs) fuzz-common.o
282
281 # build all the fuzzers. This will require fail to link unless built with 283 # build all the fuzzers. This will require fail to link unless built with
282 # make fuzz-targets FUZZLIB=-lFuzzer.a 284 # make fuzz-targets FUZZLIB=-lFuzzer.a
283 # or similar - the library provides main(). 285 # or similar - the library provides main().
284 fuzz-targets: $(FUZZ_TARGETS) $(FUZZER_OPTIONS) 286 fuzz-targets: $(FUZZ_TARGETS) $(FUZZER_OPTIONS)
285 287
286 fuzzer-preauth: fuzzer-preauth.o $(HEADERS) $(LIBTOM_DEPS) Makefile $(svrfuzzobjs) 288 fuzzer-preauth: fuzzer-preauth.o fuzz-harness.o
287 $(CXX) $(CXXFLAGS) [email protected] $(LDFLAGS) $(svrfuzzobjs) -o [email protected]$(EXEEXT) $(LIBTOM_LIBS) $(LIBS) $(FUZZLIB) @[email protected] 289 $(CXX) $(CXXFLAGS) [email protected] $(LDFLAGS) $(svrfuzzobjs) -o [email protected]$(EXEEXT) $(LIBTOM_LIBS) $(LIBS) $(FUZZLIB) @[email protected]
288 290
289 fuzzer-preauth_nomaths: fuzzer-preauth_nomaths.o $(HEADERS) $(LIBTOM_DEPS) Makefile $(svrfuzzobjs) 291 fuzzer-preauth_nomaths: fuzzer-preauth_nomaths.o fuzz-harness.o
290 $(CXX) $(CXXFLAGS) [email protected] $(LDFLAGS) $(svrfuzzobjs) -o [email protected]$(EXEEXT) $(LIBTOM_LIBS) $(LIBS) $(FUZZLIB) @[email protected] 292 $(CXX) $(CXXFLAGS) [email protected] $(LDFLAGS) $(svrfuzzobjs) -o [email protected]$(EXEEXT) $(LIBTOM_LIBS) $(LIBS) $(FUZZLIB) @[email protected]
291 293
292 fuzzer-pubkey: fuzzer-pubkey.o $(HEADERS) $(LIBTOM_DEPS) Makefile $(svrfuzzobjs) 294 fuzzer-pubkey: fuzzer-pubkey.o fuzz-harness.o
293 $(CXX) $(CXXFLAGS) [email protected] $(LDFLAGS) $(svrfuzzobjs) -o [email protected]$(EXEEXT) $(LIBTOM_LIBS) $(LIBS) $(FUZZLIB) @[email protected] 295 $(CXX) $(CXXFLAGS) [email protected] $(LDFLAGS) $(svrfuzzobjs) -o [email protected]$(EXEEXT) $(LIBTOM_LIBS) $(LIBS) $(FUZZLIB) @[email protected]
294 296
295 fuzzer-verify: fuzzer-verify.o $(HEADERS) $(LIBTOM_DEPS) Makefile $(svrfuzzobjs) 297 fuzzer-verify: fuzzer-verify.o fuzz-harness.o
296 $(CXX) $(CXXFLAGS) [email protected] $(LDFLAGS) $(svrfuzzobjs) -o [email protected]$(EXEEXT) $(LIBTOM_LIBS) $(LIBS) $(FUZZLIB) @[email protected] 298 $(CXX) $(CXXFLAGS) [email protected] $(LDFLAGS) $(svrfuzzobjs) -o [email protected]$(EXEEXT) $(LIBTOM_LIBS) $(LIBS) $(FUZZLIB) @[email protected]
297 299
298 fuzzer-kexdh: fuzzer-kexdh.o $(HEADERS) $(LIBTOM_DEPS) Makefile $(svrfuzzobjs) 300 fuzzer-kexdh: fuzzer-kexdh.o fuzz-harness.o
299 $(CXX) $(CXXFLAGS) [email protected] $(LDFLAGS) $(svrfuzzobjs) -o [email protected]$(EXEEXT) $(LIBTOM_LIBS) $(LIBS) $(FUZZLIB) @[email protected] 301 $(CXX) $(CXXFLAGS) [email protected] $(LDFLAGS) $(svrfuzzobjs) -o [email protected]$(EXEEXT) $(LIBTOM_LIBS) $(LIBS) $(FUZZLIB) @[email protected]
300 302
301 fuzzer-kexecdh: fuzzer-kexecdh.o $(HEADERS) $(LIBTOM_DEPS) Makefile $(svrfuzzobjs) 303 fuzzer-kexecdh: fuzzer-kexecdh.o fuzz-harness.o
302 $(CXX) $(CXXFLAGS) [email protected] $(LDFLAGS) $(svrfuzzobjs) -o [email protected]$(EXEEXT) $(LIBTOM_LIBS) $(LIBS) $(FUZZLIB) @[email protected] 304 $(CXX) $(CXXFLAGS) [email protected] $(LDFLAGS) $(svrfuzzobjs) -o [email protected]$(EXEEXT) $(LIBTOM_LIBS) $(LIBS) $(FUZZLIB) @[email protected]
303 305
304 fuzzer-%.options: Makefile 306 fuzzer-%.options: Makefile
305 echo "[libfuzzer]" > [email protected] 307 echo "[libfuzzer]" > [email protected]
306 echo "max_len = 50000" >> [email protected] 308 echo "max_len = 50000" >> [email protected]