Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove insecure optimizations #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
# CC C compiler; GCC or Clang are fine; MSVC (2015+) works too.
# CFLAGS Compilation flags:
# * Optimization level -O2 or higher is recommended
# See config.h for some possible configuration macros.
# See for some possible configuration macros.
# LD Linker; normally the same command as the compiler.
# LDFLAGS Linker options, not counting the extra libs.
# LIBS Extra libraries for linking:
Expand Down Expand Up @@ -67,44 +67,44 @@ tests/test_falcon: tests/test_falcon.o $(OBJ)
tests/speed: tests/speed.o $(OBJ)
$(LD) $(LDFLAGS) -o tests/speed tests/speed.o $(OBJ) $(LIBS)

codec.o: codec.c config.h inner.h fpr.h
codec.o: codec.c inner.h fpr.h
$(CC) $(CFLAGS) -c -o codec.o codec.c

common.o: common.c config.h inner.h fpr.h
common.o: common.c inner.h fpr.h
$(CC) $(CFLAGS) -c -o common.o common.c

deterministic.o: deterministic.c deterministic.h falcon.h
$(CC) $(CFLAGS) -c -o deterministic.o deterministic.c

falcon.o: falcon.c falcon.h config.h inner.h fpr.h
falcon.o: falcon.c falcon.h inner.h fpr.h
$(CC) $(CFLAGS) -c -o falcon.o falcon.c

fft.o: fft.c config.h inner.h fpr.h
fft.o: fft.c inner.h fpr.h
$(CC) $(CFLAGS) -c -o fft.o fft.c

fpr.o: fpr.c config.h inner.h fpr.h
fpr.o: fpr.c inner.h fpr.h
$(CC) $(CFLAGS) -c -o fpr.o fpr.c

keygen.o: keygen.c config.h inner.h fpr.h
keygen.o: keygen.c inner.h fpr.h
$(CC) $(CFLAGS) -c -o keygen.o keygen.c

rng.o: rng.c config.h inner.h fpr.h
rng.o: rng.c inner.h fpr.h
$(CC) $(CFLAGS) -c -o rng.o rng.c

shake.o: shake.c config.h inner.h fpr.h
shake.o: shake.c inner.h fpr.h
$(CC) $(CFLAGS) -c -o shake.o shake.c

sign.o: sign.c config.h inner.h fpr.h
sign.o: sign.c inner.h fpr.h
$(CC) $(CFLAGS) -c -o sign.o sign.c

tests/speed.o: tests/speed.c falcon.h
$(CC) $(CFLAGS) -c -o tests/speed.o tests/speed.c

tests/test_falcon.o: tests/test_falcon.c falcon.h config.h inner.h fpr.h
tests/test_falcon.o: tests/test_falcon.c falcon.h inner.h fpr.h
$(CC) $(CFLAGS) -c -o tests/test_falcon.o tests/test_falcon.c

tests/test_deterministic.o: tests/test_deterministic.c deterministic.h falcon.h config.h inner.h fpr.h
tests/test_deterministic.o: tests/test_deterministic.c deterministic.h falcon.h inner.h fpr.h
$(CC) $(CFLAGS) -c -o tests/test_deterministic.o tests/test_deterministic.c

vrfy.o: vrfy.c config.h inner.h fpr.h
vrfy.o: vrfy.c inner.h fpr.h
$(CC) $(CFLAGS) -c -o vrfy.o vrfy.c
264 changes: 0 additions & 264 deletions config.h

This file was deleted.

Loading