Skip to content

Commit

Permalink
Most recent jasmin and jasmin2ec extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
mbbarbosa-lectures committed Feb 11, 2025
1 parent 81f4a36 commit 600dfe3
Show file tree
Hide file tree
Showing 19 changed files with 482 additions and 530 deletions.
3 changes: 3 additions & 0 deletions code/Makefile.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ current_dir := $(dir $(realpath $(lastword $(MAKEFILE_LIST))))
# --------------------------------------------------------------------
JASMIN ?= $(current_dir)/../jasmin/compiler/
JASMINC ?= $(JASMIN)/jasminc -I Keccak:$(current_dir)/../formosa-keccak/src/amd64
JASMIN2EC ?= JASMINPATH="Keccak=$(current_dir)/../formosa-keccak/src/amd64" $(JASMIN)/jasmin2ec


11 changes: 6 additions & 5 deletions code/jasmin/mlkem_avx2/extraction/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@
# --------------------------------------------------------------------
all: ec

ec:
$(JASMINC) ../jkem.jazz -oec jkem_avx2.ec \
-ec jade_kem_mlkem_mlkem768_amd64_avx2_keypair \
-ec jade_kem_mlkem_mlkem768_amd64_avx2_enc \
-ec jade_kem_mlkem_mlkem768_amd64_avx2_dec

ec:
$(JASMIN2EC) ../jkem.jazz --array-model=old -o jkem_avx2.ec \
-f jade_kem_mlkem_mlkem768_amd64_avx2_keypair \
-f jade_kem_mlkem_mlkem768_amd64_avx2_enc \
-f jade_kem_mlkem_mlkem768_amd64_avx2_dec

clean:
rm -f *.ec
Loading

0 comments on commit 600dfe3

Please sign in to comment.