Skip to content

Commit

Permalink
spurious instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
mbbarbosa-lectures committed Dec 4, 2024
1 parent 4290e12 commit 3e7394e
Show file tree
Hide file tree
Showing 56 changed files with 12 additions and 6,880 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@
[submodule "formosa-keccak"]
path = formosa-keccak
url = [email protected]:formosa-crypto/formosa-keccak.git
[submodule "code/kyber"]
path = code/kyber
url = https://github.com/pq-crystals/kyber.git
9 changes: 5 additions & 4 deletions code/jasmin/mlkem_avx2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

JADDFLAGS ?= -lazy-regalloc

CKP := ../../kyber/avx2
CC ?= /usr/bin/gcc
GFLAGS ?=
CFLAGS := -Wall -Wextra -g -Ofast -fomit-frame-pointer
Expand Down Expand Up @@ -50,7 +51,7 @@ testX: test/test_poly_compress \
speed: test/speed_indcpa \
test/speed_mlkem

HEADERS = params.h poly.h fips202.h ntt.h indcpa.h kem.h \
HEADERS = $(CKP)/params.h $(CKP)/poly.h $(CKP)/fips202.h $(CKP)/ntt.h $(CKP)/indcpa.h $(CKP)/kem.h \

JHEADERS = params.jinc \
reduce.jinc \
Expand All @@ -64,13 +65,13 @@ JHEADERS = params.jinc \
verify.jinc

POLYHEADERS = poly.jinc \
consts.jinc \
consts.jinc \

POLYVECHEADERS = polyvec.jinc \
gen_matrix.jinc \

INCS = fq.inc shuffle.inc
SOURCES = poly.c polyvec.c cbd.c fips202.c ntt.c reduce.c symmetric-fips202.c indcpa.c kem.c consts.c shuffle.S fq.S\
INCS = $(CKP)/fq.inc $(CKP)/shuffle.inc
SOURCES = $(CKP)/poly.c $(CKP)/polyvec.c $(CKP)/cbd.c $(CKP)/fips202.c $(CKP)/fips202x4.c $(CKP)/ntt.S $(CKP)/verify.c $(CKP)/symmetric-shake.c $(CKP)/indcpa.c $(CKP)/kem.c $(CKP)/consts.c $(CKP)/rejsample.c $(CKP)/shuffle.S $(CKP)/fq.S\

test/test_indcpa: test/test_indcpa.c $(HEADERS) $(SOURCES) $(INCS) jindcpa.o
$(CC) $(CFLAGS) -o $@ $(SOURCES) jindcpa.o $<
Expand Down
128 changes: 0 additions & 128 deletions code/jasmin/mlkem_avx2/cbd.c

This file was deleted.

9 changes: 0 additions & 9 deletions code/jasmin/mlkem_avx2/cbd.h

This file was deleted.

147 changes: 0 additions & 147 deletions code/jasmin/mlkem_avx2/compile.bench

This file was deleted.

Loading

0 comments on commit 3e7394e

Please sign in to comment.