@@ -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 |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -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) |