-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into dev-constant-time
- Loading branch information
Showing
28 changed files
with
1,674 additions
and
2,193 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,14 @@ | ||
# Base Makefile for F* in libcrux. | ||
# This inherits from Makefile.generic, and adds the `specs` folder from HACL and the `libcrux-ml-kem/proofs/fstar/spec` folder. | ||
|
||
FSTAR_INCLUDE_DIRS_EXTRA = $(HACL_HOME)/specs $(shell git rev-parse --show-toplevel)/libcrux-ml-kem/proofs/fstar/spec $(shell git rev-parse --show-toplevel)/fstar-helpers/fstar-bitvec | ||
VERIFY_SLOW_MODULES ?= no | ||
ifeq (${VERIFY_SLOW_MODULES},no) | ||
ADMIT_MODULES += ${SLOW_MODULES} | ||
endif | ||
|
||
EXTRA_HELPMESSAGE += printf "Libcrux specifics:\n"; | ||
EXTRA_HELPMESSAGE += target SLOW_MODULES 'a list of modules to verify fully only when `VERIFY_SLOW_MODULES` is set to `yes`. When `VERIFY_SLOW_MODULES`, those modules are admitted.'; | ||
EXTRA_HELPMESSAGE += target VERIFY_SLOW_MODULES '`yes` or `no`, defaults to `no`'; | ||
|
||
FSTAR_INCLUDE_DIRS_EXTRA += $(HACL_HOME)/specs $(shell git rev-parse --show-toplevel)/libcrux-ml-kem/proofs/fstar/spec $(shell git rev-parse --show-toplevel)/fstar-helpers/fstar-bitvec | ||
include $(shell git rev-parse --show-toplevel)/fstar-helpers/Makefile.generic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1 @@ | ||
ADMIT_MODULES = Libcrux_ml_kem.Ind_cca.Unpacked.fst \ | ||
Libcrux_ml_kem.Ind_cca.fst \ | ||
Libcrux_ml_kem.Ind_cpa.fst \ | ||
Libcrux_ml_kem.Ind_cpa.fsti \ | ||
Libcrux_ml_kem.Invert_ntt.fst \ | ||
Libcrux_ml_kem.Matrix.fst \ | ||
Libcrux_ml_kem.Ntt.fst \ | ||
Libcrux_ml_kem.Polynomial.fst \ | ||
Libcrux_ml_kem.Sampling.fst \ | ||
Libcrux_ml_kem.Serialize.fst \ | ||
Libcrux_ml_kem.Vector.Rej_sample_table.fsti \ | ||
Libcrux_ml_kem.Vector.Avx2.Arithmetic.fst \ | ||
Libcrux_ml_kem.Vector.Avx2.Compress.fst \ | ||
Libcrux_ml_kem.Vector.Avx2.fst \ | ||
Libcrux_ml_kem.Vector.Avx2.Ntt.fst \ | ||
Libcrux_ml_kem.Vector.Avx2.Portable.fst \ | ||
Libcrux_ml_kem.Vector.Avx2.Sampling.fst \ | ||
Libcrux_ml_kem.Vector.Avx2.Serialize.fst \ | ||
Libcrux_ml_kem.Vector.Neon.Arithmetic.fst \ | ||
Libcrux_ml_kem.Vector.Neon.Compress.fst \ | ||
Libcrux_ml_kem.Vector.Neon.fst \ | ||
Libcrux_ml_kem.Vector.Neon.Ntt.fst \ | ||
Libcrux_ml_kem.Vector.Neon.Serialize.fst \ | ||
Libcrux_ml_kem.Vector.Neon.Vector_type.fst \ | ||
Libcrux_ml_kem.Vector.Portable.Arithmetic.fst \ | ||
Libcrux_ml_kem.Vector.Portable.Compress.fst \ | ||
Libcrux_ml_kem.Vector.Portable.Ntt.fst \ | ||
Libcrux_ml_kem.Vector.Portable.Sampling.fst \ | ||
Libcrux_ml_kem.Vector.Portable.Vector_type.fst \ | ||
Libcrux_ml_kem.Vector.Traits.fst | ||
|
||
OTHERFLAGS += --unsafe_tactic_exec | ||
include $(shell git rev-parse --show-toplevel)/fstar-helpers/Makefile.base |
Oops, something went wrong.