X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/3f8f973351d3273e6ef43e1029c0469508aa763c..5bf585d21927a684ae9c16eb2a28cd786cec433c:/Makefile.in diff --git a/Makefile.in b/Makefile.in index 4ec557f..7df4bf6 100644 --- a/Makefile.in +++ b/Makefile.in @@ -63,7 +63,8 @@ OBJECTS:=secnet.o util.o conffile.yy.o conffile.tab.o conffile.o modules.o \ comm-common.o polypath.o \ netlink.o rsa.o dh.o xdh.o serpent.o serpentbe.o \ scaf.o f25519.o x25519.o ed25519.o fgoldi.o x448.o \ - md5.o sha512.o tun.o slip.o sha1.o ipaddr.o log.o \ + md5.o sha512.o keccak1600.o sha3.o \ + tun.o slip.o sha1.o ipaddr.o log.o \ process.o @LIBOBJS@ \ hackypar.o # version.o is handled specially below and in the link rule for secnet. @@ -147,6 +148,7 @@ endif check: eax-aes-test.confirm eax-serpent-test.confirm \ eax-serpentbe-test.confirm check-ipaddrset \ msgcode-test.confirm \ + keccak1600-test.confirm sha3-test.confirm \ f25519-test.confirm x25519-test.confirm ed25519-test.confirm \ fgoldi-test.confirm x448-test.confirm @@ -175,6 +177,20 @@ msgcode-test.confirm: msgcode-test ./msgcode-test touch $@ +keccak1600-test: keccak1600-test.o keccak1600.o crypto-test.o + $(CC) $(LDFLAGS) $(ALL_CFLAGS) -o $@ $^ + +keccak1600-test.confirm: keccak1600-test keccak1600-tests.in + ./keccak1600-test <$(srcdir)/keccak1600-tests.in + touch $@ + +sha3-test: sha3-test.o sha3.o keccak1600.o crypto-test.o + $(CC) $(LDFLAGS) $(ALL_CFLAGS) -o $@ $^ + +sha3-test.confirm: sha3-test sha3-tests.in + ./sha3-test <$(srcdir)/sha3-tests.in + touch $@ + XDH_FUNCS = x25519 x448 x25519_FIELD = f25519 x448_FIELD = fgoldi