Files
Spencer WilsonandGitHub 414729d68b Update HQC to 2023-04-30 submission (#512)
* Remove HQC avx2 implementations

* Rename HQC-RMRS -> HQC

* Latest version of HQC (2023/04/30) with patches

* Workaround to use different RNG for HQC KATs

* Satisfy Windows compiler

* Default to nistkat-rng: nist in META.yml
2023-10-16 15:43:07 +02:00

20 lines
624 B
Makefile

# This Makefile can be used with GNU Make or BSD Make
LIB=libhqc-192_clean.a
HEADERS=api.h code.h domains.h fft.h gf.h gf2x.h hqc.h parameters.h parsing.h reed_muller.h reed_solomon.h shake_ds.h shake_prng.h vector.h
OBJECTS=code.o fft.o gf.o gf2x.o hqc.o kem.o parsing.o reed_muller.o reed_solomon.o shake_ds.o shake_prng.o vector.o
CFLAGS=-O3 -Wall -Wextra -Wpedantic -Wshadow -Wvla -Werror -Wredundant-decls -Wmissing-prototypes -std=c99 -I../../../common $(EXTRAFLAGS)
all: $(LIB)
%.o: %.c $(HEADERS)
$(CC) $(CFLAGS) -c -o $@ $<
$(LIB): $(OBJECTS)
$(AR) -r $@ $(OBJECTS)
clean:
$(RM) $(OBJECTS)
$(RM) $(LIB)