Commit 51f7c5a6 authored by Ben Laurie's avatar Ben Laurie
Browse files

Add test.

parent fc0376e2
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -73,6 +73,17 @@ tags:

tests:

top_fips_sha1test:
	(cd ../..; $(MAKE) DIRS=fips FDIRS=$(DIR) TARGET=fips_sha1test sub_target)

fips_sha1test: fips_sha1test.o ../../libcrypto.a
	$(CC) $(CFLAGS) -o fips_sha1test fips_sha1test.o ../../libcrypto.a

fips_test: top_fips_sha1test
	-rm -rf ../testvectors/sha1/rsp
	mkdir ../testvectors/sha1/rsp
	./fips_sha1test ../testvectors/sha1/req/sha.req  > ../testvectors/sha1/rsp/sha.rsp

lint:
	lint -DLINT $(INCLUDES) $(SRC)>fluff