Skip to content

Commit

Permalink
rm fips202x2 in Dilithium
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentvbh authored and thomwiggers committed Feb 7, 2024
1 parent 05df469 commit 7bbdebe
Show file tree
Hide file tree
Showing 41 changed files with 46 additions and 2,840 deletions.
1 change: 0 additions & 1 deletion crypto_kem/kyber1024/aarch64/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ $(LIB): $(OBJECTS) $(KECCAK2X)
$(KECCAK2X):
$(MAKE) -C $(KECCAK2XDIR) CFLAGS="$(CFLAGS)" $(KECCAK2XOBJ)


clean:
$(RM) $(OBJECTS)
$(RM) $(LIB)
1 change: 0 additions & 1 deletion crypto_kem/kyber768/aarch64/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ $(LIB): $(OBJECTS) $(KECCAK2X)
$(KECCAK2X):
$(MAKE) -C $(KECCAK2XDIR) CFLAGS="$(CFLAGS)" $(KECCAK2XOBJ)


clean:
$(RM) $(OBJECTS)
$(RM) $(LIB)
14 changes: 11 additions & 3 deletions crypto_sign/dilithium2/aarch64/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ LIB=libdilithium2_aarch64.a
HEADERS=api.h macros_common.inc macros.inc NTT_params.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 __asm_iNTT.o __asm_NTT.o __asm_poly.o

CFLAGS=-O3 -Wall -Wextra -Wpedantic -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS)

CFLAGS=-O3 -Wall -Wextra -Wpedantic -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS) -g
KECCAK2XDIR=../../../common/keccak2x
KECCAK2XOBJ=fips202x2.o feat.o
KECCAK2X=$(addprefix $(KECCAK2XDIR)/,$(KECCAK2XOBJ))

all: $(LIB)

Expand All @@ -15,9 +18,14 @@ all: $(LIB)
%.o: %.S $(HEADERS)
$(CC) $(CFLAGS) -c -o $@ $<

$(LIB): $(OBJECTS) $(HEADERS)
$(AR) -r $@ $(OBJECTS)
$(LIB): $(OBJECTS) $(KECCAK2X)
$(AR) -r $@ $(OBJECTS) $(KECCAK2X)

$(KECCAK2X):
$(MAKE) -C $(KECCAK2XDIR) CFLAGS="$(CFLAGS)" $(KECCAK2XOBJ)

clean:
$(RM) $(OBJECTS)
$(RM) $(LIB)


168 changes: 0 additions & 168 deletions crypto_sign/dilithium2/aarch64/feat.S

This file was deleted.

Loading

0 comments on commit 7bbdebe

Please sign in to comment.