diff --git a/common/keccak4x/Makefile b/common/keccak4x/Makefile deleted file mode 100644 index 822ac224..00000000 --- a/common/keccak4x/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -KeccakP-1600-times4-SIMD256.o: KeccakP-1600-times4-SIMD256.c \ - align.h brg_endian.h KeccakP-1600-times4-SnP.h \ - KeccakP-1600-unrolling.macros SIMD256-config.h - $(CC) -O3 -mavx2 -c $< -o $@ - -.PHONY: clean -clean: - $(RM) KeccakP-1600-times4-SIMD256.o diff --git a/crypto_kem/firesaber/avx2/Makefile b/crypto_kem/firesaber/avx2/Makefile deleted file mode 100644 index 1ecd3c1a..00000000 --- a/crypto_kem/firesaber/avx2/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libfiresaber_avx2.a -HEADERS=api.h cbd.h pack_unpack.h poly.h SABER_indcpa.h SABER_params.h verify.h -OBJECTS=cbd.o kem.o pack_unpack.o poly.o poly_mul.o SABER_indcpa.o verify.o - -CFLAGS=-O3 -mavx2 -Wall -Wextra -Wpedantic -Wvla -Werror -Wredundant-decls -Wmissing-prototypes -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.s $(HEADERS) - $(AS) -o $@ $< - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/firesaber/clean/Makefile b/crypto_kem/firesaber/clean/Makefile deleted file mode 100644 index 8f8dd8f7..00000000 --- a/crypto_kem/firesaber/clean/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libfiresaber_clean.a -HEADERS=api.h cbd.h pack_unpack.h poly.h poly_mul.h SABER_indcpa.h SABER_params.h verify.h -OBJECTS=cbd.o kem.o pack_unpack.o poly.o poly_mul.o SABER_indcpa.o verify.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -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) diff --git a/crypto_kem/frodokem1344aes/clean/Makefile b/crypto_kem/frodokem1344aes/clean/Makefile deleted file mode 100644 index 546e887d..00000000 --- a/crypto_kem/frodokem1344aes/clean/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libfrodokem1344aes_clean.a -HEADERS=api.h params.h common.h -OBJECTS=kem.o matrix_aes.o noise.o util.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/frodokem1344aes/opt/Makefile b/crypto_kem/frodokem1344aes/opt/Makefile deleted file mode 100644 index f15cc3e3..00000000 --- a/crypto_kem/frodokem1344aes/opt/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libfrodokem1344aes_opt.a -HEADERS=api.h params.h common.h -OBJECTS=kem.o matrix_aes.o noise.o util.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -Wvla -Werror -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) diff --git a/crypto_kem/frodokem1344shake/clean/Makefile b/crypto_kem/frodokem1344shake/clean/Makefile deleted file mode 100644 index 0f21a201..00000000 --- a/crypto_kem/frodokem1344shake/clean/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libfrodokem1344shake_clean.a -HEADERS=api.h params.h common.h -OBJECTS=kem.o matrix_shake.o noise.o util.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/frodokem1344shake/opt/Makefile b/crypto_kem/frodokem1344shake/opt/Makefile deleted file mode 100644 index f8c5fd4a..00000000 --- a/crypto_kem/frodokem1344shake/opt/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libfrodokem1344shake_opt.a -HEADERS=api.h params.h common.h -OBJECTS=kem.o matrix_shake.o noise.o util.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -Wvla -Werror -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) diff --git a/crypto_kem/frodokem640aes/clean/Makefile b/crypto_kem/frodokem640aes/clean/Makefile deleted file mode 100644 index efddb726..00000000 --- a/crypto_kem/frodokem640aes/clean/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libfrodokem640aes_clean.a -HEADERS=api.h params.h common.h -OBJECTS=kem.o matrix_aes.o noise.o util.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/frodokem640aes/opt/Makefile b/crypto_kem/frodokem640aes/opt/Makefile deleted file mode 100644 index 1dfc87fc..00000000 --- a/crypto_kem/frodokem640aes/opt/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libfrodokem640aes_opt.a -HEADERS=api.h params.h common.h -OBJECTS=kem.o matrix_aes.o noise.o util.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -Wvla -Werror -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) diff --git a/crypto_kem/frodokem640shake/clean/Makefile b/crypto_kem/frodokem640shake/clean/Makefile deleted file mode 100644 index af1010fb..00000000 --- a/crypto_kem/frodokem640shake/clean/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libfrodokem640shake_clean.a -HEADERS=api.h params.h common.h -OBJECTS=kem.o matrix_shake.o noise.o util.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/frodokem640shake/opt/Makefile b/crypto_kem/frodokem640shake/opt/Makefile deleted file mode 100644 index 6059e5df..00000000 --- a/crypto_kem/frodokem640shake/opt/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libfrodokem640shake_opt.a -HEADERS=api.h params.h common.h -OBJECTS=kem.o matrix_shake.o noise.o util.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -Wvla -Werror -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) diff --git a/crypto_kem/frodokem976aes/clean/Makefile b/crypto_kem/frodokem976aes/clean/Makefile deleted file mode 100644 index 02d18827..00000000 --- a/crypto_kem/frodokem976aes/clean/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libfrodokem976aes_clean.a -HEADERS=api.h params.h common.h -OBJECTS=kem.o matrix_aes.o noise.o util.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/frodokem976aes/opt/Makefile b/crypto_kem/frodokem976aes/opt/Makefile deleted file mode 100644 index f61cff68..00000000 --- a/crypto_kem/frodokem976aes/opt/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libfrodokem976aes_opt.a -HEADERS=api.h params.h common.h -OBJECTS=kem.o matrix_aes.o noise.o util.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -Wvla -Werror -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) diff --git a/crypto_kem/frodokem976shake/clean/Makefile b/crypto_kem/frodokem976shake/clean/Makefile deleted file mode 100644 index ac582018..00000000 --- a/crypto_kem/frodokem976shake/clean/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libfrodokem976shake_clean.a -HEADERS=api.h params.h common.h -OBJECTS=kem.o matrix_shake.o noise.o util.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/frodokem976shake/opt/Makefile b/crypto_kem/frodokem976shake/opt/Makefile deleted file mode 100644 index f1a31b0b..00000000 --- a/crypto_kem/frodokem976shake/opt/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libfrodokem976shake_opt.a -HEADERS=api.h params.h common.h -OBJECTS=kem.o matrix_shake.o noise.o util.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -Wvla -Werror -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) diff --git a/crypto_kem/hqc-rmrs-128/avx2/Makefile b/crypto_kem/hqc-rmrs-128/avx2/Makefile deleted file mode 100644 index 1567079d..00000000 --- a/crypto_kem/hqc-rmrs-128/avx2/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libhqc-rmrs-128_avx2.a -HEADERS=api.h code.h fft.h gf2x.h gf.h hqc.h parameters.h parsing.h reed_muller.h reed_solomon.h vector.h -OBJECTS=code.o fft.o gf2x.o gf.o hqc.o kem.o parsing.o reed_muller.o reed_solomon.o vector.o - -CFLAGS=-O3 -mavx2 -mbmi -mpclmul -Wall -Wextra -Wshadow -Wpedantic -Wvla -Werror -Wredundant-decls -Wmissing-prototypes -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.s $(HEADERS) - $(AS) -o $@ $< - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/hqc-rmrs-128/clean/Makefile b/crypto_kem/hqc-rmrs-128/clean/Makefile deleted file mode 100644 index 5a8b0602..00000000 --- a/crypto_kem/hqc-rmrs-128/clean/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libhqc-rmrs-128_clean.a -HEADERS=api.h code.h fft.h gf2x.h gf.h hqc.h parameters.h parsing.h reed_muller.h reed_solomon.h vector.h -OBJECTS=code.o fft.o gf2x.o gf.o hqc.o kem.o parsing.o reed_muller.o reed_solomon.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) diff --git a/crypto_kem/hqc-rmrs-192/avx2/Makefile b/crypto_kem/hqc-rmrs-192/avx2/Makefile deleted file mode 100644 index 5c78714e..00000000 --- a/crypto_kem/hqc-rmrs-192/avx2/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libhqc-rmrs-192_avx2.a -HEADERS=api.h code.h fft.h gf2x.h gf.h hqc.h parameters.h parsing.h reed_muller.h reed_solomon.h vector.h -OBJECTS=code.o fft.o gf2x.o gf.o hqc.o kem.o parsing.o reed_muller.o reed_solomon.o vector.o - -CFLAGS=-O3 -mavx2 -mbmi -mpclmul -Wall -Wextra -Wshadow -Wpedantic -Wvla -Werror -Wredundant-decls -Wmissing-prototypes -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.s $(HEADERS) - $(AS) -o $@ $< - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/hqc-rmrs-192/clean/Makefile b/crypto_kem/hqc-rmrs-192/clean/Makefile deleted file mode 100644 index 79173db0..00000000 --- a/crypto_kem/hqc-rmrs-192/clean/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libhqc-rmrs-192_clean.a -HEADERS=api.h code.h fft.h gf2x.h gf.h hqc.h parameters.h parsing.h reed_muller.h reed_solomon.h vector.h -OBJECTS=code.o fft.o gf2x.o gf.o hqc.o kem.o parsing.o reed_muller.o reed_solomon.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) diff --git a/crypto_kem/hqc-rmrs-256/avx2/Makefile b/crypto_kem/hqc-rmrs-256/avx2/Makefile deleted file mode 100644 index deefabd7..00000000 --- a/crypto_kem/hqc-rmrs-256/avx2/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libhqc-rmrs-256_avx2.a -HEADERS=api.h code.h fft.h gf2x.h gf.h hqc.h parameters.h parsing.h reed_muller.h reed_solomon.h vector.h -OBJECTS=code.o fft.o gf2x.o gf.o hqc.o kem.o parsing.o reed_muller.o reed_solomon.o vector.o - -CFLAGS=-O3 -mavx2 -mbmi -mpclmul -Wall -Wextra -Wshadow -Wpedantic -Wvla -Werror -Wredundant-decls -Wmissing-prototypes -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.s $(HEADERS) - $(AS) -o $@ $< - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/hqc-rmrs-256/clean/Makefile b/crypto_kem/hqc-rmrs-256/clean/Makefile deleted file mode 100644 index 1454fec5..00000000 --- a/crypto_kem/hqc-rmrs-256/clean/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libhqc-rmrs-256_clean.a -HEADERS=api.h code.h fft.h gf2x.h gf.h hqc.h parameters.h parsing.h reed_muller.h reed_solomon.h vector.h -OBJECTS=code.o fft.o gf2x.o gf.o hqc.o kem.o parsing.o reed_muller.o reed_solomon.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) diff --git a/crypto_kem/kyber1024-90s/avx2/Makefile b/crypto_kem/kyber1024-90s/avx2/Makefile deleted file mode 100644 index f146772e..00000000 --- a/crypto_kem/kyber1024-90s/avx2/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libkyber1024-90s_avx2.a -HEADERS=aes256ctr.h align.h api.h cbd.h cdecl.h consts.h indcpa.h kem.h ntt.h params.h poly.h polyvec.h reduce.h rejsample.h symmetric.h verify.h fq.inc shuffle.inc -OBJECTS=aes256ctr.o cbd.o consts.o indcpa.o kem.o poly.o polyvec.o rejsample.o verify.o basemul.o fq.o invntt.o ntt.o shuffle.o -CFLAGS=-mavx2 -maes -mbmi2 -mpopcnt -O3 -Wall -Wextra -Wpedantic -Werror \ - -Wmissing-prototypes -Wredundant-decls -std=c99 \ - -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -%.o: %.S $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/kyber1024-90s/clean/Makefile b/crypto_kem/kyber1024-90s/clean/Makefile deleted file mode 100644 index 2574c694..00000000 --- a/crypto_kem/kyber1024-90s/clean/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libkyber1024-90s_clean.a -HEADERS=api.h cbd.h indcpa.h kem.h ntt.h params.h poly.h polyvec.h reduce.h symmetric-aes.h symmetric.h verify.h -OBJECTS=cbd.o indcpa.o kem.o ntt.o poly.o polyvec.o reduce.o symmetric-aes.o verify.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/kyber1024/avx2/Makefile b/crypto_kem/kyber1024/avx2/Makefile deleted file mode 100644 index 83f3ca9e..00000000 --- a/crypto_kem/kyber1024/avx2/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libkyber1024_avx2.a -HEADERS=align.h api.h cbd.h cdecl.h consts.h fips202x4.h indcpa.h kem.h ntt.h params.h poly.h polyvec.h reduce.h rejsample.h symmetric.h verify.h fq.inc shuffle.inc -OBJECTS=cbd.o consts.o fips202x4.o indcpa.o kem.o poly.o polyvec.o rejsample.o symmetric-shake.o verify.o basemul.o fq.o invntt.o ntt.o shuffle.o -KECCAK4XDIR=../../../common/keccak4x -KECCAK4XOBJ=KeccakP-1600-times4-SIMD256.o -KECCAK4X=$(KECCAK4XDIR)/$(KECCAK4XOBJ) - -CFLAGS=-mavx2 -mbmi2 -mpopcnt -O3 -Wall -Wextra -Wpedantic -Werror \ - -Wmissing-prototypes -Wredundant-decls \ - -Wpointer-arith -Wshadow \ - -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -%.o: %.S $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) $(KECCAK4X) - $(AR) -r $@ $(OBJECTS) $(KECCAK4X) - -$(KECCAK4X): - $(MAKE) -C $(KECCAK4XDIR) $(KECCAK4XOBJ) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/kyber1024/clean/Makefile b/crypto_kem/kyber1024/clean/Makefile deleted file mode 100644 index 8aa87199..00000000 --- a/crypto_kem/kyber1024/clean/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libkyber1024_clean.a -HEADERS=api.h cbd.h indcpa.h kem.h ntt.h params.h poly.h polyvec.h reduce.h symmetric.h verify.h -OBJECTS=cbd.o indcpa.o kem.o ntt.o poly.o polyvec.o reduce.o symmetric-shake.o verify.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/kyber512-90s/avx2/Makefile b/crypto_kem/kyber512-90s/avx2/Makefile deleted file mode 100644 index accd0759..00000000 --- a/crypto_kem/kyber512-90s/avx2/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libkyber512-90s_avx2.a -HEADERS=aes256ctr.h align.h api.h cbd.h cdecl.h consts.h indcpa.h kem.h ntt.h params.h poly.h polyvec.h reduce.h rejsample.h symmetric.h verify.h fq.inc shuffle.inc -OBJECTS=aes256ctr.o cbd.o consts.o indcpa.o kem.o poly.o polyvec.o rejsample.o verify.o basemul.o fq.o invntt.o ntt.o shuffle.o -CFLAGS=-mavx2 -maes -mbmi2 -mpopcnt -O3 -Wall -Wextra -Wpedantic -Werror \ - -Wmissing-prototypes -Wredundant-decls -std=c99 \ - -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -%.o: %.S $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/kyber512-90s/clean/Makefile b/crypto_kem/kyber512-90s/clean/Makefile deleted file mode 100644 index 192b7758..00000000 --- a/crypto_kem/kyber512-90s/clean/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libkyber512-90s_clean.a -HEADERS=api.h cbd.h indcpa.h kem.h ntt.h params.h poly.h polyvec.h reduce.h symmetric-aes.h symmetric.h verify.h -OBJECTS=cbd.o indcpa.o kem.o ntt.o poly.o polyvec.o reduce.o symmetric-aes.o verify.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/kyber512/avx2/Makefile b/crypto_kem/kyber512/avx2/Makefile deleted file mode 100644 index 22136ca3..00000000 --- a/crypto_kem/kyber512/avx2/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libkyber512_avx2.a -HEADERS=align.h api.h cbd.h cdecl.h consts.h fips202x4.h indcpa.h kem.h ntt.h params.h poly.h polyvec.h reduce.h rejsample.h symmetric.h verify.h fq.inc shuffle.inc -OBJECTS=cbd.o consts.o fips202x4.o indcpa.o kem.o poly.o polyvec.o rejsample.o symmetric-shake.o verify.o basemul.o fq.o invntt.o ntt.o shuffle.o -KECCAK4XDIR=../../../common/keccak4x -KECCAK4XOBJ=KeccakP-1600-times4-SIMD256.o -KECCAK4X=$(KECCAK4XDIR)/$(KECCAK4XOBJ) - -CFLAGS=-mavx2 -mbmi2 -mpopcnt -O3 -Wall -Wextra -Wpedantic -Werror \ - -Wmissing-prototypes -Wredundant-decls \ - -Wpointer-arith -Wshadow \ - -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -%.o: %.S $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) $(KECCAK4X) - $(AR) -r $@ $(OBJECTS) $(KECCAK4X) - -$(KECCAK4X): - $(MAKE) -C $(KECCAK4XDIR) $(KECCAK4XOBJ) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/kyber512/clean/Makefile b/crypto_kem/kyber512/clean/Makefile deleted file mode 100644 index 18712bde..00000000 --- a/crypto_kem/kyber512/clean/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libkyber512_clean.a -HEADERS=api.h cbd.h indcpa.h kem.h ntt.h params.h poly.h polyvec.h reduce.h symmetric.h verify.h -OBJECTS=cbd.o indcpa.o kem.o ntt.o poly.o polyvec.o reduce.o symmetric-shake.o verify.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/kyber768-90s/avx2/Makefile b/crypto_kem/kyber768-90s/avx2/Makefile deleted file mode 100644 index 60e5d9d9..00000000 --- a/crypto_kem/kyber768-90s/avx2/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libkyber768-90s_avx2.a -HEADERS=aes256ctr.h align.h api.h cbd.h cdecl.h consts.h indcpa.h kem.h ntt.h params.h poly.h polyvec.h reduce.h rejsample.h symmetric.h verify.h fq.inc shuffle.inc -OBJECTS=aes256ctr.o cbd.o consts.o indcpa.o kem.o poly.o polyvec.o rejsample.o verify.o basemul.o fq.o invntt.o ntt.o shuffle.o -CFLAGS=-mavx2 -maes -mbmi2 -mpopcnt -O3 -Wall -Wextra -Wpedantic -Werror \ - -Wmissing-prototypes -Wredundant-decls -std=c99 \ - -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -%.o: %.S $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/kyber768-90s/clean/Makefile b/crypto_kem/kyber768-90s/clean/Makefile deleted file mode 100644 index 8b223086..00000000 --- a/crypto_kem/kyber768-90s/clean/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libkyber768-90s_clean.a -HEADERS=api.h cbd.h indcpa.h kem.h ntt.h params.h poly.h polyvec.h reduce.h symmetric-aes.h symmetric.h verify.h -OBJECTS=cbd.o indcpa.o kem.o ntt.o poly.o polyvec.o reduce.o symmetric-aes.o verify.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/kyber768/avx2/Makefile b/crypto_kem/kyber768/avx2/Makefile deleted file mode 100644 index 24c28b8f..00000000 --- a/crypto_kem/kyber768/avx2/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libkyber768_avx2.a -HEADERS=align.h api.h cbd.h cdecl.h consts.h fips202x4.h indcpa.h kem.h ntt.h params.h poly.h polyvec.h reduce.h rejsample.h symmetric.h verify.h fq.inc shuffle.inc -OBJECTS=cbd.o consts.o fips202x4.o indcpa.o kem.o poly.o polyvec.o rejsample.o symmetric-shake.o verify.o basemul.o fq.o invntt.o ntt.o shuffle.o -KECCAK4XDIR=../../../common/keccak4x -KECCAK4XOBJ=KeccakP-1600-times4-SIMD256.o -KECCAK4X=$(KECCAK4XDIR)/$(KECCAK4XOBJ) - -CFLAGS=-mavx2 -mbmi2 -mpopcnt -O3 -Wall -Wextra -Wpedantic -Werror \ - -Wmissing-prototypes -Wredundant-decls \ - -Wpointer-arith -Wshadow \ - -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -%.o: %.S $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) $(KECCAK4X) - $(AR) -r $@ $(OBJECTS) $(KECCAK4X) - -$(KECCAK4X): - $(MAKE) -C $(KECCAK4XDIR) $(KECCAK4XOBJ) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/kyber768/clean/Makefile b/crypto_kem/kyber768/clean/Makefile deleted file mode 100644 index ee39a943..00000000 --- a/crypto_kem/kyber768/clean/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libkyber768_clean.a -HEADERS=api.h cbd.h indcpa.h kem.h ntt.h params.h poly.h polyvec.h reduce.h symmetric.h verify.h -OBJECTS=cbd.o indcpa.o kem.o ntt.o poly.o polyvec.o reduce.o symmetric-shake.o verify.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/lightsaber/avx2/Makefile b/crypto_kem/lightsaber/avx2/Makefile deleted file mode 100644 index ff4f4367..00000000 --- a/crypto_kem/lightsaber/avx2/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=liblightsaber_avx2.a -HEADERS=api.h cbd.h pack_unpack.h poly.h SABER_indcpa.h SABER_params.h verify.h -OBJECTS=cbd.o kem.o pack_unpack.o poly.o poly_mul.o SABER_indcpa.o verify.o - -CFLAGS=-O3 -mavx2 -Wall -Wextra -Wpedantic -Wvla -Werror -Wredundant-decls -Wmissing-prototypes -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.s $(HEADERS) - $(AS) -o $@ $< - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/lightsaber/clean/Makefile b/crypto_kem/lightsaber/clean/Makefile deleted file mode 100644 index 160435dc..00000000 --- a/crypto_kem/lightsaber/clean/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=liblightsaber_clean.a -HEADERS=api.h cbd.h pack_unpack.h poly.h poly_mul.h SABER_indcpa.h SABER_params.h verify.h -OBJECTS=cbd.o kem.o pack_unpack.o poly.o poly_mul.o SABER_indcpa.o verify.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -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) diff --git a/crypto_kem/mceliece348864/avx/Makefile b/crypto_kem/mceliece348864/avx/Makefile deleted file mode 100644 index 54ab3480..00000000 --- a/crypto_kem/mceliece348864/avx/Makefile +++ /dev/null @@ -1,42 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece348864_avx.a - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c fft.c \ - fft_tr.c gf.c int32_sort.c operations.c pk_gen.c sk_gen.c transpose.c \ - util.c uint32_sort.o vec.c vec128.c vec256.c \ - consts.S syndrome_asm.S transpose_64x256_sp_asm.S \ - transpose_64x64_asm.S update_asm.S vec128_mul_asm.S vec256_mul_asm.S \ - vec_mul_asm.S vec_mul_sp_asm.S vec_reduce_asm.S - -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h \ - decrypt.h encrypt.h fft.h fft_tr.h gf.h int32_sort.h \ - params.h pk_gen.h sk_gen.h transpose.h uint32_sort.h util.h \ - vec128.h vec256.h vec.h \ - consts.inc powers.inc scalars_2x.inc scalars.inc - -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o fft.o \ - fft_tr.o gf.o int32_sort.o operations.o pk_gen.o sk_gen.o transpose.o \ - util.o uint32_sort.o vec.o vec128.o vec256.o \ - consts.o syndrome_asm.o transpose_64x256_sp_asm.o \ - transpose_64x64_asm.o update_asm.o vec128_mul_asm.o vec256_mul_asm.o \ - vec_mul_asm.o vec_mul_sp_asm.o vec_reduce_asm.o - -CFLAGS = -O3 -std=c99 -mpopcnt -mavx2 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -%.o: %.S - $(CC) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece348864/clean/Makefile b/crypto_kem/mceliece348864/clean/Makefile deleted file mode 100644 index ad0df1aa..00000000 --- a/crypto_kem/mceliece348864/clean/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece348864_clean.a - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c gf.c \ - operations.c pk_gen.c root.c sk_gen.c synd.c transpose.c util.c -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h \ - decrypt.h encrypt.h gf.h params.h pk_gen.h root.h \ - sk_gen.h synd.h transpose.h util.h -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o gf.o \ - operations.o pk_gen.o root.o sk_gen.o synd.o transpose.o util.o - -CFLAGS = -O3 -std=c99 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece348864/sse/Makefile b/crypto_kem/mceliece348864/sse/Makefile deleted file mode 100644 index 7fd83a5a..00000000 --- a/crypto_kem/mceliece348864/sse/Makefile +++ /dev/null @@ -1,41 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece348864_sse.a - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c fft.c \ - fft_tr.c gf.c operations.c pk_gen.c sk_gen.c transpose.c util.c \ - vec.c vec128.c \ - consts.S syndrome_asm.S transpose_64x128_sp_asm.S \ - transpose_64x64_asm.S update_asm.S vec128_mul_asm.S \ - vec_mul_asm.S vec_reduce_asm.S - -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h \ - decrypt.h encrypt.h fft.h fft_tr.h gf.h params.h \ - pk_gen.h sk_gen.h transpose.h util.h vec128.h vec.h \ - consts.inc powers.inc scalars_2x.inc scalars.inc - -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o fft.o \ - fft_tr.o gf.o operations.o pk_gen.o transpose.o sk_gen.o util.o \ - vec.o vec128.o \ - consts.o syndrome_asm.o transpose_64x128_sp_asm.o \ - transpose_64x64_asm.o update_asm.o vec128_mul_asm.o \ - vec_mul_asm.o vec_reduce_asm.o - -CFLAGS = -O3 -std=c99 -mpopcnt -mbmi -msse4.1 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -%.o: %.S - $(CC) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece348864/vec/Makefile b/crypto_kem/mceliece348864/vec/Makefile deleted file mode 100644 index 7f847547..00000000 --- a/crypto_kem/mceliece348864/vec/Makefile +++ /dev/null @@ -1,26 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece348864_vec.a - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c fft.c fft_tr.c gf.c operations.c pk_gen.c sk_gen.c transpose.c util.c vec.c - -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h decrypt.h encrypt.h fft.h fft_tr.h gf.h params.h pk_gen.h sk_gen.h transpose.h util.h vec.h \ - consts.inc powers.inc scalars_2x.inc scalars.inc - -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o fft.o fft_tr.o gf.o operations.o pk_gen.o sk_gen.o transpose.o util.o vec.o - -CFLAGS = -O3 -std=c99 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece348864f/avx/Makefile b/crypto_kem/mceliece348864f/avx/Makefile deleted file mode 100644 index 63a4fc4c..00000000 --- a/crypto_kem/mceliece348864f/avx/Makefile +++ /dev/null @@ -1,42 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece348864f_avx.a - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c fft.c \ - fft_tr.c gf.c int32_sort.c operations.c pk_gen.c sk_gen.c transpose.c \ - util.c uint32_sort.o vec.c vec128.c vec256.c \ - consts.S syndrome_asm.S transpose_64x256_sp_asm.S \ - transpose_64x64_asm.S update_asm.S vec128_mul_asm.S vec256_mul_asm.S \ - vec_mul_asm.S vec_mul_sp_asm.S vec_reduce_asm.S - -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h \ - decrypt.h encrypt.h fft.h fft_tr.h gf.h int32_sort.h \ - params.h pk_gen.h sk_gen.h transpose.h uint32_sort.h util.h \ - vec128.h vec256.h vec.h \ - consts.inc powers.inc scalars_2x.inc scalars.inc - -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o fft.o \ - fft_tr.o gf.o int32_sort.o operations.o pk_gen.o sk_gen.o transpose.o \ - util.o uint32_sort.o vec.o vec128.o vec256.o \ - consts.o syndrome_asm.o transpose_64x256_sp_asm.o \ - transpose_64x64_asm.o update_asm.o vec128_mul_asm.o vec256_mul_asm.o \ - vec_mul_asm.o vec_mul_sp_asm.o vec_reduce_asm.o - -CFLAGS = -O3 -std=c99 -mbmi -mpopcnt -mavx2 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -%.o: %.S - $(CC) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece348864f/clean/Makefile b/crypto_kem/mceliece348864f/clean/Makefile deleted file mode 100644 index 8241c837..00000000 --- a/crypto_kem/mceliece348864f/clean/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece348864f_clean.a - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c gf.c \ - operations.c pk_gen.c root.c sk_gen.c synd.c transpose.c util.c -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h \ - decrypt.h encrypt.h gf.h params.h pk_gen.h root.h \ - sk_gen.h synd.h transpose.h util.h -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o gf.o \ - operations.o pk_gen.o root.o sk_gen.o synd.o transpose.o util.o - -CFLAGS = -O3 -std=c99 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece348864f/sse/Makefile b/crypto_kem/mceliece348864f/sse/Makefile deleted file mode 100644 index 5a5e9f64..00000000 --- a/crypto_kem/mceliece348864f/sse/Makefile +++ /dev/null @@ -1,41 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece348864f_sse.a - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c fft.c \ - fft_tr.c gf.c operations.c pk_gen.c sk_gen.c transpose.c util.c \ - vec.c vec128.c \ - consts.S syndrome_asm.S transpose_64x128_sp_asm.S \ - transpose_64x64_asm.S update_asm.S vec128_mul_asm.S \ - vec_mul_asm.S vec_reduce_asm.S - -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h \ - decrypt.h encrypt.h fft.h fft_tr.h gf.h params.h \ - pk_gen.h sk_gen.h transpose.h util.h vec128.h vec.h \ - consts.inc powers.inc scalars_2x.inc scalars.inc - -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o fft.o \ - fft_tr.o gf.o operations.o pk_gen.o sk_gen.o transpose.o util.o \ - vec.o vec128.o \ - consts.o syndrome_asm.o transpose_64x128_sp_asm.o \ - transpose_64x64_asm.o update_asm.o vec128_mul_asm.o \ - vec_mul_asm.o vec_reduce_asm.o - -CFLAGS = -O3 -std=c99 -mpopcnt -mbmi -msse4.1 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -%.o: %.S - $(CC) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece348864f/vec/Makefile b/crypto_kem/mceliece348864f/vec/Makefile deleted file mode 100644 index b672bc94..00000000 --- a/crypto_kem/mceliece348864f/vec/Makefile +++ /dev/null @@ -1,26 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece348864f_vec.a - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c fft.c fft_tr.c gf.c operations.c pk_gen.c sk_gen.c transpose.c util.c vec.c - -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h decrypt.h encrypt.h fft.h fft_tr.h gf.h params.h pk_gen.h sk_gen.h transpose.h util.h vec.h \ - consts.inc powers.inc scalars_2x.inc scalars.inc - -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o fft.o fft_tr.o gf.o operations.o pk_gen.o sk_gen.o transpose.o util.o vec.o - -CFLAGS = -O3 -std=c99 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece460896/avx/Makefile b/crypto_kem/mceliece460896/avx/Makefile deleted file mode 100644 index fc6849f2..00000000 --- a/crypto_kem/mceliece460896/avx/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece460896_avx.a - - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c fft.c \ - fft_tr.c gf.c int32_sort.c operations.c pk_gen.c sk_gen.c \ - transpose.c uint32_sort.c util.c vec128.c vec256.c \ - consts.S syndrome_asm.S transpose_64x128_sp_asm.S \ - transpose_64x256_sp_asm.S update_asm.S vec128_mul_asm.S \ - vec256_ama_asm.S vec256_maa_asm.S vec256_mul_asm.S vec_reduce_asm.S - -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h \ - decrypt.h encrypt.h fft.h fft_tr.h gf.h int32_sort.h \ - params.h pk_gen.h sk_gen.h transpose.h uint32_sort.h util.h vec128.h \ - vec256.h \ - consts.inc scalars_2x.inc scalars_4x.inc - - -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o fft.o \ - fft_tr.o gf.o int32_sort.o operations.o pk_gen.o sk_gen.o \ - transpose.o uint32_sort.o util.o vec128.o vec256.o \ - consts.o syndrome_asm.o transpose_64x128_sp_asm.o \ - transpose_64x256_sp_asm.o update_asm.o vec128_mul_asm.o \ - vec256_ama_asm.o vec256_maa_asm.o vec256_mul_asm.o vec_reduce_asm.o - -CFLAGS = -O3 -std=c99 -mpopcnt -mavx2 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -%.o: %.S - $(CC) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece460896/clean/Makefile b/crypto_kem/mceliece460896/clean/Makefile deleted file mode 100644 index e6c015d8..00000000 --- a/crypto_kem/mceliece460896/clean/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece460896_clean.a - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c gf.c \ - operations.c pk_gen.c root.c sk_gen.c synd.c transpose.c util.c -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h \ - decrypt.h encrypt.h gf.h params.h pk_gen.h root.h \ - sk_gen.h synd.h transpose.h util.h -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o gf.o \ - operations.o pk_gen.o root.o sk_gen.o synd.o transpose.o util.o - -CFLAGS = -O3 -std=c99 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece460896/sse/Makefile b/crypto_kem/mceliece460896/sse/Makefile deleted file mode 100644 index 12ebde83..00000000 --- a/crypto_kem/mceliece460896/sse/Makefile +++ /dev/null @@ -1,37 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece460896_sse.a - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c fft.c \ - fft_tr.c gf.c operations.c pk_gen.c sk_gen.c util.c vec128.c \ - consts.S syndrome_asm.S transpose_64x128_sp_asm.S update_asm.S \ - vec128_mul_asm.S vec_reduce_asm.S - -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h \ - decrypt.h encrypt.h fft.h fft_tr.h gf.h params.h \ - pk_gen.h sk_gen.h transpose.h util.h vec128.h \ - consts.inc scalars_2x.inc scalars_4x.inc - -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o fft.o \ - fft_tr.o gf.o operations.o pk_gen.o sk_gen.o util.o vec128.o \ - consts.o syndrome_asm.o transpose_64x128_sp_asm.o \ - update_asm.o vec128_mul_asm.o vec_reduce_asm.o - -CFLAGS = -O3 -std=c99 -mpopcnt -msse4.1 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -%.o: %.S - $(CC) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece460896/vec/Makefile b/crypto_kem/mceliece460896/vec/Makefile deleted file mode 100644 index ed62794a..00000000 --- a/crypto_kem/mceliece460896/vec/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece460896_vec.a - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c fft.c \ - fft_tr.c gf.c operations.c pk_gen.c sk_gen.c transpose.c util.c \ - vec.c - -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h decrypt.h \ - encrypt.h fft.h fft_tr.h gf.h params.h pk_gen.h sk_gen.h \ - transpose.h util.h vec.h \ - consts.inc scalars_2x.inc scalars_4x.inc - -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o fft.o \ - fft_tr.o gf.o operations.o pk_gen.o sk_gen.o transpose.o util.o vec.o - -CFLAGS = -O3 -std=c99 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece460896f/avx/Makefile b/crypto_kem/mceliece460896f/avx/Makefile deleted file mode 100644 index 101034b4..00000000 --- a/crypto_kem/mceliece460896f/avx/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece460896f_avx.a - - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c fft.c \ - fft_tr.c gf.c int32_sort.c operations.c pk_gen.c sk_gen.c \ - transpose.c uint32_sort.c util.c vec128.c vec256.c \ - consts.S syndrome_asm.S transpose_64x128_sp_asm.S \ - transpose_64x256_sp_asm.S update_asm.S vec128_mul_asm.S \ - vec256_ama_asm.S vec256_maa_asm.S vec256_mul_asm.S vec_reduce_asm.S - -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h \ - decrypt.h encrypt.h fft.h fft_tr.h gf.h int32_sort.h \ - params.h pk_gen.h sk_gen.h transpose.h uint32_sort.h util.h vec128.h \ - vec256.h \ - consts.inc scalars_2x.inc scalars_4x.inc - - -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o fft.o \ - fft_tr.o gf.o int32_sort.o operations.o pk_gen.o sk_gen.o \ - transpose.o uint32_sort.o util.o vec128.o vec256.o \ - consts.o syndrome_asm.o transpose_64x128_sp_asm.o \ - transpose_64x256_sp_asm.o update_asm.o vec128_mul_asm.o \ - vec256_ama_asm.o vec256_maa_asm.o vec256_mul_asm.o vec_reduce_asm.o - -CFLAGS = -O3 -std=c99 -mbmi -mpopcnt -mavx2 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -%.o: %.S - $(CC) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece460896f/clean/Makefile b/crypto_kem/mceliece460896f/clean/Makefile deleted file mode 100644 index 7df311b0..00000000 --- a/crypto_kem/mceliece460896f/clean/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece460896f_clean.a - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c gf.c \ - operations.c pk_gen.c root.c sk_gen.c synd.c transpose.c util.c -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h \ - decrypt.h encrypt.h gf.h params.h pk_gen.h root.h \ - sk_gen.h synd.h transpose.h util.h -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o gf.o \ - operations.o pk_gen.o root.o sk_gen.o synd.o transpose.o util.o - -CFLAGS = -O3 -std=c99 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece460896f/sse/Makefile b/crypto_kem/mceliece460896f/sse/Makefile deleted file mode 100644 index 20882a53..00000000 --- a/crypto_kem/mceliece460896f/sse/Makefile +++ /dev/null @@ -1,37 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece460896f_sse.a - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c fft.c \ - fft_tr.c gf.c operations.c pk_gen.c sk_gen.c util.c vec128.c \ - consts.S syndrome_asm.S transpose_64x128_sp_asm.S update_asm.S \ - vec128_mul_asm.S vec_reduce_asm.S - -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h \ - decrypt.h encrypt.h fft.h fft_tr.h gf.h params.h \ - pk_gen.h sk_gen.h transpose.h util.h vec128.h \ - consts.inc scalars_2x.inc scalars_4x.inc - -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o fft.o \ - fft_tr.o gf.o operations.o pk_gen.o sk_gen.o util.o vec128.o \ - consts.o syndrome_asm.o transpose_64x128_sp_asm.o \ - update_asm.o vec128_mul_asm.o vec_reduce_asm.o - -CFLAGS = -O3 -std=c99 -mpopcnt -mbmi -msse4.1 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -%.o: %.S - $(CC) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece460896f/vec/Makefile b/crypto_kem/mceliece460896f/vec/Makefile deleted file mode 100644 index b281152d..00000000 --- a/crypto_kem/mceliece460896f/vec/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece460896f_vec.a - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c fft.c \ - fft_tr.c gf.c operations.c pk_gen.c sk_gen.c transpose.c util.c \ - vec.c - -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h decrypt.h \ - encrypt.h fft.h fft_tr.h gf.h params.h pk_gen.h sk_gen.h \ - transpose.h util.h vec.h \ - consts.inc scalars_2x.inc scalars_4x.inc - -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o fft.o \ - fft_tr.o gf.o operations.o pk_gen.o sk_gen.o transpose.o util.o vec.o - -CFLAGS = -O3 -std=c99 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece6688128/avx/Makefile b/crypto_kem/mceliece6688128/avx/Makefile deleted file mode 100644 index 79067a89..00000000 --- a/crypto_kem/mceliece6688128/avx/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece6688128_avx.a - - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c fft.c \ - fft_tr.c gf.c int32_sort.c operations.c pk_gen.c sk_gen.c \ - transpose.c uint32_sort.c util.c vec128.c vec256.c \ - consts.S syndrome_asm.S transpose_64x128_sp_asm.S \ - transpose_64x256_sp_asm.S update_asm.S vec128_mul_asm.S \ - vec256_ama_asm.S vec256_maa_asm.S vec256_mul_asm.S vec_reduce_asm.S - -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h \ - decrypt.h encrypt.h fft.h fft_tr.h gf.h int32_sort.h \ - params.h pk_gen.h sk_gen.h transpose.h uint32_sort.h util.h vec128.h \ - vec256.h \ - consts.inc powers.inc scalars_2x.inc scalars_4x.inc - - -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o fft.o \ - fft_tr.o gf.o int32_sort.o operations.o pk_gen.o sk_gen.o \ - transpose.o uint32_sort.o util.o vec128.o vec256.o \ - consts.o syndrome_asm.o transpose_64x128_sp_asm.o \ - transpose_64x256_sp_asm.o update_asm.o vec128_mul_asm.o \ - vec256_ama_asm.o vec256_maa_asm.o vec256_mul_asm.o vec_reduce_asm.o - -CFLAGS = -O3 -std=c99 -mpopcnt -mavx2 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -%.o: %.S - $(CC) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece6688128/clean/Makefile b/crypto_kem/mceliece6688128/clean/Makefile deleted file mode 100644 index 43e1bd28..00000000 --- a/crypto_kem/mceliece6688128/clean/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece6688128_clean.a - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c gf.c \ - operations.c pk_gen.c root.c sk_gen.c synd.c transpose.c util.c -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h \ - decrypt.h encrypt.h gf.h params.h pk_gen.h root.h \ - sk_gen.h synd.h transpose.h util.h -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o gf.o \ - operations.o pk_gen.o root.o sk_gen.o synd.o transpose.o util.o - -CFLAGS = -O3 -std=c99 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece6688128/sse/Makefile b/crypto_kem/mceliece6688128/sse/Makefile deleted file mode 100644 index 4c56ecea..00000000 --- a/crypto_kem/mceliece6688128/sse/Makefile +++ /dev/null @@ -1,37 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece6688128_sse.a - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c fft.c \ - fft_tr.c gf.c operations.c pk_gen.c sk_gen.c util.c vec128.c \ - consts.S syndrome_asm.S transpose_64x128_sp_asm.S update_asm.S \ - vec128_mul_asm.S vec_reduce_asm.S - -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h \ - decrypt.h encrypt.h fft.h fft_tr.h gf.h params.h \ - pk_gen.h sk_gen.h transpose.h util.h vec128.h \ - consts.inc scalars_2x.inc scalars_4x.inc powers.inc - -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o fft.o \ - fft_tr.o gf.o operations.o pk_gen.o sk_gen.o util.o vec128.o \ - consts.o syndrome_asm.o transpose_64x128_sp_asm.o \ - update_asm.o vec128_mul_asm.o vec_reduce_asm.o - -CFLAGS = -O3 -std=c99 -mpopcnt -msse4.1 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -%.o: %.S - $(CC) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece6688128/vec/Makefile b/crypto_kem/mceliece6688128/vec/Makefile deleted file mode 100644 index 9e3201ef..00000000 --- a/crypto_kem/mceliece6688128/vec/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece6688128_vec.a - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c fft.c \ - fft_tr.c gf.c operations.c pk_gen.c sk_gen.c transpose.c util.c \ - vec.c - -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h decrypt.h \ - encrypt.h fft.h fft_tr.h gf.h params.h pk_gen.h sk_gen.h \ - transpose.h util.h vec.h \ - consts.inc powers.inc scalars_2x.inc scalars_4x.inc - -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o fft.o \ - fft_tr.o gf.o operations.o pk_gen.o sk_gen.o transpose.o util.o vec.o - -CFLAGS = -O3 -std=c99 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece6688128f/avx/Makefile b/crypto_kem/mceliece6688128f/avx/Makefile deleted file mode 100644 index 5431f4a2..00000000 --- a/crypto_kem/mceliece6688128f/avx/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece6688128f_avx.a - - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c fft.c \ - fft_tr.c gf.c int32_sort.c operations.c pk_gen.c sk_gen.c \ - transpose.c uint32_sort.c util.c vec128.c vec256.c \ - consts.S syndrome_asm.S transpose_64x128_sp_asm.S \ - transpose_64x256_sp_asm.S update_asm.S vec128_mul_asm.S \ - vec256_ama_asm.S vec256_maa_asm.S vec256_mul_asm.S vec_reduce_asm.S - -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h \ - decrypt.h encrypt.h fft.h fft_tr.h gf.h int32_sort.h \ - params.h pk_gen.h sk_gen.h transpose.h uint32_sort.h util.h vec128.h \ - vec256.h \ - consts.inc powers.inc scalars_2x.inc scalars_4x.inc - - -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o fft.o \ - fft_tr.o gf.o int32_sort.o operations.o pk_gen.o sk_gen.o \ - transpose.o uint32_sort.o util.o vec128.o vec256.o \ - consts.o syndrome_asm.o transpose_64x128_sp_asm.o \ - transpose_64x256_sp_asm.o update_asm.o vec128_mul_asm.o \ - vec256_ama_asm.o vec256_maa_asm.o vec256_mul_asm.o vec_reduce_asm.o - -CFLAGS = -O3 -std=c99 -mbmi -mpopcnt -mavx2 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -%.o: %.S - $(CC) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece6688128f/clean/Makefile b/crypto_kem/mceliece6688128f/clean/Makefile deleted file mode 100644 index e9cdf8fb..00000000 --- a/crypto_kem/mceliece6688128f/clean/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece6688128f_clean.a - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c gf.c \ - operations.c pk_gen.c root.c sk_gen.c synd.c transpose.c util.c -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h \ - decrypt.h encrypt.h gf.h params.h pk_gen.h root.h \ - sk_gen.h synd.h transpose.h util.h -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o gf.o \ - operations.o pk_gen.o root.o sk_gen.o synd.o transpose.o util.o - -CFLAGS = -O3 -std=c99 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece6688128f/sse/Makefile b/crypto_kem/mceliece6688128f/sse/Makefile deleted file mode 100644 index 275b1d02..00000000 --- a/crypto_kem/mceliece6688128f/sse/Makefile +++ /dev/null @@ -1,37 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece6688128f_sse.a - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c fft.c \ - fft_tr.c gf.c operations.c pk_gen.c sk_gen.c util.c vec128.c \ - consts.S syndrome_asm.S transpose_64x128_sp_asm.S update_asm.S \ - vec128_mul_asm.S vec_reduce_asm.S - -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h \ - decrypt.h encrypt.h fft.h fft_tr.h gf.h params.h \ - pk_gen.h sk_gen.h transpose.h util.h vec128.h \ - consts.inc scalars_2x.inc scalars_4x.inc powers.inc - -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o fft.o \ - fft_tr.o gf.o operations.o pk_gen.o sk_gen.o util.o vec128.o \ - consts.o syndrome_asm.o transpose_64x128_sp_asm.o \ - update_asm.o vec128_mul_asm.o vec_reduce_asm.o - -CFLAGS = -O3 -std=c99 -mpopcnt -mbmi -msse4.1 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -%.o: %.S - $(CC) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece6688128f/vec/Makefile b/crypto_kem/mceliece6688128f/vec/Makefile deleted file mode 100644 index 3e9995f5..00000000 --- a/crypto_kem/mceliece6688128f/vec/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece6688128f_vec.a - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c fft.c \ - fft_tr.c gf.c operations.c pk_gen.c sk_gen.c transpose.c util.c \ - vec.c - -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h decrypt.h \ - encrypt.h fft.h fft_tr.h gf.h params.h pk_gen.h sk_gen.h \ - transpose.h util.h vec.h \ - consts.inc powers.inc scalars_2x.inc scalars_4x.inc - -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o fft.o \ - fft_tr.o gf.o operations.o pk_gen.o sk_gen.o transpose.o util.o vec.o - -CFLAGS = -O3 -std=c99 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece6960119/avx/Makefile b/crypto_kem/mceliece6960119/avx/Makefile deleted file mode 100644 index 9b6b8037..00000000 --- a/crypto_kem/mceliece6960119/avx/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece6960119_avx.a - - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c fft.c \ - fft_tr.c gf.c int32_sort.c operations.c pk_gen.c sk_gen.c \ - transpose.c uint32_sort.c util.c vec128.c vec256.c \ - consts.S syndrome_asm.S transpose_64x128_sp_asm.S \ - transpose_64x256_sp_asm.S update_asm.S vec128_mul_asm.S \ - vec256_ama_asm.S vec256_maa_asm.S vec256_mul_asm.S vec_reduce_asm.S - -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h \ - decrypt.h encrypt.h fft.h fft_tr.h gf.h int32_sort.h \ - params.h pk_gen.h sk_gen.h transpose.h uint32_sort.h util.h vec128.h \ - vec256.h \ - consts.inc scalars_2x.inc scalars_4x.inc - - -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o fft.o \ - fft_tr.o gf.o int32_sort.o operations.o pk_gen.o sk_gen.o \ - transpose.o uint32_sort.o util.o vec128.o vec256.o \ - consts.o syndrome_asm.o transpose_64x128_sp_asm.o \ - transpose_64x256_sp_asm.o update_asm.o vec128_mul_asm.o \ - vec256_ama_asm.o vec256_maa_asm.o vec256_mul_asm.o vec_reduce_asm.o - -CFLAGS = -O3 -std=c99 -mpopcnt -mavx2 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -%.o: %.S - $(CC) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece6960119/clean/Makefile b/crypto_kem/mceliece6960119/clean/Makefile deleted file mode 100644 index 37c0abe9..00000000 --- a/crypto_kem/mceliece6960119/clean/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece6960119_clean.a - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c gf.c \ - operations.c pk_gen.c root.c sk_gen.c synd.c transpose.c util.c -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h \ - decrypt.h encrypt.h gf.h params.h pk_gen.h root.h \ - sk_gen.h synd.h transpose.h util.h -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o gf.o \ - operations.o pk_gen.o root.o sk_gen.o synd.o transpose.o util.o - -CFLAGS = -O3 -std=c99 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece6960119/sse/Makefile b/crypto_kem/mceliece6960119/sse/Makefile deleted file mode 100644 index 8fc16cf3..00000000 --- a/crypto_kem/mceliece6960119/sse/Makefile +++ /dev/null @@ -1,37 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece6960119_sse.a - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c fft.c \ - fft_tr.c gf.c operations.c pk_gen.c sk_gen.c util.c vec128.c \ - consts.S syndrome_asm.S transpose_64x128_sp_asm.S update_asm.S \ - vec128_mul_asm.S vec_reduce_asm.S - -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h \ - decrypt.h encrypt.h fft.h fft_tr.h gf.h params.h \ - pk_gen.h sk_gen.h transpose.h util.h vec128.h \ - consts.inc scalars_2x.inc scalars_4x.inc - -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o fft.o \ - fft_tr.o gf.o operations.o pk_gen.o sk_gen.o util.o vec128.o \ - consts.o syndrome_asm.o transpose_64x128_sp_asm.o \ - update_asm.o vec128_mul_asm.o vec_reduce_asm.o - -CFLAGS = -O3 -std=c99 -mpopcnt -msse4.1 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -%.o: %.S - $(CC) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece6960119/vec/Makefile b/crypto_kem/mceliece6960119/vec/Makefile deleted file mode 100644 index 8bd9b98d..00000000 --- a/crypto_kem/mceliece6960119/vec/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece6960119_vec.a - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c fft.c \ - fft_tr.c gf.c operations.c pk_gen.c sk_gen.c transpose.c util.c \ - vec.c - -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h decrypt.h \ - encrypt.h fft.h fft_tr.h gf.h params.h pk_gen.h sk_gen.h \ - transpose.h util.h vec.h \ - consts.inc scalars_2x.inc scalars_4x.inc - -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o fft.o \ - fft_tr.o gf.o operations.o pk_gen.o sk_gen.o transpose.o util.o vec.o - -CFLAGS = -O3 -std=c99 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece6960119f/avx/Makefile b/crypto_kem/mceliece6960119f/avx/Makefile deleted file mode 100644 index ac86ca20..00000000 --- a/crypto_kem/mceliece6960119f/avx/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece6960119f_avx.a - - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c fft.c \ - fft_tr.c gf.c int32_sort.c operations.c pk_gen.c sk_gen.c \ - transpose.c uint32_sort.c util.c vec128.c vec256.c \ - consts.S syndrome_asm.S transpose_64x128_sp_asm.S \ - transpose_64x256_sp_asm.S update_asm.S vec128_mul_asm.S \ - vec256_ama_asm.S vec256_maa_asm.S vec256_mul_asm.S vec_reduce_asm.S - -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h \ - decrypt.h encrypt.h fft.h fft_tr.h gf.h int32_sort.h \ - params.h pk_gen.h sk_gen.h transpose.h uint32_sort.h util.h vec128.h \ - vec256.h \ - consts.inc scalars_2x.inc scalars_4x.inc - - -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o fft.o \ - fft_tr.o gf.o int32_sort.o operations.o pk_gen.o sk_gen.o \ - transpose.o uint32_sort.o util.o vec128.o vec256.o \ - consts.o syndrome_asm.o transpose_64x128_sp_asm.o \ - transpose_64x256_sp_asm.o update_asm.o vec128_mul_asm.o \ - vec256_ama_asm.o vec256_maa_asm.o vec256_mul_asm.o vec_reduce_asm.o - -CFLAGS = -O3 -std=c99 -mbmi -mpopcnt -mavx2 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -%.o: %.S - $(CC) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece6960119f/clean/Makefile b/crypto_kem/mceliece6960119f/clean/Makefile deleted file mode 100644 index 44d3b1af..00000000 --- a/crypto_kem/mceliece6960119f/clean/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece6960119f_clean.a - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c gf.c \ - operations.c pk_gen.c root.c sk_gen.c synd.c transpose.c util.c -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h \ - decrypt.h encrypt.h gf.h params.h pk_gen.h root.h \ - sk_gen.h synd.h transpose.h util.h -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o gf.o \ - operations.o pk_gen.o root.o sk_gen.o synd.o transpose.o util.o - -CFLAGS = -O3 -std=c99 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece6960119f/sse/Makefile b/crypto_kem/mceliece6960119f/sse/Makefile deleted file mode 100644 index 927dc8e2..00000000 --- a/crypto_kem/mceliece6960119f/sse/Makefile +++ /dev/null @@ -1,37 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece6960119f_sse.a - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c fft.c \ - fft_tr.c gf.c operations.c pk_gen.c sk_gen.c util.c vec128.c \ - consts.S syndrome_asm.S transpose_64x128_sp_asm.S update_asm.S \ - vec128_mul_asm.S vec_reduce_asm.S - -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h \ - decrypt.h encrypt.h fft.h fft_tr.h gf.h params.h \ - pk_gen.h sk_gen.h transpose.h util.h vec128.h \ - consts.inc scalars_2x.inc scalars_4x.inc - -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o fft.o \ - fft_tr.o gf.o operations.o pk_gen.o sk_gen.o util.o vec128.o \ - consts.o syndrome_asm.o transpose_64x128_sp_asm.o \ - update_asm.o vec128_mul_asm.o vec_reduce_asm.o - -CFLAGS = -O3 -std=c99 -mbmi -mpopcnt -msse4.1 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -%.o: %.S - $(CC) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece6960119f/vec/Makefile b/crypto_kem/mceliece6960119f/vec/Makefile deleted file mode 100644 index d220cff1..00000000 --- a/crypto_kem/mceliece6960119f/vec/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece6960119f_vec.a - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c fft.c \ - fft_tr.c gf.c operations.c pk_gen.c sk_gen.c transpose.c util.c \ - vec.c - -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h decrypt.h \ - encrypt.h fft.h fft_tr.h gf.h params.h pk_gen.h sk_gen.h \ - transpose.h util.h vec.h \ - consts.inc scalars_2x.inc scalars_4x.inc - -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o fft.o \ - fft_tr.o gf.o operations.o pk_gen.o sk_gen.o transpose.o util.o vec.o - -CFLAGS = -O3 -std=c99 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece8192128/avx/Makefile b/crypto_kem/mceliece8192128/avx/Makefile deleted file mode 100644 index 9c3088ad..00000000 --- a/crypto_kem/mceliece8192128/avx/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece8192128_avx.a - - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c fft.c \ - fft_tr.c gf.c int32_sort.c operations.c pk_gen.c sk_gen.c \ - transpose.c uint32_sort.c util.c vec128.c vec256.c \ - consts.S syndrome_asm.S transpose_64x128_sp_asm.S \ - transpose_64x256_sp_asm.S update_asm.S vec128_mul_asm.S \ - vec256_ama_asm.S vec256_maa_asm.S vec256_mul_asm.S vec_reduce_asm.S - -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h \ - decrypt.h encrypt.h fft.h fft_tr.h gf.h int32_sort.h \ - params.h pk_gen.h sk_gen.h transpose.h uint32_sort.h util.h vec128.h \ - vec256.h \ - consts.inc powers.inc scalars_2x.inc scalars_4x.inc - - -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o fft.o \ - fft_tr.o gf.o int32_sort.o operations.o pk_gen.o sk_gen.o \ - transpose.o uint32_sort.o util.o vec128.o vec256.o \ - consts.o syndrome_asm.o transpose_64x128_sp_asm.o \ - transpose_64x256_sp_asm.o update_asm.o vec128_mul_asm.o \ - vec256_ama_asm.o vec256_maa_asm.o vec256_mul_asm.o vec_reduce_asm.o - -CFLAGS = -O3 -std=c99 -mpopcnt -mavx2 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -%.o: %.S - $(CC) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece8192128/clean/Makefile b/crypto_kem/mceliece8192128/clean/Makefile deleted file mode 100644 index 75bbecfd..00000000 --- a/crypto_kem/mceliece8192128/clean/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece8192128_clean.a - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c gf.c \ - operations.c pk_gen.c root.c sk_gen.c synd.c transpose.c util.c -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h \ - decrypt.h encrypt.h gf.h params.h pk_gen.h root.h \ - sk_gen.h synd.h transpose.h util.h -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o gf.o \ - operations.o pk_gen.o root.o sk_gen.o synd.o transpose.o util.o - -CFLAGS = -O3 -std=c99 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece8192128/sse/Makefile b/crypto_kem/mceliece8192128/sse/Makefile deleted file mode 100644 index dde9c0f3..00000000 --- a/crypto_kem/mceliece8192128/sse/Makefile +++ /dev/null @@ -1,37 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece8192128_sse.a - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c fft.c \ - fft_tr.c gf.c operations.c pk_gen.c sk_gen.c util.c vec128.c \ - consts.S syndrome_asm.S transpose_64x128_sp_asm.S update_asm.S \ - vec128_mul_asm.S vec_reduce_asm.S - -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h \ - decrypt.h encrypt.h fft.h fft_tr.h gf.h params.h \ - pk_gen.h sk_gen.h transpose.h util.h vec128.h \ - consts.inc scalars_2x.inc scalars_4x.inc powers.inc - -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o fft.o \ - fft_tr.o gf.o operations.o pk_gen.o sk_gen.o util.o vec128.o \ - consts.o syndrome_asm.o transpose_64x128_sp_asm.o \ - update_asm.o vec128_mul_asm.o vec_reduce_asm.o - -CFLAGS = -O3 -std=c99 -mpopcnt -msse4.1 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -%.o: %.S - $(CC) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece8192128/vec/Makefile b/crypto_kem/mceliece8192128/vec/Makefile deleted file mode 100644 index ab367e1b..00000000 --- a/crypto_kem/mceliece8192128/vec/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece8192128_vec.a - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c fft.c \ - fft_tr.c gf.c operations.c pk_gen.c sk_gen.c transpose.c util.c \ - vec.c - -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h decrypt.h \ - encrypt.h fft.h fft_tr.h gf.h params.h pk_gen.h sk_gen.h \ - transpose.h util.h vec.h \ - consts.inc powers.inc scalars_2x.inc scalars_4x.inc - -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o fft.o \ - fft_tr.o gf.o operations.o pk_gen.o sk_gen.o transpose.o util.o vec.o - -CFLAGS = -O3 -std=c99 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece8192128f/avx/Makefile b/crypto_kem/mceliece8192128f/avx/Makefile deleted file mode 100644 index 658c61b7..00000000 --- a/crypto_kem/mceliece8192128f/avx/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece8192128f_avx.a - - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c fft.c \ - fft_tr.c gf.c int32_sort.c operations.c pk_gen.c sk_gen.c \ - transpose.c uint32_sort.c util.c vec128.c vec256.c \ - consts.S syndrome_asm.S transpose_64x128_sp_asm.S \ - transpose_64x256_sp_asm.S update_asm.S vec128_mul_asm.S \ - vec256_ama_asm.S vec256_maa_asm.S vec256_mul_asm.S vec_reduce_asm.S - -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h \ - decrypt.h encrypt.h fft.h fft_tr.h gf.h int32_sort.h \ - params.h pk_gen.h sk_gen.h transpose.h uint32_sort.h util.h vec128.h \ - vec256.h \ - consts.inc powers.inc scalars_2x.inc scalars_4x.inc - - -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o fft.o \ - fft_tr.o gf.o int32_sort.o operations.o pk_gen.o sk_gen.o \ - transpose.o uint32_sort.o util.o vec128.o vec256.o \ - consts.o syndrome_asm.o transpose_64x128_sp_asm.o \ - transpose_64x256_sp_asm.o update_asm.o vec128_mul_asm.o \ - vec256_ama_asm.o vec256_maa_asm.o vec256_mul_asm.o vec_reduce_asm.o - -CFLAGS = -O3 -std=c99 -mbmi -mpopcnt -mavx2 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -%.o: %.S - $(CC) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece8192128f/clean/Makefile b/crypto_kem/mceliece8192128f/clean/Makefile deleted file mode 100644 index b0df4651..00000000 --- a/crypto_kem/mceliece8192128f/clean/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece8192128f_clean.a - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c gf.c \ - operations.c pk_gen.c root.c sk_gen.c synd.c transpose.c util.c -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h \ - decrypt.h encrypt.h gf.h params.h pk_gen.h root.h \ - sk_gen.h synd.h transpose.h util.h -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o gf.o \ - operations.o pk_gen.o root.o sk_gen.o synd.o transpose.o util.o - -CFLAGS = -O3 -std=c99 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece8192128f/sse/Makefile b/crypto_kem/mceliece8192128f/sse/Makefile deleted file mode 100644 index fff93bc5..00000000 --- a/crypto_kem/mceliece8192128f/sse/Makefile +++ /dev/null @@ -1,37 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece8192128f_sse.a - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c fft.c \ - fft_tr.c gf.c operations.c pk_gen.c sk_gen.c util.c vec128.c \ - consts.S syndrome_asm.S transpose_64x128_sp_asm.S update_asm.S \ - vec128_mul_asm.S vec_reduce_asm.S - -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h \ - decrypt.h encrypt.h fft.h fft_tr.h gf.h params.h \ - pk_gen.h sk_gen.h transpose.h util.h vec128.h \ - consts.inc scalars_2x.inc scalars_4x.inc powers.inc - -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o fft.o \ - fft_tr.o gf.o operations.o pk_gen.o sk_gen.o util.o vec128.o \ - consts.o syndrome_asm.o transpose_64x128_sp_asm.o \ - update_asm.o vec128_mul_asm.o vec_reduce_asm.o - -CFLAGS = -O3 -std=c99 -mbmi -mpopcnt -msse4.1 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -%.o: %.S - $(CC) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/mceliece8192128f/vec/Makefile b/crypto_kem/mceliece8192128f/vec/Makefile deleted file mode 100644 index 66ee2556..00000000 --- a/crypto_kem/mceliece8192128f/vec/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB = libmceliece8192128f_vec.a - -SOURCES = aes256ctr.c benes.c bm.c controlbits.c decrypt.c encrypt.c fft.c \ - fft_tr.c gf.c operations.c pk_gen.c sk_gen.c transpose.c util.c \ - vec.c - -HEADERS = aes256ctr.h api.h benes.h bm.h controlbits.h crypto_hash.h decrypt.h \ - encrypt.h fft.h fft_tr.h gf.h params.h pk_gen.h sk_gen.h \ - transpose.h util.h vec.h \ - consts.inc powers.inc scalars_2x.inc scalars_4x.inc - -OBJECTS = aes256ctr.o benes.o bm.o controlbits.o decrypt.o encrypt.o fft.o \ - fft_tr.o gf.o operations.o pk_gen.o sk_gen.o transpose.o util.o vec.o - -CFLAGS = -O3 -std=c99 -Wall -Wextra -pedantic -Werror -Wpedantic \ - -Wredundant-decls -Wvla -Wcast-align -Wmissing-prototypes \ - -I../../../common/ $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/ntruhps2048509/avx2/Makefile b/crypto_kem/ntruhps2048509/avx2/Makefile deleted file mode 100644 index a3096677..00000000 --- a/crypto_kem/ntruhps2048509/avx2/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libntruhps2048509_avx2.a -HEADERS=api.h cmov.h crypto_sort_int32.h owcpa.h params.h poly.h poly_r2_inv.h sample.h -OBJECTS=cmov.o crypto_sort_int32.o kem.o owcpa.o pack3.o packq.o poly.o poly_lift.o poly_r2_inv.o poly_s3_inv.o sample.o sample_iid.o \ - square_1_509_patience.o square_3_509_patience.o square_6_509_patience.o square_15_509_shufbytes.o square_30_509_shufbytes.o square_63_509_shufbytes.o square_126_509_shufbytes.o square_252_509_shufbytes.o \ - poly_mod_3_Phi_n.o poly_mod_q_Phi_n.o poly_r2_mul.o poly_rq_mul.o poly_rq_to_s3.o vec32_sample_iid.o - -CFLAGS=-O3 -mavx2 -mbmi2 -Wall -Wextra -Wpedantic -Wvla -Werror -Wredundant-decls -Wmissing-prototypes -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.s $(HEADERS) - $(AS) -o $@ $< - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/ntruhps2048509/clean/Makefile b/crypto_kem/ntruhps2048509/clean/Makefile deleted file mode 100644 index 951364a3..00000000 --- a/crypto_kem/ntruhps2048509/clean/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libntruhps2048509_clean.a -HEADERS=api.h cmov.h crypto_sort_int32.h owcpa.h params.h poly.h sample.h -OBJECTS=cmov.o crypto_sort_int32.o kem.o owcpa.o pack3.o packq.o poly.o poly_lift.o poly_mod.o poly_r2_inv.o poly_rq_mul.o poly_s3_inv.o sample.o sample_iid.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -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) diff --git a/crypto_kem/ntruhps2048677/avx2/Makefile b/crypto_kem/ntruhps2048677/avx2/Makefile deleted file mode 100644 index fe375685..00000000 --- a/crypto_kem/ntruhps2048677/avx2/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libntruhps2048677_avx2.a -HEADERS=api.h cmov.h crypto_sort_int32.h owcpa.h params.h poly.h poly_r2_inv.h sample.h -OBJECTS=cmov.o crypto_sort_int32.o kem.o owcpa.o pack3.o packq.o poly.o poly_lift.o poly_r2_inv.o poly_s3_inv.o sample.o sample_iid.o \ - square_1_677_patience.o square_2_677_patience.o square_3_677_patience.o square_5_677_patience.o square_10_677_shufbytes.o square_21_677_shufbytes.o square_42_677_shufbytes.o square_84_677_shufbytes.o square_168_677_shufbytes.o square_336_677_shufbytes.o \ - poly_mod_3_Phi_n.o poly_mod_q_Phi_n.o poly_r2_mul.o poly_rq_mul.o poly_rq_to_s3.o vec32_sample_iid.o - -CFLAGS=-O3 -mavx2 -mbmi2 -Wall -Wextra -Wpedantic -Wvla -Werror -Wredundant-decls -Wmissing-prototypes -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.s $(HEADERS) - $(AS) -o $@ $< - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/ntruhps2048677/clean/Makefile b/crypto_kem/ntruhps2048677/clean/Makefile deleted file mode 100644 index 95872bf7..00000000 --- a/crypto_kem/ntruhps2048677/clean/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libntruhps2048677_clean.a -HEADERS=api.h cmov.h crypto_sort_int32.h owcpa.h params.h poly.h sample.h -OBJECTS=cmov.o crypto_sort_int32.o kem.o owcpa.o pack3.o packq.o poly.o poly_lift.o poly_mod.o poly_r2_inv.o poly_rq_mul.o poly_s3_inv.o sample.o sample_iid.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -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) diff --git a/crypto_kem/ntruhps4096821/avx2/Makefile b/crypto_kem/ntruhps4096821/avx2/Makefile deleted file mode 100644 index cb39c2a2..00000000 --- a/crypto_kem/ntruhps4096821/avx2/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libntruhps4096821_avx2.a -HEADERS=api.h cmov.h crypto_sort_int32.h owcpa.h params.h poly.h poly_r2_inv.h sample.h -OBJECTS=cmov.o crypto_sort_int32.o kem.o owcpa.o pack3.o packq.o poly.o poly_lift.o poly_r2_inv.o poly_s3_inv.o sample.o sample_iid.o \ - square_1_821_patience.o square_3_821_patience.o square_6_821_patience.o square_12_821_shufbytes.o square_24_821_shufbytes.o square_51_821_shufbytes.o square_102_821_shufbytes.o square_204_821_shufbytes.o square_408_821_shufbytes.o \ - poly_mod_3_Phi_n.o poly_mod_q_Phi_n.o poly_r2_mul.o poly_rq_mul.o poly_rq_to_s3.o vec32_sample_iid.o - -CFLAGS=-O3 -mavx2 -mbmi2 -Wall -Wextra -Wpedantic -Wvla -Werror -Wredundant-decls -Wmissing-prototypes -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.s $(HEADERS) - $(AS) -o $@ $< - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/ntruhps4096821/clean/Makefile b/crypto_kem/ntruhps4096821/clean/Makefile deleted file mode 100644 index 5f11ae4c..00000000 --- a/crypto_kem/ntruhps4096821/clean/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libntruhps4096821_clean.a -HEADERS=api.h cmov.h crypto_sort_int32.h owcpa.h params.h poly.h sample.h -OBJECTS=cmov.o crypto_sort_int32.o kem.o owcpa.o pack3.o packq.o poly.o poly_lift.o poly_mod.o poly_r2_inv.o poly_rq_mul.o poly_s3_inv.o sample.o sample_iid.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -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) diff --git a/crypto_kem/ntruhrss701/avx2/Makefile b/crypto_kem/ntruhrss701/avx2/Makefile deleted file mode 100644 index d3836d08..00000000 --- a/crypto_kem/ntruhrss701/avx2/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libntruhrss701_avx2.a -HEADERS=api.h cmov.h owcpa.h params.h poly.h poly_r2_inv.h sample.h -OBJECTS=cmov.o kem.o owcpa.o pack3.o packq.o poly.o poly_r2_inv.o poly_s3_inv.o sample.o sample_iid.o \ - square_1_701_patience.o square_3_701_patience.o square_6_701_patience.o square_12_701_shufbytes.o square_15_701_shufbytes.o square_27_701_shufbytes.o square_42_701_shufbytes.o square_84_701_shufbytes.o square_168_701_shufbytes.o square_336_701_shufbytes.o \ - poly_lift.o poly_mod_3_Phi_n.o poly_mod_q_Phi_n.o poly_r2_mul.o poly_rq_mul.o poly_rq_to_s3.o vec32_sample_iid.o - -CFLAGS=-O3 -mavx2 -mbmi2 -Wall -Wextra -Wpedantic -Wvla -Werror -Wredundant-decls -Wmissing-prototypes -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.s $(HEADERS) - $(AS) -o $@ $< - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/ntruhrss701/clean/Makefile b/crypto_kem/ntruhrss701/clean/Makefile deleted file mode 100644 index 204c9559..00000000 --- a/crypto_kem/ntruhrss701/clean/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libntruhrss701_clean.a -HEADERS=api.h cmov.h owcpa.h params.h poly.h sample.h -OBJECTS=cmov.o kem.o owcpa.o pack3.o packq.o poly.o poly_lift.o poly_mod.o poly_r2_inv.o poly_rq_mul.o poly_s3_inv.o sample.o sample_iid.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -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) diff --git a/crypto_kem/ntrulpr653/avx2/Makefile b/crypto_kem/ntrulpr653/avx2/Makefile deleted file mode 100644 index 5d22a4ce..00000000 --- a/crypto_kem/ntrulpr653/avx2/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libntrulpr653_avx2.a -HEADERS=api.h crypto_core_multsntrup653.h crypto_core_multsntrup653_ntt.h crypto_decode_256x16.h crypto_decode_256x2.h crypto_decode_653x1541.h crypto_decode_653x3.h crypto_decode_653xint16.h crypto_decode_653xint32.h crypto_encode_256x16.h crypto_encode_256x2.h crypto_encode_653x1541.h crypto_encode_653x1541round.h crypto_encode_653x3.h crypto_encode_653xint16.h crypto_sort_int32.h crypto_sort_uint32.h crypto_stream_aes256ctr.h crypto_verify_1025.h params.h -OBJECTS=crypto_core_multsntrup653.o crypto_core_multsntrup653_ntt.o crypto_decode_256x16.o crypto_decode_256x2.o crypto_decode_653x1541.o crypto_decode_653x3.o crypto_decode_653xint16.o crypto_decode_653xint32.o crypto_encode_256x16.o crypto_encode_256x2.o crypto_encode_653x1541.o crypto_encode_653x1541round.o crypto_encode_653x3.o crypto_encode_653xint16.o crypto_sort_int32.o crypto_sort_uint32.o crypto_stream_aes256ctr.o crypto_verify_1025.o kem.o - -CFLAGS=-O3 -mavx2 -mbmi2 -Wall -Wextra -Wpedantic -Wvla -Werror -Wredundant-decls -Wmissing-prototypes -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.s $(HEADERS) - $(AS) -o $@ $< - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/ntrulpr653/clean/Makefile b/crypto_kem/ntrulpr653/clean/Makefile deleted file mode 100644 index 7807ed9b..00000000 --- a/crypto_kem/ntrulpr653/clean/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libntrulpr653_clean.a -HEADERS=api.h crypto_core_multsntrup653.h crypto_decode_256x16.h crypto_decode_256x2.h crypto_decode_653x1541.h crypto_decode_653x3.h crypto_decode_653xint16.h crypto_decode_653xint32.h crypto_encode_256x16.h crypto_encode_256x2.h crypto_encode_653x1541.h crypto_encode_653x1541round.h crypto_encode_653x3.h crypto_encode_653xint16.h crypto_sort_int32.h crypto_sort_uint32.h crypto_stream_aes256ctr.h crypto_verify_1025.h params.h -OBJECTS=crypto_core_multsntrup653.o crypto_decode_256x16.o crypto_decode_256x2.o crypto_decode_653x1541.o crypto_decode_653x3.o crypto_decode_653xint16.o crypto_decode_653xint32.o crypto_encode_256x16.o crypto_encode_256x2.o crypto_encode_653x1541.o crypto_encode_653x1541round.o crypto_encode_653x3.o crypto_encode_653xint16.o crypto_sort_int32.o crypto_sort_uint32.o crypto_stream_aes256ctr.o crypto_verify_1025.o kem.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -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) diff --git a/crypto_kem/ntrulpr761/avx2/Makefile b/crypto_kem/ntrulpr761/avx2/Makefile deleted file mode 100644 index 053dd074..00000000 --- a/crypto_kem/ntrulpr761/avx2/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libntrulpr761_avx2.a -HEADERS=api.h crypto_core_multsntrup761.h crypto_core_multsntrup761_ntt.h crypto_decode_256x16.h crypto_decode_256x2.h crypto_decode_761x1531.h crypto_decode_761x3.h crypto_decode_761xint16.h crypto_decode_761xint32.h crypto_encode_256x16.h crypto_encode_256x2.h crypto_encode_761x1531.h crypto_encode_761x1531round.h crypto_encode_761x3.h crypto_encode_761xint16.h crypto_sort_int32.h crypto_sort_uint32.h crypto_stream_aes256ctr.h crypto_verify_1167.h params.h -OBJECTS=crypto_core_multsntrup761.o crypto_core_multsntrup761_ntt.o crypto_decode_256x16.o crypto_decode_256x2.o crypto_decode_761x1531.o crypto_decode_761x3.o crypto_decode_761xint16.o crypto_decode_761xint32.o crypto_encode_256x16.o crypto_encode_256x2.o crypto_encode_761x1531.o crypto_encode_761x1531round.o crypto_encode_761x3.o crypto_encode_761xint16.o crypto_sort_int32.o crypto_sort_uint32.o crypto_stream_aes256ctr.o crypto_verify_1167.o kem.o - -CFLAGS=-O3 -mavx2 -mbmi2 -Wall -Wextra -Wpedantic -Wvla -Werror -Wredundant-decls -Wmissing-prototypes -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.s $(HEADERS) - $(AS) -o $@ $< - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/ntrulpr761/clean/Makefile b/crypto_kem/ntrulpr761/clean/Makefile deleted file mode 100644 index b1efe00b..00000000 --- a/crypto_kem/ntrulpr761/clean/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libntrulpr761_clean.a -HEADERS=api.h crypto_core_multsntrup761.h crypto_decode_256x16.h crypto_decode_256x2.h crypto_decode_761x1531.h crypto_decode_761x3.h crypto_decode_761xint16.h crypto_decode_761xint32.h crypto_encode_256x16.h crypto_encode_256x2.h crypto_encode_761x1531.h crypto_encode_761x1531round.h crypto_encode_761x3.h crypto_encode_761xint16.h crypto_sort_int32.h crypto_sort_uint32.h crypto_stream_aes256ctr.h crypto_verify_1167.h params.h -OBJECTS=crypto_core_multsntrup761.o crypto_decode_256x16.o crypto_decode_256x2.o crypto_decode_761x1531.o crypto_decode_761x3.o crypto_decode_761xint16.o crypto_decode_761xint32.o crypto_encode_256x16.o crypto_encode_256x2.o crypto_encode_761x1531.o crypto_encode_761x1531round.o crypto_encode_761x3.o crypto_encode_761xint16.o crypto_sort_int32.o crypto_sort_uint32.o crypto_stream_aes256ctr.o crypto_verify_1167.o kem.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -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) diff --git a/crypto_kem/ntrulpr857/avx2/Makefile b/crypto_kem/ntrulpr857/avx2/Makefile deleted file mode 100644 index e4918b62..00000000 --- a/crypto_kem/ntrulpr857/avx2/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libntrulpr857_avx2.a -HEADERS=api.h crypto_core_multsntrup857.h crypto_core_multsntrup857_ntt.h crypto_decode_256x16.h crypto_decode_256x2.h crypto_decode_857x1723.h crypto_decode_857x3.h crypto_decode_857xint16.h crypto_decode_857xint32.h crypto_encode_256x16.h crypto_encode_256x2.h crypto_encode_857x1723.h crypto_encode_857x1723round.h crypto_encode_857x3.h crypto_encode_857xint16.h crypto_sort_int32.h crypto_sort_uint32.h crypto_stream_aes256ctr.h crypto_verify_1312.h params.h -OBJECTS=crypto_core_multsntrup857.o crypto_core_multsntrup857_ntt.o crypto_decode_256x16.o crypto_decode_256x2.o crypto_decode_857x1723.o crypto_decode_857x3.o crypto_decode_857xint16.o crypto_decode_857xint32.o crypto_encode_256x16.o crypto_encode_256x2.o crypto_encode_857x1723.o crypto_encode_857x1723round.o crypto_encode_857x3.o crypto_encode_857xint16.o crypto_sort_int32.o crypto_sort_uint32.o crypto_stream_aes256ctr.o crypto_verify_1312.o kem.o - -CFLAGS=-O3 -mavx2 -mbmi2 -Wall -Wextra -Wpedantic -Wvla -Werror -Wredundant-decls -Wmissing-prototypes -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.s $(HEADERS) - $(AS) -o $@ $< - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/ntrulpr857/clean/Makefile b/crypto_kem/ntrulpr857/clean/Makefile deleted file mode 100644 index 62c358a8..00000000 --- a/crypto_kem/ntrulpr857/clean/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libntrulpr857_clean.a -HEADERS=api.h crypto_core_multsntrup857.h crypto_decode_256x16.h crypto_decode_256x2.h crypto_decode_857x1723.h crypto_decode_857x3.h crypto_decode_857xint16.h crypto_decode_857xint32.h crypto_encode_256x16.h crypto_encode_256x2.h crypto_encode_857x1723.h crypto_encode_857x1723round.h crypto_encode_857x3.h crypto_encode_857xint16.h crypto_sort_int32.h crypto_sort_uint32.h crypto_stream_aes256ctr.h crypto_verify_1312.h params.h -OBJECTS=crypto_core_multsntrup857.o crypto_decode_256x16.o crypto_decode_256x2.o crypto_decode_857x1723.o crypto_decode_857x3.o crypto_decode_857xint16.o crypto_decode_857xint32.o crypto_encode_256x16.o crypto_encode_256x2.o crypto_encode_857x1723.o crypto_encode_857x1723round.o crypto_encode_857x3.o crypto_encode_857xint16.o crypto_sort_int32.o crypto_sort_uint32.o crypto_stream_aes256ctr.o crypto_verify_1312.o kem.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -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) diff --git a/crypto_kem/saber/avx2/Makefile b/crypto_kem/saber/avx2/Makefile deleted file mode 100644 index 41ea6101..00000000 --- a/crypto_kem/saber/avx2/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsaber_avx2.a -HEADERS=api.h cbd.h pack_unpack.h poly.h SABER_indcpa.h SABER_params.h verify.h -OBJECTS=cbd.o kem.o pack_unpack.o poly.o poly_mul.o SABER_indcpa.o verify.o - -CFLAGS=-O3 -mavx2 -Wall -Wextra -Wpedantic -Wvla -Werror -Wredundant-decls -Wmissing-prototypes -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.s $(HEADERS) - $(AS) -o $@ $< - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/saber/clean/Makefile b/crypto_kem/saber/clean/Makefile deleted file mode 100644 index cbc1357c..00000000 --- a/crypto_kem/saber/clean/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsaber_clean.a -HEADERS=api.h cbd.h pack_unpack.h poly.h poly_mul.h SABER_indcpa.h SABER_params.h verify.h -OBJECTS=cbd.o kem.o pack_unpack.o poly.o poly_mul.o SABER_indcpa.o verify.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -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) diff --git a/crypto_kem/sntrup653/avx2/Makefile b/crypto_kem/sntrup653/avx2/Makefile deleted file mode 100644 index bc2fbbd0..00000000 --- a/crypto_kem/sntrup653/avx2/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsntrup653_avx2.a -HEADERS=api.h crypto_core_inv3sntrup653.h crypto_core_invsntrup653.h crypto_core_mult3sntrup653.h crypto_core_multsntrup653.h crypto_core_multsntrup653_ntt.h crypto_core_scale3sntrup653.h crypto_core_weightsntrup653.h crypto_core_wforcesntrup653.h crypto_decode_653x1541.h crypto_decode_653x3.h crypto_decode_653x4621.h crypto_decode_653xint16.h crypto_decode_653xint32.h crypto_decode_int16.h crypto_encode_653x1541.h crypto_encode_653x1541round.h crypto_encode_653x3.h crypto_encode_653x4621.h crypto_encode_653xfreeze3.h crypto_encode_653xint16.h crypto_encode_int16.h crypto_sort_int32.h crypto_sort_uint32.h crypto_stream_aes256ctr.h crypto_verify_897.h params.h -OBJECTS=crypto_core_inv3sntrup653.o crypto_core_invsntrup653.o crypto_core_mult3sntrup653.o crypto_core_multsntrup653.o crypto_core_multsntrup653_ntt.o crypto_core_scale3sntrup653.o crypto_core_weightsntrup653.o crypto_core_wforcesntrup653.o crypto_decode_653x1541.o crypto_decode_653x3.o crypto_decode_653x4621.o crypto_decode_653xint16.o crypto_decode_653xint32.o crypto_decode_int16.o crypto_encode_653x1541.o crypto_encode_653x1541round.o crypto_encode_653x3.o crypto_encode_653x4621.o crypto_encode_653xfreeze3.o crypto_encode_653xint16.o crypto_encode_int16.o crypto_sort_int32.o crypto_sort_uint32.o crypto_stream_aes256ctr.o crypto_verify_897.o kem.o - -CFLAGS=-O3 -mavx2 -mbmi2 -Wall -Wextra -Wpedantic -Wvla -Werror -Wredundant-decls -Wmissing-prototypes -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.s $(HEADERS) - $(AS) -o $@ $< - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/sntrup653/clean/Makefile b/crypto_kem/sntrup653/clean/Makefile deleted file mode 100644 index 81ded6d1..00000000 --- a/crypto_kem/sntrup653/clean/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsntrup653_clean.a -HEADERS=api.h crypto_core_inv3sntrup653.h crypto_core_invsntrup653.h crypto_core_mult3sntrup653.h crypto_core_multsntrup653.h crypto_core_scale3sntrup653.h crypto_core_weightsntrup653.h crypto_core_wforcesntrup653.h crypto_decode_653x1541.h crypto_decode_653x3.h crypto_decode_653x4621.h crypto_decode_653xint16.h crypto_decode_653xint32.h crypto_encode_653x1541.h crypto_encode_653x1541round.h crypto_encode_653x3.h crypto_encode_653x4621.h crypto_encode_653xfreeze3.h crypto_encode_653xint16.h crypto_encode_int16.h crypto_sort_int32.h crypto_sort_uint32.h crypto_stream_aes256ctr.h crypto_verify_897.h params.h -OBJECTS=crypto_core_inv3sntrup653.o crypto_core_invsntrup653.o crypto_core_mult3sntrup653.o crypto_core_multsntrup653.o crypto_core_scale3sntrup653.o crypto_core_weightsntrup653.o crypto_core_wforcesntrup653.o crypto_decode_653x1541.o crypto_decode_653x3.o crypto_decode_653x4621.o crypto_decode_653xint16.o crypto_decode_653xint32.o crypto_encode_653x1541.o crypto_encode_653x1541round.o crypto_encode_653x3.o crypto_encode_653x4621.o crypto_encode_653xfreeze3.o crypto_encode_653xint16.o crypto_encode_int16.o crypto_sort_int32.o crypto_sort_uint32.o crypto_stream_aes256ctr.o crypto_verify_897.o kem.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -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) diff --git a/crypto_kem/sntrup761/avx2/Makefile b/crypto_kem/sntrup761/avx2/Makefile deleted file mode 100644 index 3e1c7ac2..00000000 --- a/crypto_kem/sntrup761/avx2/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsntrup761_avx2.a -HEADERS=api.h crypto_core_inv3sntrup761.h crypto_core_invsntrup761.h crypto_core_mult3sntrup761.h crypto_core_multsntrup761.h crypto_core_multsntrup761_ntt.h crypto_core_scale3sntrup761.h crypto_core_weightsntrup761.h crypto_core_wforcesntrup761.h crypto_decode_761x1531.h crypto_decode_761x3.h crypto_decode_761x4591.h crypto_decode_761xint16.h crypto_decode_761xint32.h crypto_decode_int16.h crypto_encode_761x1531.h crypto_encode_761x1531round.h crypto_encode_761x3.h crypto_encode_761x4591.h crypto_encode_761xfreeze3.h crypto_encode_761xint16.h crypto_encode_int16.h crypto_sort_int32.h crypto_sort_uint32.h crypto_stream_aes256ctr.h crypto_verify_1039.h params.h -OBJECTS=crypto_core_inv3sntrup761.o crypto_core_invsntrup761.o crypto_core_mult3sntrup761.o crypto_core_multsntrup761.o crypto_core_multsntrup761_ntt.o crypto_core_scale3sntrup761.o crypto_core_weightsntrup761.o crypto_core_wforcesntrup761.o crypto_decode_761x1531.o crypto_decode_761x3.o crypto_decode_761x4591.o crypto_decode_761xint16.o crypto_decode_761xint32.o crypto_decode_int16.o crypto_encode_761x1531.o crypto_encode_761x1531round.o crypto_encode_761x3.o crypto_encode_761x4591.o crypto_encode_761xfreeze3.o crypto_encode_761xint16.o crypto_encode_int16.o crypto_sort_int32.o crypto_sort_uint32.o crypto_stream_aes256ctr.o crypto_verify_1039.o kem.o - -CFLAGS=-O3 -mavx2 -mbmi2 -Wall -Wextra -Wpedantic -Wvla -Werror -Wredundant-decls -Wmissing-prototypes -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.s $(HEADERS) - $(AS) -o $@ $< - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/sntrup761/clean/Makefile b/crypto_kem/sntrup761/clean/Makefile deleted file mode 100644 index b62759a2..00000000 --- a/crypto_kem/sntrup761/clean/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsntrup761_clean.a -HEADERS=api.h crypto_core_inv3sntrup761.h crypto_core_invsntrup761.h crypto_core_mult3sntrup761.h crypto_core_multsntrup761.h crypto_core_scale3sntrup761.h crypto_core_weightsntrup761.h crypto_core_wforcesntrup761.h crypto_decode_761x1531.h crypto_decode_761x3.h crypto_decode_761x4591.h crypto_decode_761xint16.h crypto_decode_761xint32.h crypto_encode_761x1531.h crypto_encode_761x1531round.h crypto_encode_761x3.h crypto_encode_761x4591.h crypto_encode_761xfreeze3.h crypto_encode_761xint16.h crypto_encode_int16.h crypto_sort_int32.h crypto_sort_uint32.h crypto_stream_aes256ctr.h crypto_verify_1039.h params.h -OBJECTS=crypto_core_inv3sntrup761.o crypto_core_invsntrup761.o crypto_core_mult3sntrup761.o crypto_core_multsntrup761.o crypto_core_scale3sntrup761.o crypto_core_weightsntrup761.o crypto_core_wforcesntrup761.o crypto_decode_761x1531.o crypto_decode_761x3.o crypto_decode_761x4591.o crypto_decode_761xint16.o crypto_decode_761xint32.o crypto_encode_761x1531.o crypto_encode_761x1531round.o crypto_encode_761x3.o crypto_encode_761x4591.o crypto_encode_761xfreeze3.o crypto_encode_761xint16.o crypto_encode_int16.o crypto_sort_int32.o crypto_sort_uint32.o crypto_stream_aes256ctr.o crypto_verify_1039.o kem.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -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) diff --git a/crypto_kem/sntrup857/avx2/Makefile b/crypto_kem/sntrup857/avx2/Makefile deleted file mode 100644 index 58d4d010..00000000 --- a/crypto_kem/sntrup857/avx2/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsntrup857_avx2.a -HEADERS=api.h crypto_core_inv3sntrup857.h crypto_core_invsntrup857.h crypto_core_mult3sntrup857.h crypto_core_multsntrup857.h crypto_core_multsntrup857_ntt.h crypto_core_scale3sntrup857.h crypto_core_weightsntrup857.h crypto_core_wforcesntrup857.h crypto_decode_857x1723.h crypto_decode_857x3.h crypto_decode_857x5167.h crypto_decode_857xint16.h crypto_decode_857xint32.h crypto_decode_int16.h crypto_encode_857x1723.h crypto_encode_857x1723round.h crypto_encode_857x3.h crypto_encode_857x5167.h crypto_encode_857xfreeze3.h crypto_encode_857xint16.h crypto_encode_int16.h crypto_sort_int32.h crypto_sort_uint32.h crypto_stream_aes256ctr.h crypto_verify_1184.h params.h -OBJECTS=crypto_core_inv3sntrup857.o crypto_core_invsntrup857.o crypto_core_mult3sntrup857.o crypto_core_multsntrup857.o crypto_core_multsntrup857_ntt.o crypto_core_scale3sntrup857.o crypto_core_weightsntrup857.o crypto_core_wforcesntrup857.o crypto_decode_857x1723.o crypto_decode_857x3.o crypto_decode_857x5167.o crypto_decode_857xint16.o crypto_decode_857xint32.o crypto_decode_int16.o crypto_encode_857x1723.o crypto_encode_857x1723round.o crypto_encode_857x3.o crypto_encode_857x5167.o crypto_encode_857xfreeze3.o crypto_encode_857xint16.o crypto_encode_int16.o crypto_sort_int32.o crypto_sort_uint32.o crypto_stream_aes256ctr.o crypto_verify_1184.o kem.o - -CFLAGS=-O3 -mavx2 -mbmi2 -Wall -Wextra -Wpedantic -Wvla -Werror -Wredundant-decls -Wmissing-prototypes -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.s $(HEADERS) - $(AS) -o $@ $< - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_kem/sntrup857/clean/Makefile b/crypto_kem/sntrup857/clean/Makefile deleted file mode 100644 index abe07fce..00000000 --- a/crypto_kem/sntrup857/clean/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsntrup857_clean.a -HEADERS=api.h crypto_core_inv3sntrup857.h crypto_core_invsntrup857.h crypto_core_mult3sntrup857.h crypto_core_multsntrup857.h crypto_core_scale3sntrup857.h crypto_core_weightsntrup857.h crypto_core_wforcesntrup857.h crypto_decode_857x1723.h crypto_decode_857x3.h crypto_decode_857x5167.h crypto_decode_857xint16.h crypto_decode_857xint32.h crypto_encode_857x1723.h crypto_encode_857x1723round.h crypto_encode_857x3.h crypto_encode_857x5167.h crypto_encode_857xfreeze3.h crypto_encode_857xint16.h crypto_encode_int16.h crypto_sort_int32.h crypto_sort_uint32.h crypto_stream_aes256ctr.h crypto_verify_1184.h params.h -OBJECTS=crypto_core_inv3sntrup857.o crypto_core_invsntrup857.o crypto_core_mult3sntrup857.o crypto_core_multsntrup857.o crypto_core_scale3sntrup857.o crypto_core_weightsntrup857.o crypto_core_wforcesntrup857.o crypto_decode_857x1723.o crypto_decode_857x3.o crypto_decode_857x5167.o crypto_decode_857xint16.o crypto_decode_857xint32.o crypto_encode_857x1723.o crypto_encode_857x1723round.o crypto_encode_857x3.o crypto_encode_857x5167.o crypto_encode_857xfreeze3.o crypto_encode_857xint16.o crypto_encode_int16.o crypto_sort_int32.o crypto_sort_uint32.o crypto_stream_aes256ctr.o crypto_verify_1184.o kem.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -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) diff --git a/crypto_sign/dilithium2/avx2/Makefile b/crypto_sign/dilithium2/avx2/Makefile deleted file mode 100644 index 47101200..00000000 --- a/crypto_sign/dilithium2/avx2/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libdilithium2_avx2.a -HEADERS=align.h api.h cdecl.h consts.h fips202x4.h ntt.h packing.h params.h poly.h polyvec.h rejsample.h rounding.h sign.h symmetric.h shuffle.inc -OBJECTS=consts.o fips202x4.o packing.o poly.o polyvec.o rejsample.o rounding.o sign.o symmetric-shake.o f1600x4.o invntt.o ntt.o pointwise.o shuffle.o -KECCAK4XDIR=../../../common/keccak4x -KECCAK4XOBJ=KeccakP-1600-times4-SIMD256.o -KECCAK4X=$(KECCAK4XDIR)/$(KECCAK4XOBJ) - -CFLAGS=-mavx2 -mpopcnt -O3 -Wall -Wextra -Wpedantic -Werror \ - -Wmissing-prototypes -Wredundant-decls \ - -Wpointer-arith -Wshadow \ - -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -%.o: %.S $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) $(KECCAK4X) - $(AR) -r $@ $(OBJECTS) $(KECCAK4X) - -$(KECCAK4X): - $(MAKE) -C $(KECCAK4XDIR) $(KECCAK4XOBJ) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/dilithium2/clean/Makefile b/crypto_sign/dilithium2/clean/Makefile deleted file mode 100644 index 6c1aea72..00000000 --- a/crypto_sign/dilithium2/clean/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libdilithium2_clean.a -HEADERS=api.h ntt.h packing.h params.h poly.h polyvec.h reduce.h rounding.h sign.h symmetric.h -OBJECTS=ntt.o packing.o poly.o polyvec.o reduce.o rounding.o sign.o symmetric-shake.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/dilithium2aes/avx2/Makefile b/crypto_sign/dilithium2aes/avx2/Makefile deleted file mode 100644 index a973d785..00000000 --- a/crypto_sign/dilithium2aes/avx2/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libdilithium2aes_avx2.a -HEADERS=aes256ctr.h align.h api.h cdecl.h consts.h ntt.h packing.h params.h poly.h polyvec.h rejsample.h rounding.h sign.h symmetric.h shuffle.inc -OBJECTS=aes256ctr.o consts.o packing.o poly.o polyvec.o rejsample.o rounding.o sign.o invntt.o ntt.o pointwise.o shuffle.o -CFLAGS=-mavx2 -maes -mpopcnt -O3 -Wall -Wextra -Wpedantic -Werror \ - -Wmissing-prototypes -Wredundant-decls -std=c99 \ - -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -%.o: %.S $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/dilithium2aes/clean/Makefile b/crypto_sign/dilithium2aes/clean/Makefile deleted file mode 100644 index c5955825..00000000 --- a/crypto_sign/dilithium2aes/clean/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libdilithium2aes_clean.a -HEADERS=aes256ctr.h api.h ntt.h packing.h params.h poly.h polyvec.h reduce.h rounding.h sign.h symmetric.h -OBJECTS=aes256ctr.o ntt.o packing.o poly.o polyvec.o reduce.o rounding.o sign.o symmetric-aes.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/dilithium3/avx2/Makefile b/crypto_sign/dilithium3/avx2/Makefile deleted file mode 100644 index 8cd2a155..00000000 --- a/crypto_sign/dilithium3/avx2/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libdilithium3_avx2.a -HEADERS=align.h api.h cdecl.h consts.h fips202x4.h ntt.h packing.h params.h poly.h polyvec.h rejsample.h rounding.h sign.h symmetric.h shuffle.inc -OBJECTS=consts.o fips202x4.o packing.o poly.o polyvec.o rejsample.o rounding.o sign.o symmetric-shake.o f1600x4.o invntt.o ntt.o pointwise.o shuffle.o -KECCAK4XDIR=../../../common/keccak4x -KECCAK4XOBJ=KeccakP-1600-times4-SIMD256.o -KECCAK4X=$(KECCAK4XDIR)/$(KECCAK4XOBJ) - -CFLAGS=-mavx2 -mpopcnt -O3 -Wall -Wextra -Wpedantic -Werror \ - -Wmissing-prototypes -Wredundant-decls \ - -Wpointer-arith -Wshadow \ - -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -%.o: %.S $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) $(KECCAK4X) - $(AR) -r $@ $(OBJECTS) $(KECCAK4X) - -$(KECCAK4X): - $(MAKE) -C $(KECCAK4XDIR) $(KECCAK4XOBJ) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/dilithium3/clean/Makefile b/crypto_sign/dilithium3/clean/Makefile deleted file mode 100644 index 9c094e09..00000000 --- a/crypto_sign/dilithium3/clean/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libdilithium3_clean.a -HEADERS=api.h ntt.h packing.h params.h poly.h polyvec.h reduce.h rounding.h sign.h symmetric.h -OBJECTS=ntt.o packing.o poly.o polyvec.o reduce.o rounding.o sign.o symmetric-shake.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/dilithium3aes/avx2/Makefile b/crypto_sign/dilithium3aes/avx2/Makefile deleted file mode 100644 index 2a174dd4..00000000 --- a/crypto_sign/dilithium3aes/avx2/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libdilithium3aes_avx2.a -HEADERS=aes256ctr.h align.h api.h cdecl.h consts.h ntt.h packing.h params.h poly.h polyvec.h rejsample.h rounding.h sign.h symmetric.h shuffle.inc -OBJECTS=aes256ctr.o consts.o packing.o poly.o polyvec.o rejsample.o rounding.o sign.o invntt.o ntt.o pointwise.o shuffle.o -CFLAGS=-mavx2 -maes -mpopcnt -O3 -Wall -Wextra -Wpedantic -Werror \ - -Wmissing-prototypes -Wredundant-decls -std=c99 \ - -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -%.o: %.S $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/dilithium3aes/clean/Makefile b/crypto_sign/dilithium3aes/clean/Makefile deleted file mode 100644 index 60655614..00000000 --- a/crypto_sign/dilithium3aes/clean/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libdilithium3aes_clean.a -HEADERS=aes256ctr.h api.h ntt.h packing.h params.h poly.h polyvec.h reduce.h rounding.h sign.h symmetric.h -OBJECTS=aes256ctr.o ntt.o packing.o poly.o polyvec.o reduce.o rounding.o sign.o symmetric-aes.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/dilithium5/avx2/Makefile b/crypto_sign/dilithium5/avx2/Makefile deleted file mode 100644 index 9cd68f9c..00000000 --- a/crypto_sign/dilithium5/avx2/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libdilithium5_avx2.a -HEADERS=align.h api.h cdecl.h consts.h fips202x4.h ntt.h packing.h params.h poly.h polyvec.h rejsample.h rounding.h sign.h symmetric.h shuffle.inc -OBJECTS=consts.o fips202x4.o packing.o poly.o polyvec.o rejsample.o rounding.o sign.o symmetric-shake.o f1600x4.o invntt.o ntt.o pointwise.o shuffle.o -KECCAK4XDIR=../../../common/keccak4x -KECCAK4XOBJ=KeccakP-1600-times4-SIMD256.o -KECCAK4X=$(KECCAK4XDIR)/$(KECCAK4XOBJ) - -CFLAGS=-mavx2 -mpopcnt -O3 -Wall -Wextra -Wpedantic -Werror \ - -Wmissing-prototypes -Wredundant-decls \ - -Wpointer-arith -Wshadow \ - -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -%.o: %.S $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) $(KECCAK4X) - $(AR) -r $@ $(OBJECTS) $(KECCAK4X) - -$(KECCAK4X): - $(MAKE) -C $(KECCAK4XDIR) $(KECCAK4XOBJ) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/dilithium5/clean/Makefile b/crypto_sign/dilithium5/clean/Makefile deleted file mode 100644 index 5e731017..00000000 --- a/crypto_sign/dilithium5/clean/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libdilithium5_clean.a -HEADERS=api.h ntt.h packing.h params.h poly.h polyvec.h reduce.h rounding.h sign.h symmetric.h -OBJECTS=ntt.o packing.o poly.o polyvec.o reduce.o rounding.o sign.o symmetric-shake.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/dilithium5aes/avx2/Makefile b/crypto_sign/dilithium5aes/avx2/Makefile deleted file mode 100644 index dc96feb1..00000000 --- a/crypto_sign/dilithium5aes/avx2/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libdilithium5aes_avx2.a -HEADERS=aes256ctr.h align.h api.h cdecl.h consts.h ntt.h packing.h params.h poly.h polyvec.h rejsample.h rounding.h sign.h symmetric.h shuffle.inc -OBJECTS=aes256ctr.o consts.o packing.o poly.o polyvec.o rejsample.o rounding.o sign.o invntt.o ntt.o pointwise.o shuffle.o -CFLAGS=-mavx2 -maes -mpopcnt -O3 -Wall -Wextra -Wpedantic -Werror \ - -Wmissing-prototypes -Wredundant-decls -std=c99 \ - -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -%.o: %.S $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/dilithium5aes/clean/Makefile b/crypto_sign/dilithium5aes/clean/Makefile deleted file mode 100644 index ddc7e3ab..00000000 --- a/crypto_sign/dilithium5aes/clean/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libdilithium5aes_clean.a -HEADERS=aes256ctr.h api.h ntt.h packing.h params.h poly.h polyvec.h reduce.h rounding.h sign.h symmetric.h -OBJECTS=aes256ctr.o ntt.o packing.o poly.o polyvec.o reduce.o rounding.o sign.o symmetric-aes.o - -CFLAGS=-O3 -Wall -Wextra -Wpedantic -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/falcon-1024/avx2/Makefile b/crypto_sign/falcon-1024/avx2/Makefile deleted file mode 100644 index 495374f6..00000000 --- a/crypto_sign/falcon-1024/avx2/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libfalcon-1024_avx2.a - -SOURCES = codec.c common.c fft.c fpr.c keygen.c pqclean.c rng.c sign.c vrfy.c -OBJECTS = codec.o common.o fft.o fpr.o keygen.o pqclean.o rng.o sign.o vrfy.o -HEADERS = api.h fpr.h inner.h - -CFLAGS=-O3 -Wconversion -mavx2 -Wall -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.s $(HEADERS) - $(AS) -o $@ $< - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/falcon-1024/clean/Makefile b/crypto_sign/falcon-1024/clean/Makefile deleted file mode 100644 index 2e20ece4..00000000 --- a/crypto_sign/falcon-1024/clean/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libfalcon-1024_clean.a - -SOURCES = codec.c common.c fft.c fpr.c keygen.c pqclean.c rng.c sign.c vrfy.c -OBJECTS = codec.o common.o fft.o fpr.o keygen.o pqclean.o rng.o sign.o vrfy.o -HEADERS = api.h fpr.h inner.h - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/falcon-512/avx2/Makefile b/crypto_sign/falcon-512/avx2/Makefile deleted file mode 100644 index d0875be4..00000000 --- a/crypto_sign/falcon-512/avx2/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libfalcon-512_avx2.a - -SOURCES = codec.c common.c fft.c fpr.c keygen.c pqclean.c rng.c sign.c vrfy.c -OBJECTS = codec.o common.o fft.o fpr.o keygen.o pqclean.o rng.o sign.o vrfy.o -HEADERS = api.h fpr.h inner.h - -CFLAGS=-O3 -Wconversion -mavx2 -Wall -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.s $(HEADERS) - $(AS) -o $@ $< - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/falcon-512/clean/Makefile b/crypto_sign/falcon-512/clean/Makefile deleted file mode 100644 index 0ccb3760..00000000 --- a/crypto_sign/falcon-512/clean/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libfalcon-512_clean.a - -SOURCES = codec.c common.c fft.c fpr.c keygen.c pqclean.c rng.c sign.c vrfy.c -OBJECTS = codec.o common.o fft.o fpr.o keygen.o pqclean.o rng.o sign.o vrfy.o -HEADERS = api.h fpr.h inner.h - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/rainbowI-circumzenithal/clean/Makefile b/crypto_sign/rainbowI-circumzenithal/clean/Makefile deleted file mode 100644 index 2d7bfdc4..00000000 --- a/crypto_sign/rainbowI-circumzenithal/clean/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=librainbowI-circumzenithal_clean.a - -HEADERS = api.h blas_comm.h blas.h gf.h parallel_matrix_op.h rainbow_blas.h rainbow_config.h rainbow.h rainbow_keypair_computation.h rainbow_keypair.h utils_hash.h utils_prng.h -OBJECTS = blas_comm.o parallel_matrix_op.o rainbow.o rainbow_keypair.o rainbow_keypair_computation.o sign.o utils_hash.o utils_prng.o blas.o gf.o - - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/rainbowI-classic/clean/Makefile b/crypto_sign/rainbowI-classic/clean/Makefile deleted file mode 100644 index ed8af18a..00000000 --- a/crypto_sign/rainbowI-classic/clean/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=librainbowI-classic_clean.a - -HEADERS = api.h blas_comm.h blas.h gf.h parallel_matrix_op.h rainbow_blas.h rainbow_config.h rainbow.h rainbow_keypair_computation.h rainbow_keypair.h utils_hash.h utils_prng.h -OBJECTS = blas_comm.o parallel_matrix_op.o rainbow.o rainbow_keypair.o rainbow_keypair_computation.o sign.o utils_hash.o utils_prng.o blas.o gf.o - - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/rainbowI-compressed/clean/Makefile b/crypto_sign/rainbowI-compressed/clean/Makefile deleted file mode 100644 index 1e440840..00000000 --- a/crypto_sign/rainbowI-compressed/clean/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=librainbowI-compressed_clean.a - -HEADERS = api.h blas_comm.h blas.h gf.h parallel_matrix_op.h rainbow_blas.h rainbow_config.h rainbow.h rainbow_keypair_computation.h rainbow_keypair.h utils_hash.h utils_prng.h -OBJECTS = blas_comm.o parallel_matrix_op.o rainbow.o rainbow_keypair.o rainbow_keypair_computation.o sign.o utils_hash.o utils_prng.o blas.o gf.o - - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/rainbowIII-circumzenithal/clean/Makefile b/crypto_sign/rainbowIII-circumzenithal/clean/Makefile deleted file mode 100644 index 5b429222..00000000 --- a/crypto_sign/rainbowIII-circumzenithal/clean/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=librainbowIII-circumzenithal_clean.a - -HEADERS = api.h blas_comm.h blas.h gf.h parallel_matrix_op.h rainbow_blas.h rainbow_config.h rainbow.h rainbow_keypair_computation.h rainbow_keypair.h utils_hash.h utils_prng.h -OBJECTS = blas_comm.o parallel_matrix_op.o rainbow.o rainbow_keypair.o rainbow_keypair_computation.o sign.o utils_hash.o utils_prng.o blas.o gf.o - - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/rainbowIII-classic/clean/Makefile b/crypto_sign/rainbowIII-classic/clean/Makefile deleted file mode 100644 index 38c2c2f0..00000000 --- a/crypto_sign/rainbowIII-classic/clean/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=librainbowIII-classic_clean.a - -HEADERS = api.h blas_comm.h blas.h gf.h parallel_matrix_op.h rainbow_blas.h rainbow_config.h rainbow.h rainbow_keypair_computation.h rainbow_keypair.h utils_hash.h utils_prng.h -OBJECTS = blas_comm.o parallel_matrix_op.o rainbow.o rainbow_keypair.o rainbow_keypair_computation.o sign.o utils_hash.o utils_prng.o blas.o gf.o - - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/rainbowIII-compressed/clean/Makefile b/crypto_sign/rainbowIII-compressed/clean/Makefile deleted file mode 100644 index 8db488fa..00000000 --- a/crypto_sign/rainbowIII-compressed/clean/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=librainbowIII-compressed_clean.a - -HEADERS = api.h blas_comm.h blas.h gf.h parallel_matrix_op.h rainbow_blas.h rainbow_config.h rainbow.h rainbow_keypair_computation.h rainbow_keypair.h utils_hash.h utils_prng.h -OBJECTS = blas_comm.o parallel_matrix_op.o rainbow.o rainbow_keypair.o rainbow_keypair_computation.o sign.o utils_hash.o utils_prng.o blas.o gf.o - - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/rainbowV-circumzenithal/clean/Makefile b/crypto_sign/rainbowV-circumzenithal/clean/Makefile deleted file mode 100644 index 8dd614ad..00000000 --- a/crypto_sign/rainbowV-circumzenithal/clean/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=librainbowV-circumzenithal_clean.a - -HEADERS = api.h blas_comm.h blas.h gf.h parallel_matrix_op.h rainbow_blas.h rainbow_config.h rainbow.h rainbow_keypair_computation.h rainbow_keypair.h utils_hash.h utils_prng.h -OBJECTS = blas_comm.o parallel_matrix_op.o rainbow.o rainbow_keypair.o rainbow_keypair_computation.o sign.o utils_hash.o utils_prng.o blas.o gf.o - - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/rainbowV-classic/clean/Makefile b/crypto_sign/rainbowV-classic/clean/Makefile deleted file mode 100644 index ce1830ba..00000000 --- a/crypto_sign/rainbowV-classic/clean/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=librainbowV-classic_clean.a - -HEADERS = api.h blas_comm.h blas.h gf.h parallel_matrix_op.h rainbow_blas.h rainbow_config.h rainbow.h rainbow_keypair_computation.h rainbow_keypair.h utils_hash.h utils_prng.h -OBJECTS = blas_comm.o parallel_matrix_op.o rainbow.o rainbow_keypair.o rainbow_keypair_computation.o sign.o utils_hash.o utils_prng.o blas.o gf.o - - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/rainbowV-compressed/clean/Makefile b/crypto_sign/rainbowV-compressed/clean/Makefile deleted file mode 100644 index fe73a9d7..00000000 --- a/crypto_sign/rainbowV-compressed/clean/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=librainbowV-compressed_clean.a - -HEADERS = api.h blas_comm.h blas.h gf.h parallel_matrix_op.h rainbow_blas.h rainbow_config.h rainbow.h rainbow_keypair_computation.h rainbow_keypair.h utils_hash.h utils_prng.h -OBJECTS = blas_comm.o parallel_matrix_op.o rainbow.o rainbow_keypair.o rainbow_keypair_computation.o sign.o utils_hash.o utils_prng.o blas.o gf.o - - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-haraka-128f-robust/aesni/Makefile b/crypto_sign/sphincs-haraka-128f-robust/aesni/Makefile deleted file mode 100644 index cb6e2b2e..00000000 --- a/crypto_sign/sphincs-haraka-128f-robust/aesni/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-haraka-128f-robust_aesni.a - -HEADERS = params.h address.h wots.h utils.h utilsx4.h fors.h api.h hash.h hashx4.h hash_state.h thash.h thashx4.h haraka.h -OBJECTS = address.o wots.o utils.o utilsx4.o fors.o sign.o hash_haraka.o thash_haraka_robust.o hash_harakax4.o thash_haraka_robustx4.o haraka.o - -CFLAGS=-maes -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-haraka-128f-robust/clean/Makefile b/crypto_sign/sphincs-haraka-128f-robust/clean/Makefile deleted file mode 100644 index bdad48c7..00000000 --- a/crypto_sign/sphincs-haraka-128f-robust/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-haraka-128f-robust_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h haraka.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_haraka.o thash_haraka_robust.o haraka.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-haraka-128f-simple/aesni/Makefile b/crypto_sign/sphincs-haraka-128f-simple/aesni/Makefile deleted file mode 100644 index edc794a4..00000000 --- a/crypto_sign/sphincs-haraka-128f-simple/aesni/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-haraka-128f-simple_aesni.a - -HEADERS = params.h address.h wots.h utils.h utilsx4.h fors.h api.h hash.h hashx4.h hash_state.h thash.h thashx4.h haraka.h -OBJECTS = address.o wots.o utils.o utilsx4.o fors.o sign.o hash_haraka.o thash_haraka_simple.o hash_harakax4.o thash_haraka_simplex4.o haraka.o - -CFLAGS=-maes -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-haraka-128f-simple/clean/Makefile b/crypto_sign/sphincs-haraka-128f-simple/clean/Makefile deleted file mode 100644 index f0c03f8a..00000000 --- a/crypto_sign/sphincs-haraka-128f-simple/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-haraka-128f-simple_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h haraka.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_haraka.o thash_haraka_simple.o haraka.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-haraka-128s-robust/aesni/Makefile b/crypto_sign/sphincs-haraka-128s-robust/aesni/Makefile deleted file mode 100644 index 428e5340..00000000 --- a/crypto_sign/sphincs-haraka-128s-robust/aesni/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-haraka-128s-robust_aesni.a - -HEADERS = params.h address.h wots.h utils.h utilsx4.h fors.h api.h hash.h hashx4.h hash_state.h thash.h thashx4.h haraka.h -OBJECTS = address.o wots.o utils.o utilsx4.o fors.o sign.o hash_haraka.o thash_haraka_robust.o hash_harakax4.o thash_haraka_robustx4.o haraka.o - -CFLAGS=-maes -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-haraka-128s-robust/clean/Makefile b/crypto_sign/sphincs-haraka-128s-robust/clean/Makefile deleted file mode 100644 index e46f2731..00000000 --- a/crypto_sign/sphincs-haraka-128s-robust/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-haraka-128s-robust_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h haraka.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_haraka.o thash_haraka_robust.o haraka.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-haraka-128s-simple/aesni/Makefile b/crypto_sign/sphincs-haraka-128s-simple/aesni/Makefile deleted file mode 100644 index 1b24a580..00000000 --- a/crypto_sign/sphincs-haraka-128s-simple/aesni/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-haraka-128s-simple_aesni.a - -HEADERS = params.h address.h wots.h utils.h utilsx4.h fors.h api.h hash.h hashx4.h hash_state.h thash.h thashx4.h haraka.h -OBJECTS = address.o wots.o utils.o utilsx4.o fors.o sign.o hash_haraka.o thash_haraka_simple.o hash_harakax4.o thash_haraka_simplex4.o haraka.o - -CFLAGS=-maes -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-haraka-128s-simple/clean/Makefile b/crypto_sign/sphincs-haraka-128s-simple/clean/Makefile deleted file mode 100644 index 5f20d158..00000000 --- a/crypto_sign/sphincs-haraka-128s-simple/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-haraka-128s-simple_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h haraka.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_haraka.o thash_haraka_simple.o haraka.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-haraka-192f-robust/aesni/Makefile b/crypto_sign/sphincs-haraka-192f-robust/aesni/Makefile deleted file mode 100644 index 1b503be9..00000000 --- a/crypto_sign/sphincs-haraka-192f-robust/aesni/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-haraka-192f-robust_aesni.a - -HEADERS = params.h address.h wots.h utils.h utilsx4.h fors.h api.h hash.h hashx4.h hash_state.h thash.h thashx4.h haraka.h -OBJECTS = address.o wots.o utils.o utilsx4.o fors.o sign.o hash_haraka.o thash_haraka_robust.o hash_harakax4.o thash_haraka_robustx4.o haraka.o - -CFLAGS=-maes -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-haraka-192f-robust/clean/Makefile b/crypto_sign/sphincs-haraka-192f-robust/clean/Makefile deleted file mode 100644 index 43be01ca..00000000 --- a/crypto_sign/sphincs-haraka-192f-robust/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-haraka-192f-robust_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h haraka.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_haraka.o thash_haraka_robust.o haraka.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-haraka-192f-simple/aesni/Makefile b/crypto_sign/sphincs-haraka-192f-simple/aesni/Makefile deleted file mode 100644 index 33ad6a89..00000000 --- a/crypto_sign/sphincs-haraka-192f-simple/aesni/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-haraka-192f-simple_aesni.a - -HEADERS = params.h address.h wots.h utils.h utilsx4.h fors.h api.h hash.h hashx4.h hash_state.h thash.h thashx4.h haraka.h -OBJECTS = address.o wots.o utils.o utilsx4.o fors.o sign.o hash_haraka.o thash_haraka_simple.o hash_harakax4.o thash_haraka_simplex4.o haraka.o - -CFLAGS=-maes -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-haraka-192f-simple/clean/Makefile b/crypto_sign/sphincs-haraka-192f-simple/clean/Makefile deleted file mode 100644 index ed6a48df..00000000 --- a/crypto_sign/sphincs-haraka-192f-simple/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-haraka-192f-simple_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h haraka.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_haraka.o thash_haraka_simple.o haraka.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-haraka-192s-robust/aesni/Makefile b/crypto_sign/sphincs-haraka-192s-robust/aesni/Makefile deleted file mode 100644 index 75285d66..00000000 --- a/crypto_sign/sphincs-haraka-192s-robust/aesni/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-haraka-192s-robust_aesni.a - -HEADERS = params.h address.h wots.h utils.h utilsx4.h fors.h api.h hash.h hashx4.h hash_state.h thash.h thashx4.h haraka.h -OBJECTS = address.o wots.o utils.o utilsx4.o fors.o sign.o hash_haraka.o thash_haraka_robust.o hash_harakax4.o thash_haraka_robustx4.o haraka.o - -CFLAGS=-maes -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-haraka-192s-robust/clean/Makefile b/crypto_sign/sphincs-haraka-192s-robust/clean/Makefile deleted file mode 100644 index f4f630c7..00000000 --- a/crypto_sign/sphincs-haraka-192s-robust/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-haraka-192s-robust_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h haraka.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_haraka.o thash_haraka_robust.o haraka.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-haraka-192s-simple/aesni/Makefile b/crypto_sign/sphincs-haraka-192s-simple/aesni/Makefile deleted file mode 100644 index bf6e8925..00000000 --- a/crypto_sign/sphincs-haraka-192s-simple/aesni/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-haraka-192s-simple_aesni.a - -HEADERS = params.h address.h wots.h utils.h utilsx4.h fors.h api.h hash.h hashx4.h hash_state.h thash.h thashx4.h haraka.h -OBJECTS = address.o wots.o utils.o utilsx4.o fors.o sign.o hash_haraka.o thash_haraka_simple.o hash_harakax4.o thash_haraka_simplex4.o haraka.o - -CFLAGS=-maes -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-haraka-192s-simple/clean/Makefile b/crypto_sign/sphincs-haraka-192s-simple/clean/Makefile deleted file mode 100644 index 041a7fc9..00000000 --- a/crypto_sign/sphincs-haraka-192s-simple/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-haraka-192s-simple_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h haraka.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_haraka.o thash_haraka_simple.o haraka.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-haraka-256f-robust/aesni/Makefile b/crypto_sign/sphincs-haraka-256f-robust/aesni/Makefile deleted file mode 100644 index b8f5fb9e..00000000 --- a/crypto_sign/sphincs-haraka-256f-robust/aesni/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-haraka-256f-robust_aesni.a - -HEADERS = params.h address.h wots.h utils.h utilsx4.h fors.h api.h hash.h hashx4.h hash_state.h thash.h thashx4.h haraka.h -OBJECTS = address.o wots.o utils.o utilsx4.o fors.o sign.o hash_haraka.o thash_haraka_robust.o hash_harakax4.o thash_haraka_robustx4.o haraka.o - -CFLAGS=-maes -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-haraka-256f-robust/clean/Makefile b/crypto_sign/sphincs-haraka-256f-robust/clean/Makefile deleted file mode 100644 index 380383cd..00000000 --- a/crypto_sign/sphincs-haraka-256f-robust/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-haraka-256f-robust_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h haraka.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_haraka.o thash_haraka_robust.o haraka.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-haraka-256f-simple/aesni/Makefile b/crypto_sign/sphincs-haraka-256f-simple/aesni/Makefile deleted file mode 100644 index 338c2cb4..00000000 --- a/crypto_sign/sphincs-haraka-256f-simple/aesni/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-haraka-256f-simple_aesni.a - -HEADERS = params.h address.h wots.h utils.h utilsx4.h fors.h api.h hash.h hashx4.h hash_state.h thash.h thashx4.h haraka.h -OBJECTS = address.o wots.o utils.o utilsx4.o fors.o sign.o hash_haraka.o thash_haraka_simple.o hash_harakax4.o thash_haraka_simplex4.o haraka.o - -CFLAGS=-maes -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-haraka-256f-simple/clean/Makefile b/crypto_sign/sphincs-haraka-256f-simple/clean/Makefile deleted file mode 100644 index 521657f7..00000000 --- a/crypto_sign/sphincs-haraka-256f-simple/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-haraka-256f-simple_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h haraka.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_haraka.o thash_haraka_simple.o haraka.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-haraka-256s-robust/aesni/Makefile b/crypto_sign/sphincs-haraka-256s-robust/aesni/Makefile deleted file mode 100644 index c29a1e29..00000000 --- a/crypto_sign/sphincs-haraka-256s-robust/aesni/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-haraka-256s-robust_aesni.a - -HEADERS = params.h address.h wots.h utils.h utilsx4.h fors.h api.h hash.h hashx4.h hash_state.h thash.h thashx4.h haraka.h -OBJECTS = address.o wots.o utils.o utilsx4.o fors.o sign.o hash_haraka.o thash_haraka_robust.o hash_harakax4.o thash_haraka_robustx4.o haraka.o - -CFLAGS=-maes -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-haraka-256s-robust/clean/Makefile b/crypto_sign/sphincs-haraka-256s-robust/clean/Makefile deleted file mode 100644 index 7af8cc68..00000000 --- a/crypto_sign/sphincs-haraka-256s-robust/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-haraka-256s-robust_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h haraka.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_haraka.o thash_haraka_robust.o haraka.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-haraka-256s-simple/aesni/Makefile b/crypto_sign/sphincs-haraka-256s-simple/aesni/Makefile deleted file mode 100644 index 25c68e12..00000000 --- a/crypto_sign/sphincs-haraka-256s-simple/aesni/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-haraka-256s-simple_aesni.a - -HEADERS = params.h address.h wots.h utils.h utilsx4.h fors.h api.h hash.h hashx4.h hash_state.h thash.h thashx4.h haraka.h -OBJECTS = address.o wots.o utils.o utilsx4.o fors.o sign.o hash_haraka.o thash_haraka_simple.o hash_harakax4.o thash_haraka_simplex4.o haraka.o - -CFLAGS=-maes -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-haraka-256s-simple/clean/Makefile b/crypto_sign/sphincs-haraka-256s-simple/clean/Makefile deleted file mode 100644 index e48edf4d..00000000 --- a/crypto_sign/sphincs-haraka-256s-simple/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-haraka-256s-simple_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h haraka.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_haraka.o thash_haraka_simple.o haraka.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-sha256-128f-robust/avx2/Makefile b/crypto_sign/sphincs-sha256-128f-robust/avx2/Makefile deleted file mode 100644 index b17cb9b0..00000000 --- a/crypto_sign/sphincs-sha256-128f-robust/avx2/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-sha256-128f-robust_avx2.a - -HEADERS = params.h address.h wots.h utils.h utilsx8.h sha256avx.h sha256x8.h fors.h api.h hash.h hashx8.h hash_state.h thash.h thashx8.h sha256.h -OBJECTS = address.o wots.o utils.o utilsx8.o sha256avx.o sha256x8.o fors.o sign.o hash_sha256.o thash_sha256_robust.o hash_sha256x8.o thash_sha256_robustx8.o sha256.o - -CFLAGS=-mavx2 -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-sha256-128f-robust/clean/Makefile b/crypto_sign/sphincs-sha256-128f-robust/clean/Makefile deleted file mode 100644 index 44744893..00000000 --- a/crypto_sign/sphincs-sha256-128f-robust/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-sha256-128f-robust_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h sha256.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_sha256.o thash_sha256_robust.o sha256.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-sha256-128f-simple/avx2/Makefile b/crypto_sign/sphincs-sha256-128f-simple/avx2/Makefile deleted file mode 100644 index c1cc4973..00000000 --- a/crypto_sign/sphincs-sha256-128f-simple/avx2/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-sha256-128f-simple_avx2.a - -HEADERS = params.h address.h wots.h utils.h utilsx8.h sha256avx.h sha256x8.h fors.h api.h hash.h hashx8.h hash_state.h thash.h thashx8.h sha256.h -OBJECTS = address.o wots.o utils.o utilsx8.o sha256avx.o sha256x8.o fors.o sign.o hash_sha256.o thash_sha256_simple.o hash_sha256x8.o thash_sha256_simplex8.o sha256.o - -CFLAGS=-mavx2 -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-sha256-128f-simple/clean/Makefile b/crypto_sign/sphincs-sha256-128f-simple/clean/Makefile deleted file mode 100644 index 1cf40dac..00000000 --- a/crypto_sign/sphincs-sha256-128f-simple/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-sha256-128f-simple_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h sha256.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_sha256.o thash_sha256_simple.o sha256.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-sha256-128s-robust/avx2/Makefile b/crypto_sign/sphincs-sha256-128s-robust/avx2/Makefile deleted file mode 100644 index dff43035..00000000 --- a/crypto_sign/sphincs-sha256-128s-robust/avx2/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-sha256-128s-robust_avx2.a - -HEADERS = params.h address.h wots.h utils.h utilsx8.h sha256avx.h sha256x8.h fors.h api.h hash.h hashx8.h hash_state.h thash.h thashx8.h sha256.h -OBJECTS = address.o wots.o utils.o utilsx8.o sha256avx.o sha256x8.o fors.o sign.o hash_sha256.o thash_sha256_robust.o hash_sha256x8.o thash_sha256_robustx8.o sha256.o - -CFLAGS=-mavx2 -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-sha256-128s-robust/clean/Makefile b/crypto_sign/sphincs-sha256-128s-robust/clean/Makefile deleted file mode 100644 index 22837191..00000000 --- a/crypto_sign/sphincs-sha256-128s-robust/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-sha256-128s-robust_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h sha256.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_sha256.o thash_sha256_robust.o sha256.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-sha256-128s-simple/avx2/Makefile b/crypto_sign/sphincs-sha256-128s-simple/avx2/Makefile deleted file mode 100644 index cf030ab5..00000000 --- a/crypto_sign/sphincs-sha256-128s-simple/avx2/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-sha256-128s-simple_avx2.a - -HEADERS = params.h address.h wots.h utils.h utilsx8.h sha256avx.h sha256x8.h fors.h api.h hash.h hashx8.h hash_state.h thash.h thashx8.h sha256.h -OBJECTS = address.o wots.o utils.o utilsx8.o sha256avx.o sha256x8.o fors.o sign.o hash_sha256.o thash_sha256_simple.o hash_sha256x8.o thash_sha256_simplex8.o sha256.o - -CFLAGS=-mavx2 -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-sha256-128s-simple/clean/Makefile b/crypto_sign/sphincs-sha256-128s-simple/clean/Makefile deleted file mode 100644 index cd4eec63..00000000 --- a/crypto_sign/sphincs-sha256-128s-simple/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-sha256-128s-simple_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h sha256.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_sha256.o thash_sha256_simple.o sha256.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-sha256-192f-robust/avx2/Makefile b/crypto_sign/sphincs-sha256-192f-robust/avx2/Makefile deleted file mode 100644 index f4022e14..00000000 --- a/crypto_sign/sphincs-sha256-192f-robust/avx2/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-sha256-192f-robust_avx2.a - -HEADERS = params.h address.h wots.h utils.h utilsx8.h sha256avx.h sha256x8.h fors.h api.h hash.h hashx8.h hash_state.h thash.h thashx8.h sha256.h -OBJECTS = address.o wots.o utils.o utilsx8.o sha256avx.o sha256x8.o fors.o sign.o hash_sha256.o thash_sha256_robust.o hash_sha256x8.o thash_sha256_robustx8.o sha256.o - -CFLAGS=-mavx2 -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-sha256-192f-robust/clean/Makefile b/crypto_sign/sphincs-sha256-192f-robust/clean/Makefile deleted file mode 100644 index f3d325d8..00000000 --- a/crypto_sign/sphincs-sha256-192f-robust/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-sha256-192f-robust_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h sha256.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_sha256.o thash_sha256_robust.o sha256.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-sha256-192f-simple/avx2/Makefile b/crypto_sign/sphincs-sha256-192f-simple/avx2/Makefile deleted file mode 100644 index 4a7240ac..00000000 --- a/crypto_sign/sphincs-sha256-192f-simple/avx2/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-sha256-192f-simple_avx2.a - -HEADERS = params.h address.h wots.h utils.h utilsx8.h sha256avx.h sha256x8.h fors.h api.h hash.h hashx8.h hash_state.h thash.h thashx8.h sha256.h -OBJECTS = address.o wots.o utils.o utilsx8.o sha256avx.o sha256x8.o fors.o sign.o hash_sha256.o thash_sha256_simple.o hash_sha256x8.o thash_sha256_simplex8.o sha256.o - -CFLAGS=-mavx2 -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-sha256-192f-simple/clean/Makefile b/crypto_sign/sphincs-sha256-192f-simple/clean/Makefile deleted file mode 100644 index 03135c16..00000000 --- a/crypto_sign/sphincs-sha256-192f-simple/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-sha256-192f-simple_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h sha256.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_sha256.o thash_sha256_simple.o sha256.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-sha256-192s-robust/avx2/Makefile b/crypto_sign/sphincs-sha256-192s-robust/avx2/Makefile deleted file mode 100644 index db8b9e05..00000000 --- a/crypto_sign/sphincs-sha256-192s-robust/avx2/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-sha256-192s-robust_avx2.a - -HEADERS = params.h address.h wots.h utils.h utilsx8.h sha256avx.h sha256x8.h fors.h api.h hash.h hashx8.h hash_state.h thash.h thashx8.h sha256.h -OBJECTS = address.o wots.o utils.o utilsx8.o sha256avx.o sha256x8.o fors.o sign.o hash_sha256.o thash_sha256_robust.o hash_sha256x8.o thash_sha256_robustx8.o sha256.o - -CFLAGS=-mavx2 -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-sha256-192s-robust/clean/Makefile b/crypto_sign/sphincs-sha256-192s-robust/clean/Makefile deleted file mode 100644 index 698511af..00000000 --- a/crypto_sign/sphincs-sha256-192s-robust/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-sha256-192s-robust_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h sha256.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_sha256.o thash_sha256_robust.o sha256.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-sha256-192s-simple/avx2/Makefile b/crypto_sign/sphincs-sha256-192s-simple/avx2/Makefile deleted file mode 100644 index bafa06bc..00000000 --- a/crypto_sign/sphincs-sha256-192s-simple/avx2/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-sha256-192s-simple_avx2.a - -HEADERS = params.h address.h wots.h utils.h utilsx8.h sha256avx.h sha256x8.h fors.h api.h hash.h hashx8.h hash_state.h thash.h thashx8.h sha256.h -OBJECTS = address.o wots.o utils.o utilsx8.o sha256avx.o sha256x8.o fors.o sign.o hash_sha256.o thash_sha256_simple.o hash_sha256x8.o thash_sha256_simplex8.o sha256.o - -CFLAGS=-mavx2 -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-sha256-192s-simple/clean/Makefile b/crypto_sign/sphincs-sha256-192s-simple/clean/Makefile deleted file mode 100644 index 75eaccbc..00000000 --- a/crypto_sign/sphincs-sha256-192s-simple/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-sha256-192s-simple_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h sha256.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_sha256.o thash_sha256_simple.o sha256.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-sha256-256f-robust/avx2/Makefile b/crypto_sign/sphincs-sha256-256f-robust/avx2/Makefile deleted file mode 100644 index 8c40f89b..00000000 --- a/crypto_sign/sphincs-sha256-256f-robust/avx2/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-sha256-256f-robust_avx2.a - -HEADERS = params.h address.h wots.h utils.h utilsx8.h sha256avx.h sha256x8.h fors.h api.h hash.h hashx8.h hash_state.h thash.h thashx8.h sha256.h -OBJECTS = address.o wots.o utils.o utilsx8.o sha256avx.o sha256x8.o fors.o sign.o hash_sha256.o thash_sha256_robust.o hash_sha256x8.o thash_sha256_robustx8.o sha256.o - -CFLAGS=-mavx2 -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-sha256-256f-robust/clean/Makefile b/crypto_sign/sphincs-sha256-256f-robust/clean/Makefile deleted file mode 100644 index 90980e14..00000000 --- a/crypto_sign/sphincs-sha256-256f-robust/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-sha256-256f-robust_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h sha256.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_sha256.o thash_sha256_robust.o sha256.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-sha256-256f-simple/avx2/Makefile b/crypto_sign/sphincs-sha256-256f-simple/avx2/Makefile deleted file mode 100644 index 2af8fa8f..00000000 --- a/crypto_sign/sphincs-sha256-256f-simple/avx2/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-sha256-256f-simple_avx2.a - -HEADERS = params.h address.h wots.h utils.h utilsx8.h sha256avx.h sha256x8.h fors.h api.h hash.h hashx8.h hash_state.h thash.h thashx8.h sha256.h -OBJECTS = address.o wots.o utils.o utilsx8.o sha256avx.o sha256x8.o fors.o sign.o hash_sha256.o thash_sha256_simple.o hash_sha256x8.o thash_sha256_simplex8.o sha256.o - -CFLAGS=-mavx2 -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-sha256-256f-simple/clean/Makefile b/crypto_sign/sphincs-sha256-256f-simple/clean/Makefile deleted file mode 100644 index ed8ffa11..00000000 --- a/crypto_sign/sphincs-sha256-256f-simple/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-sha256-256f-simple_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h sha256.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_sha256.o thash_sha256_simple.o sha256.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-sha256-256s-robust/avx2/Makefile b/crypto_sign/sphincs-sha256-256s-robust/avx2/Makefile deleted file mode 100644 index 069584ab..00000000 --- a/crypto_sign/sphincs-sha256-256s-robust/avx2/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-sha256-256s-robust_avx2.a - -HEADERS = params.h address.h wots.h utils.h utilsx8.h sha256avx.h sha256x8.h fors.h api.h hash.h hashx8.h hash_state.h thash.h thashx8.h sha256.h -OBJECTS = address.o wots.o utils.o utilsx8.o sha256avx.o sha256x8.o fors.o sign.o hash_sha256.o thash_sha256_robust.o hash_sha256x8.o thash_sha256_robustx8.o sha256.o - -CFLAGS=-mavx2 -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-sha256-256s-robust/clean/Makefile b/crypto_sign/sphincs-sha256-256s-robust/clean/Makefile deleted file mode 100644 index ba5d8d55..00000000 --- a/crypto_sign/sphincs-sha256-256s-robust/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-sha256-256s-robust_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h sha256.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_sha256.o thash_sha256_robust.o sha256.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-sha256-256s-simple/avx2/Makefile b/crypto_sign/sphincs-sha256-256s-simple/avx2/Makefile deleted file mode 100644 index e599bf29..00000000 --- a/crypto_sign/sphincs-sha256-256s-simple/avx2/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-sha256-256s-simple_avx2.a - -HEADERS = params.h address.h wots.h utils.h utilsx8.h sha256avx.h sha256x8.h fors.h api.h hash.h hashx8.h hash_state.h thash.h thashx8.h sha256.h -OBJECTS = address.o wots.o utils.o utilsx8.o sha256avx.o sha256x8.o fors.o sign.o hash_sha256.o thash_sha256_simple.o hash_sha256x8.o thash_sha256_simplex8.o sha256.o - -CFLAGS=-mavx2 -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-sha256-256s-simple/clean/Makefile b/crypto_sign/sphincs-sha256-256s-simple/clean/Makefile deleted file mode 100644 index eb3d2196..00000000 --- a/crypto_sign/sphincs-sha256-256s-simple/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-sha256-256s-simple_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h sha256.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_sha256.o thash_sha256_simple.o sha256.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-shake256-128f-robust/avx2/Makefile b/crypto_sign/sphincs-shake256-128f-robust/avx2/Makefile deleted file mode 100644 index 8f3080bf..00000000 --- a/crypto_sign/sphincs-shake256-128f-robust/avx2/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-shake256-128f-robust_avx2.a - -HEADERS = params.h address.h wots.h utils.h utilsx4.h fips202x4.h fors.h api.h hash.h hashx4.h hash_state.h thash.h thashx4.h -OBJECTS = address.o wots.o utils.o utilsx4.o fips202x4.o fors.o sign.o hash_shake256.o thash_shake256_robust.o hash_shake256x4.o thash_shake256_robustx4.o - -KECCAK4XDIR=../../../common/keccak4x -KECCAK4XOBJ=KeccakP-1600-times4-SIMD256.o -KECCAK4X=$(KECCAK4XDIR)/$(KECCAK4XOBJ) - -CFLAGS=-mavx2 -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) $(KECCAK4X) - $(AR) -r $@ $(OBJECTS) $(KECCAK4X) - -$(KECCAK4X): - $(MAKE) -C $(KECCAK4XDIR) $(KECCAK4XOBJ) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) - $(MAKE) -C $(KECCAK4XDIR) clean diff --git a/crypto_sign/sphincs-shake256-128f-robust/clean/Makefile b/crypto_sign/sphincs-shake256-128f-robust/clean/Makefile deleted file mode 100644 index ae8c3212..00000000 --- a/crypto_sign/sphincs-shake256-128f-robust/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-shake256-128f-robust_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_shake256.o thash_shake256_robust.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-shake256-128f-simple/avx2/Makefile b/crypto_sign/sphincs-shake256-128f-simple/avx2/Makefile deleted file mode 100644 index 9791e97b..00000000 --- a/crypto_sign/sphincs-shake256-128f-simple/avx2/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-shake256-128f-simple_avx2.a - -HEADERS = params.h address.h wots.h utils.h utilsx4.h fips202x4.h fors.h api.h hash.h hashx4.h hash_state.h thash.h thashx4.h -OBJECTS = address.o wots.o utils.o utilsx4.o fips202x4.o fors.o sign.o hash_shake256.o thash_shake256_simple.o hash_shake256x4.o thash_shake256_simplex4.o - -KECCAK4XDIR=../../../common/keccak4x -KECCAK4XOBJ=KeccakP-1600-times4-SIMD256.o -KECCAK4X=$(KECCAK4XDIR)/$(KECCAK4XOBJ) - -CFLAGS=-mavx2 -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) $(KECCAK4X) - $(AR) -r $@ $(OBJECTS) $(KECCAK4X) - -$(KECCAK4X): - $(MAKE) -C $(KECCAK4XDIR) $(KECCAK4XOBJ) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) - $(MAKE) -C $(KECCAK4XDIR) clean diff --git a/crypto_sign/sphincs-shake256-128f-simple/clean/Makefile b/crypto_sign/sphincs-shake256-128f-simple/clean/Makefile deleted file mode 100644 index e766a5c9..00000000 --- a/crypto_sign/sphincs-shake256-128f-simple/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-shake256-128f-simple_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_shake256.o thash_shake256_simple.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-shake256-128s-robust/avx2/Makefile b/crypto_sign/sphincs-shake256-128s-robust/avx2/Makefile deleted file mode 100644 index 4aec0525..00000000 --- a/crypto_sign/sphincs-shake256-128s-robust/avx2/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-shake256-128s-robust_avx2.a - -HEADERS = params.h address.h wots.h utils.h utilsx4.h fips202x4.h fors.h api.h hash.h hashx4.h hash_state.h thash.h thashx4.h -OBJECTS = address.o wots.o utils.o utilsx4.o fips202x4.o fors.o sign.o hash_shake256.o thash_shake256_robust.o hash_shake256x4.o thash_shake256_robustx4.o - -KECCAK4XDIR=../../../common/keccak4x -KECCAK4XOBJ=KeccakP-1600-times4-SIMD256.o -KECCAK4X=$(KECCAK4XDIR)/$(KECCAK4XOBJ) - -CFLAGS=-mavx2 -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) $(KECCAK4X) - $(AR) -r $@ $(OBJECTS) $(KECCAK4X) - -$(KECCAK4X): - $(MAKE) -C $(KECCAK4XDIR) $(KECCAK4XOBJ) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) - $(MAKE) -C $(KECCAK4XDIR) clean diff --git a/crypto_sign/sphincs-shake256-128s-robust/clean/Makefile b/crypto_sign/sphincs-shake256-128s-robust/clean/Makefile deleted file mode 100644 index 856e947c..00000000 --- a/crypto_sign/sphincs-shake256-128s-robust/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-shake256-128s-robust_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_shake256.o thash_shake256_robust.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-shake256-128s-simple/avx2/Makefile b/crypto_sign/sphincs-shake256-128s-simple/avx2/Makefile deleted file mode 100644 index 806ea97f..00000000 --- a/crypto_sign/sphincs-shake256-128s-simple/avx2/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-shake256-128s-simple_avx2.a - -HEADERS = params.h address.h wots.h utils.h utilsx4.h fips202x4.h fors.h api.h hash.h hashx4.h hash_state.h thash.h thashx4.h -OBJECTS = address.o wots.o utils.o utilsx4.o fips202x4.o fors.o sign.o hash_shake256.o thash_shake256_simple.o hash_shake256x4.o thash_shake256_simplex4.o - -KECCAK4XDIR=../../../common/keccak4x -KECCAK4XOBJ=KeccakP-1600-times4-SIMD256.o -KECCAK4X=$(KECCAK4XDIR)/$(KECCAK4XOBJ) - -CFLAGS=-mavx2 -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) $(KECCAK4X) - $(AR) -r $@ $(OBJECTS) $(KECCAK4X) - -$(KECCAK4X): - $(MAKE) -C $(KECCAK4XDIR) $(KECCAK4XOBJ) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) - $(MAKE) -C $(KECCAK4XDIR) clean diff --git a/crypto_sign/sphincs-shake256-128s-simple/clean/Makefile b/crypto_sign/sphincs-shake256-128s-simple/clean/Makefile deleted file mode 100644 index af437f91..00000000 --- a/crypto_sign/sphincs-shake256-128s-simple/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-shake256-128s-simple_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_shake256.o thash_shake256_simple.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-shake256-192f-robust/avx2/Makefile b/crypto_sign/sphincs-shake256-192f-robust/avx2/Makefile deleted file mode 100644 index ddb7ffaa..00000000 --- a/crypto_sign/sphincs-shake256-192f-robust/avx2/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-shake256-192f-robust_avx2.a - -HEADERS = params.h address.h wots.h utils.h utilsx4.h fips202x4.h fors.h api.h hash.h hashx4.h hash_state.h thash.h thashx4.h -OBJECTS = address.o wots.o utils.o utilsx4.o fips202x4.o fors.o sign.o hash_shake256.o thash_shake256_robust.o hash_shake256x4.o thash_shake256_robustx4.o - -KECCAK4XDIR=../../../common/keccak4x -KECCAK4XOBJ=KeccakP-1600-times4-SIMD256.o -KECCAK4X=$(KECCAK4XDIR)/$(KECCAK4XOBJ) - -CFLAGS=-mavx2 -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) $(KECCAK4X) - $(AR) -r $@ $(OBJECTS) $(KECCAK4X) - -$(KECCAK4X): - $(MAKE) -C $(KECCAK4XDIR) $(KECCAK4XOBJ) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) - $(MAKE) -C $(KECCAK4XDIR) clean diff --git a/crypto_sign/sphincs-shake256-192f-robust/clean/Makefile b/crypto_sign/sphincs-shake256-192f-robust/clean/Makefile deleted file mode 100644 index 0cd06ebe..00000000 --- a/crypto_sign/sphincs-shake256-192f-robust/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-shake256-192f-robust_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_shake256.o thash_shake256_robust.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-shake256-192f-simple/avx2/Makefile b/crypto_sign/sphincs-shake256-192f-simple/avx2/Makefile deleted file mode 100644 index 8b4b2d14..00000000 --- a/crypto_sign/sphincs-shake256-192f-simple/avx2/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-shake256-192f-simple_avx2.a - -HEADERS = params.h address.h wots.h utils.h utilsx4.h fips202x4.h fors.h api.h hash.h hashx4.h hash_state.h thash.h thashx4.h -OBJECTS = address.o wots.o utils.o utilsx4.o fips202x4.o fors.o sign.o hash_shake256.o thash_shake256_simple.o hash_shake256x4.o thash_shake256_simplex4.o - -KECCAK4XDIR=../../../common/keccak4x -KECCAK4XOBJ=KeccakP-1600-times4-SIMD256.o -KECCAK4X=$(KECCAK4XDIR)/$(KECCAK4XOBJ) - -CFLAGS=-mavx2 -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) $(KECCAK4X) - $(AR) -r $@ $(OBJECTS) $(KECCAK4X) - -$(KECCAK4X): - $(MAKE) -C $(KECCAK4XDIR) $(KECCAK4XOBJ) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) - $(MAKE) -C $(KECCAK4XDIR) clean diff --git a/crypto_sign/sphincs-shake256-192f-simple/clean/Makefile b/crypto_sign/sphincs-shake256-192f-simple/clean/Makefile deleted file mode 100644 index 8fdab6f2..00000000 --- a/crypto_sign/sphincs-shake256-192f-simple/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-shake256-192f-simple_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_shake256.o thash_shake256_simple.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-shake256-192s-robust/avx2/Makefile b/crypto_sign/sphincs-shake256-192s-robust/avx2/Makefile deleted file mode 100644 index 12ce9462..00000000 --- a/crypto_sign/sphincs-shake256-192s-robust/avx2/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-shake256-192s-robust_avx2.a - -HEADERS = params.h address.h wots.h utils.h utilsx4.h fips202x4.h fors.h api.h hash.h hashx4.h hash_state.h thash.h thashx4.h -OBJECTS = address.o wots.o utils.o utilsx4.o fips202x4.o fors.o sign.o hash_shake256.o thash_shake256_robust.o hash_shake256x4.o thash_shake256_robustx4.o - -KECCAK4XDIR=../../../common/keccak4x -KECCAK4XOBJ=KeccakP-1600-times4-SIMD256.o -KECCAK4X=$(KECCAK4XDIR)/$(KECCAK4XOBJ) - -CFLAGS=-mavx2 -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) $(KECCAK4X) - $(AR) -r $@ $(OBJECTS) $(KECCAK4X) - -$(KECCAK4X): - $(MAKE) -C $(KECCAK4XDIR) $(KECCAK4XOBJ) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) - $(MAKE) -C $(KECCAK4XDIR) clean diff --git a/crypto_sign/sphincs-shake256-192s-robust/clean/Makefile b/crypto_sign/sphincs-shake256-192s-robust/clean/Makefile deleted file mode 100644 index 0768d1b0..00000000 --- a/crypto_sign/sphincs-shake256-192s-robust/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-shake256-192s-robust_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_shake256.o thash_shake256_robust.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-shake256-192s-simple/avx2/Makefile b/crypto_sign/sphincs-shake256-192s-simple/avx2/Makefile deleted file mode 100644 index 7385d866..00000000 --- a/crypto_sign/sphincs-shake256-192s-simple/avx2/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-shake256-192s-simple_avx2.a - -HEADERS = params.h address.h wots.h utils.h utilsx4.h fips202x4.h fors.h api.h hash.h hashx4.h hash_state.h thash.h thashx4.h -OBJECTS = address.o wots.o utils.o utilsx4.o fips202x4.o fors.o sign.o hash_shake256.o thash_shake256_simple.o hash_shake256x4.o thash_shake256_simplex4.o - -KECCAK4XDIR=../../../common/keccak4x -KECCAK4XOBJ=KeccakP-1600-times4-SIMD256.o -KECCAK4X=$(KECCAK4XDIR)/$(KECCAK4XOBJ) - -CFLAGS=-mavx2 -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) $(KECCAK4X) - $(AR) -r $@ $(OBJECTS) $(KECCAK4X) - -$(KECCAK4X): - $(MAKE) -C $(KECCAK4XDIR) $(KECCAK4XOBJ) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) - $(MAKE) -C $(KECCAK4XDIR) clean diff --git a/crypto_sign/sphincs-shake256-192s-simple/clean/Makefile b/crypto_sign/sphincs-shake256-192s-simple/clean/Makefile deleted file mode 100644 index 4f3a6248..00000000 --- a/crypto_sign/sphincs-shake256-192s-simple/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-shake256-192s-simple_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_shake256.o thash_shake256_simple.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-shake256-256f-robust/avx2/Makefile b/crypto_sign/sphincs-shake256-256f-robust/avx2/Makefile deleted file mode 100644 index 1918b7ac..00000000 --- a/crypto_sign/sphincs-shake256-256f-robust/avx2/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-shake256-256f-robust_avx2.a - -HEADERS = params.h address.h wots.h utils.h utilsx4.h fips202x4.h fors.h api.h hash.h hashx4.h hash_state.h thash.h thashx4.h -OBJECTS = address.o wots.o utils.o utilsx4.o fips202x4.o fors.o sign.o hash_shake256.o thash_shake256_robust.o hash_shake256x4.o thash_shake256_robustx4.o - -KECCAK4XDIR=../../../common/keccak4x -KECCAK4XOBJ=KeccakP-1600-times4-SIMD256.o -KECCAK4X=$(KECCAK4XDIR)/$(KECCAK4XOBJ) - -CFLAGS=-mavx2 -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) $(KECCAK4X) - $(AR) -r $@ $(OBJECTS) $(KECCAK4X) - -$(KECCAK4X): - $(MAKE) -C $(KECCAK4XDIR) $(KECCAK4XOBJ) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) - $(MAKE) -C $(KECCAK4XDIR) clean diff --git a/crypto_sign/sphincs-shake256-256f-robust/clean/Makefile b/crypto_sign/sphincs-shake256-256f-robust/clean/Makefile deleted file mode 100644 index cba909fb..00000000 --- a/crypto_sign/sphincs-shake256-256f-robust/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-shake256-256f-robust_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_shake256.o thash_shake256_robust.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-shake256-256f-simple/avx2/Makefile b/crypto_sign/sphincs-shake256-256f-simple/avx2/Makefile deleted file mode 100644 index d52dd345..00000000 --- a/crypto_sign/sphincs-shake256-256f-simple/avx2/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-shake256-256f-simple_avx2.a - -HEADERS = params.h address.h wots.h utils.h utilsx4.h fips202x4.h fors.h api.h hash.h hashx4.h hash_state.h thash.h thashx4.h -OBJECTS = address.o wots.o utils.o utilsx4.o fips202x4.o fors.o sign.o hash_shake256.o thash_shake256_simple.o hash_shake256x4.o thash_shake256_simplex4.o - -KECCAK4XDIR=../../../common/keccak4x -KECCAK4XOBJ=KeccakP-1600-times4-SIMD256.o -KECCAK4X=$(KECCAK4XDIR)/$(KECCAK4XOBJ) - -CFLAGS=-mavx2 -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) $(KECCAK4X) - $(AR) -r $@ $(OBJECTS) $(KECCAK4X) - -$(KECCAK4X): - $(MAKE) -C $(KECCAK4XDIR) $(KECCAK4XOBJ) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) - $(MAKE) -C $(KECCAK4XDIR) clean diff --git a/crypto_sign/sphincs-shake256-256f-simple/clean/Makefile b/crypto_sign/sphincs-shake256-256f-simple/clean/Makefile deleted file mode 100644 index add10b5b..00000000 --- a/crypto_sign/sphincs-shake256-256f-simple/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-shake256-256f-simple_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_shake256.o thash_shake256_simple.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-shake256-256s-robust/avx2/Makefile b/crypto_sign/sphincs-shake256-256s-robust/avx2/Makefile deleted file mode 100644 index d831fede..00000000 --- a/crypto_sign/sphincs-shake256-256s-robust/avx2/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-shake256-256s-robust_avx2.a - -HEADERS = params.h address.h wots.h utils.h utilsx4.h fips202x4.h fors.h api.h hash.h hashx4.h hash_state.h thash.h thashx4.h -OBJECTS = address.o wots.o utils.o utilsx4.o fips202x4.o fors.o sign.o hash_shake256.o thash_shake256_robust.o hash_shake256x4.o thash_shake256_robustx4.o - -KECCAK4XDIR=../../../common/keccak4x -KECCAK4XOBJ=KeccakP-1600-times4-SIMD256.o -KECCAK4X=$(KECCAK4XDIR)/$(KECCAK4XOBJ) - -CFLAGS=-mavx2 -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) $(KECCAK4X) - $(AR) -r $@ $(OBJECTS) $(KECCAK4X) - -$(KECCAK4X): - $(MAKE) -C $(KECCAK4XDIR) $(KECCAK4XOBJ) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) - $(MAKE) -C $(KECCAK4XDIR) clean diff --git a/crypto_sign/sphincs-shake256-256s-robust/clean/Makefile b/crypto_sign/sphincs-shake256-256s-robust/clean/Makefile deleted file mode 100644 index 98eaccbe..00000000 --- a/crypto_sign/sphincs-shake256-256s-robust/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-shake256-256s-robust_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_shake256.o thash_shake256_robust.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/crypto_sign/sphincs-shake256-256s-simple/avx2/Makefile b/crypto_sign/sphincs-shake256-256s-simple/avx2/Makefile deleted file mode 100644 index 348c788c..00000000 --- a/crypto_sign/sphincs-shake256-256s-simple/avx2/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-shake256-256s-simple_avx2.a - -HEADERS = params.h address.h wots.h utils.h utilsx4.h fips202x4.h fors.h api.h hash.h hashx4.h hash_state.h thash.h thashx4.h -OBJECTS = address.o wots.o utils.o utilsx4.o fips202x4.o fors.o sign.o hash_shake256.o thash_shake256_simple.o hash_shake256x4.o thash_shake256_simplex4.o - -KECCAK4XDIR=../../../common/keccak4x -KECCAK4XOBJ=KeccakP-1600-times4-SIMD256.o -KECCAK4X=$(KECCAK4XDIR)/$(KECCAK4XOBJ) - -CFLAGS=-mavx2 -O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) $(KECCAK4X) - $(AR) -r $@ $(OBJECTS) $(KECCAK4X) - -$(KECCAK4X): - $(MAKE) -C $(KECCAK4XDIR) $(KECCAK4XOBJ) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) - $(MAKE) -C $(KECCAK4XDIR) clean diff --git a/crypto_sign/sphincs-shake256-256s-simple/clean/Makefile b/crypto_sign/sphincs-shake256-256s-simple/clean/Makefile deleted file mode 100644 index fb87863d..00000000 --- a/crypto_sign/sphincs-shake256-256s-simple/clean/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -LIB=libsphincs-shake256-256s-simple_clean.a - -HEADERS = params.h address.h wots.h utils.h fors.h api.h hash.h hash_state.h thash.h -OBJECTS = address.o wots.o utils.o fors.o sign.o hash_shake256.o thash_shake256_simple.o - -CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) - -all: $(LIB) - -%.o: %.c $(HEADERS) - $(CC) $(CFLAGS) -c -o $@ $< - -$(LIB): $(OBJECTS) - $(AR) -r $@ $(OBJECTS) - -clean: - $(RM) $(OBJECTS) - $(RM) $(LIB) diff --git a/test/Makefile b/test/Makefile deleted file mode 100644 index eeb09ebf..00000000 --- a/test/Makefile +++ /dev/null @@ -1,103 +0,0 @@ -# This Makefile can be used with GNU Make or BSD Make - -# override as desired -TYPE=kem -SCHEME=kyber768 -IMPLEMENTATION=clean - -SCHEME_DIR=../crypto_$(TYPE)/$(SCHEME)/$(IMPLEMENTATION) -SCHEME_UPPERCASE=$(shell echo $(SCHEME) | tr a-z A-Z | sed 's/-//g') -IMPLEMENTATION_UPPERCASE=$(shell echo $(IMPLEMENTATION) | tr a-z A-Z | sed 's/-//g') - -TEST_COMMON_DIR=../test/common -COMMON_DIR=../common -COMMON_FILES=$(COMMON_DIR)/aes.c $(COMMON_DIR)/sha2.c $(COMMON_DIR)/fips202.c $(COMMON_DIR)/nistseedexpander.c $(COMMON_DIR)/sp800-185.c -COMMON_HEADERS=$(COMMON_DIR)/*.h -DEST_DIR=../bin - -SCHEME_LIBRARY=$(SCHEME_DIR)/lib$(SCHEME)_$(IMPLEMENTATION).a -SCHEME_FILES=$(wildcard $(SCHEME_DIR)/*.[chsS]) - -# This -Wall was supported by the European Commission through the ERC Starting Grant 805031 (EPOQUE) -CFLAGS=-O3 -Wall -Wextra -Wpedantic -Wvla -Werror -std=c99 \ - -Wundef -Wshadow -Wcast-align -Wpointer-arith -Wmissing-prototypes\ - -fstrict-aliasing -fno-common -pipe \ - -I$(COMMON_DIR) $(EXTRAFLAGS) - -# Number of tests run for functests -NTESTS=1 - -all: $(DEST_DIR)/functest_$(SCHEME)_$(IMPLEMENTATION) \ - $(DEST_DIR)/testvectors_$(SCHEME)_$(IMPLEMENTATION) \ - $(DEST_DIR)/printparams_$(SCHEME)_$(IMPLEMENTATION) - -.PHONY: build-scheme -build-scheme: $(SCHEME_LIBRARY) - -$(SCHEME_LIBRARY): $(SCHEME_FILES) - cd $(SCHEME_DIR) && $(MAKE) - -.PHONY: clean-scheme -clean-scheme: - cd $(SCHEME_DIR) && $(MAKE) clean - -.PHONY: functest -functest: $(DEST_DIR)/functest_$(SCHEME)_$(IMPLEMENTATION) - -.PHONY: testvectors -testvectors: $(DEST_DIR)/testvectors_$(SCHEME)_$(IMPLEMENTATION) - -.PHONY: printparams -printparams: $(DEST_DIR)/printparams_$(SCHEME)_$(IMPLEMENTATION) - -.PHONY: nistkat -nistkat: $(DEST_DIR)/nistkat_$(SCHEME)_$(IMPLEMENTATION) - -$(DEST_DIR)/test_common_aes: test_common/aes.c $(COMMON_FILES) - mkdir -p $(DEST_DIR) - $(CC) $(CFLAGS) $< $(COMMON_FILES) -o $@ -$(DEST_DIR)/test_common_fips202: test_common/fips202.c $(COMMON_FILES) - mkdir -p $(DEST_DIR) - $(CC) $(CFLAGS) $< $(COMMON_FILES) -o $@ -$(DEST_DIR)/test_common_sha2: test_common/sha2.c $(COMMON_FILES) - mkdir -p $(DEST_DIR) - $(CC) $(CFLAGS) $< $(COMMON_FILES) -o $@ -$(DEST_DIR)/test_common_sp800-185: test_common/sp800-185.c $(COMMON_FILES) - mkdir -p $(DEST_DIR) - $(CC) $(CFLAGS) $< $(COMMON_FILES) -o $@ - -$(DEST_DIR)/test_common_nistseedexpander: test_common/sp800-185.c $(COMMON_FILES) - mkdir -p $(DEST_DIR) - $(CC) $(CFLAGS) $< $(COMMON_FILES) -o $@ - -$(DEST_DIR)/functest_$(SCHEME)_$(IMPLEMENTATION): $(SCHEME_LIBRARY) crypto_$(TYPE)/functest.c $(COMMON_FILES) $(COMMON_DIR)/randombytes.c $(COMMON_HEADERS) - mkdir -p $(DEST_DIR) - $(CC) $(CFLAGS) -DNTESTS=$(NTESTS) -DPQCLEAN_NAMESPACE=PQCLEAN_$(SCHEME_UPPERCASE)_$(IMPLEMENTATION_UPPERCASE) -I$(SCHEME_DIR) crypto_$(TYPE)/functest.c $(COMMON_FILES) $(COMMON_DIR)/randombytes.c -o $@ -L$(SCHEME_DIR) -l$(SCHEME)_$(IMPLEMENTATION) - -$(DEST_DIR)/testvectors_$(SCHEME)_$(IMPLEMENTATION): $(SCHEME_LIBRARY) crypto_$(TYPE)/testvectors.c $(COMMON_FILES) $(TEST_COMMON_DIR)/notrandombytes.c $(COMMON_HEADERS) - mkdir -p $(DEST_DIR) - $(CC) $(CFLAGS) -DPQCLEAN_NAMESPACE=PQCLEAN_$(SCHEME_UPPERCASE)_$(IMPLEMENTATION_UPPERCASE) -I$(SCHEME_DIR) crypto_$(TYPE)/testvectors.c $(COMMON_FILES) $(TEST_COMMON_DIR)/notrandombytes.c -o $@ -L$(SCHEME_DIR) -l$(SCHEME)_$(IMPLEMENTATION) - -$(DEST_DIR)/printparams_$(SCHEME)_$(IMPLEMENTATION): crypto_$(TYPE)/printparams.c - mkdir -p $(DEST_DIR) - $(CC) $(CFLAGS) -DPQCLEAN_NAMESPACE=PQCLEAN_$(SCHEME_UPPERCASE)_$(IMPLEMENTATION_UPPERCASE) -I$(SCHEME_DIR) crypto_$(TYPE)/printparams.c -o $@ - -$(DEST_DIR)/nistkat_$(SCHEME)_$(IMPLEMENTATION): $(SCHEME_LIBRARY) crypto_$(TYPE)/nistkat.c $(COMMON_FILES) $(TEST_COMMON_DIR)/nistkatrng.c $(COMMON_HEADERS) - mkdir -p $(DEST_DIR) - $(CC) $(CFLAGS) -DPQCLEAN_NAMESPACE=PQCLEAN_$(SCHEME_UPPERCASE)_$(IMPLEMENTATION_UPPERCASE) -I$(SCHEME_DIR) crypto_$(TYPE)/nistkat.c $(COMMON_FILES) $(TEST_COMMON_DIR)/nistkatrng.c -o $@ -L$(SCHEME_DIR) -l$(SCHEME)_$(IMPLEMENTATION) - -.PHONY: clean -clean: - $(RM) $(DEST_DIR)/functest_$(SCHEME)_$(IMPLEMENTATION) - $(RM) $(DEST_DIR)/testvectors_$(SCHEME)_$(IMPLEMENTATION) - $(RM) $(DEST_DIR)/printparams_$(SCHEME)_$(IMPLEMENTATION) - $(RM) $(DEST_DIR)/nistkat_$(SCHEME)_$(IMPLEMENTATION) - $(RM) $(DEST_DIR)/test_common_aes - $(RM) $(DEST_DIR)/test_common_fips202 - $(RM) $(DEST_DIR)/test_common_sha2 - $(RM) $(DEST_DIR)/test_common_sp800-185 - $(RM) $(DEST_DIR)/test_common_nistseedexpander - -.PHONY: distclean -distclean: - $(RM) -r $(DEST_DIR)