- Clone the F* repo, switch to branch
master
.
- In the repo directory, enter:
cd src/ocaml-output && make
cd ../../ulib/ml && make
- Set the
FSTAR_HOME
environment variable to the location of F* repo.
-
Clone the KreMLin repo, switch to branch
fstar-master
. In the repo, build withmake
and set theKREMLIN_HOME
environment variable to the location of the Kremlin repo. -
Clone the HACL* repo, switch to the
fstar-master
branch. In the repo, build withmake build
and set theHACL_HOME
environment variable to the location of the HACL* repo. -
Go to the KreMLin repo and its
test
directory. Test the wasm extraction withmake wasm
. You can then extract individual files with :
make $HACL_HOME/code/curve25519/Hacl.Test.X25519.wasm