diff options
author | Leah Neukirchen <leah@vuxu.org> | 2020-04-19 16:09:31 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2020-04-19 16:09:31 +0200 |
commit | bbe81e6c871e9556ce224a9039c7d8eb507276b2 (patch) | |
tree | 828058ec18346010474e59c2a0d59d8e05b4ae8b /Makefile | |
parent | 91a136ea9bfbffe691540becd67a4efba5cec16d (diff) | |
download | rdd-master.tar.gz rdd-master.tar.xz rdd-master.zip |
This is actually even faster (and comparable in speed with the reference implementation), and also has received substantial cryptanalysis.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile index ea91cfa..f172b30 100644 --- a/Makefile +++ b/Makefile @@ -1,19 +1,23 @@ ALL=rdd CFLAGS=-g -O3 -Wall -Wno-switch -Wextra -Wwrite-strings +CPPFLAGS=-I./chacha-opt/app/include DESTDIR= PREFIX=/usr/local BINDIR=$(PREFIX)/bin MANDIR=$(PREFIX)/share/man -all: $(ALL) +all: $(ALL) chacha-opt/bin/chacha.lib clean: FRC rm -f $(ALL) *.o + make -C chacha-opt clean -rdd: sosemanuk.o rdd.o -rdd.c: sosemanuk.h +rdd: rdd.o chacha-opt/bin/chacha.lib + +chacha-opt/bin/chacha.lib: + cd chacha-opt && ./configure && make install: FRC all mkdir -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man1 $(DESTDIR)$(ZSHCOMPDIR) |