Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merging main into dev #662

Merged
merged 187 commits into from
Dec 1, 2024
Merged
Show file tree
Hide file tree
Changes from 99 commits
Commits
Show all changes
187 commits
Select commit Hold shift + click to select a range
5333f39
wip
franziskuskiefer Aug 30, 2024
d4049e3
fuzzers for ml-kem
franziskuskiefer Aug 30, 2024
4db4adc
fstar extraction for ml-dsa
karthikbhargavan Sep 22, 2024
c963c44
wip lax
karthikbhargavan Sep 23, 2024
fa63aeb
expose serialize secret key for unpacked keys
franziskuskiefer Oct 10, 2024
75e282c
re-extracted C code
franziskuskiefer Oct 10, 2024
764d9d6
wip
franziskuskiefer Oct 10, 2024
1bc56db
better apis and tests
franziskuskiefer Oct 10, 2024
cf8ec24
unpacked key from private key
franziskuskiefer Oct 10, 2024
4ed279a
re-extract F*
franziskuskiefer Oct 10, 2024
2c49913
more tests and fixup
franziskuskiefer Oct 11, 2024
188d198
re-extract mlkem F*
franziskuskiefer Oct 11, 2024
c13257a
regenerate mlkem C
franziskuskiefer Oct 11, 2024
76be581
more mlkem private functions
franziskuskiefer Oct 11, 2024
af269d4
Merge branch 'dev' into ml-dsa-arithmetic
karthikbhargavan Oct 11, 2024
15405df
extracting again
karthikbhargavan Oct 11, 2024
acf0d0a
got rid of some cycles, the rest need some hax help
karthikbhargavan Oct 11, 2024
08ce4ac
refreshed fstar
karthikbhargavan Oct 11, 2024
86227ec
fixes
franziskuskiefer Oct 15, 2024
9f6ddc6
re-extract C
franziskuskiefer Oct 15, 2024
d4a72f0
fixup arm code
franziskuskiefer Oct 15, 2024
ebd4c0b
C test fixes
franziskuskiefer Oct 15, 2024
74e10e0
Merge branch 'franziskus/mlkem-serialize-sk' of github.com:cryspen/li…
franziskuskiefer Oct 15, 2024
c4e0ab6
fixes to benches
karthikbhargavan Oct 17, 2024
7a3dff1
after cycle bundling fix
karthikbhargavan Oct 22, 2024
5151722
progress up to Libcrux_sha3.Traits.fsti
karthikbhargavan Oct 22, 2024
c4bb39e
almost laxing
karthikbhargavan Oct 23, 2024
05d0e11
Merge branch 'main' into ml-dsa-arithmetic
karthikbhargavan Oct 25, 2024
924d808
ml-dsa refresh
karthikbhargavan Oct 25, 2024
a578e90
ml-dsa refresh
karthikbhargavan Oct 25, 2024
0b37cc1
ml-dsa lax-checks except for 3 modules
karthikbhargavan Oct 28, 2024
fbefc8d
lax check succeeds
karthikbhargavan Oct 29, 2024
443ec96
fmt
karthikbhargavan Oct 29, 2024
a17120e
Repair `hash_functions`
jschneider-bensch Oct 29, 2024
44af027
ML-DSA extraction on CI
jschneider-bensch Oct 29, 2024
c4fb85c
Fix warnings
jschneider-bensch Oct 29, 2024
9c3247c
lax
karthikbhargavan Oct 29, 2024
5cf6072
cleanup
karthikbhargavan Oct 29, 2024
7377285
cleanup
karthikbhargavan Oct 29, 2024
516b6f3
cleanup
karthikbhargavan Oct 29, 2024
3400e59
cleanup
karthikbhargavan Oct 29, 2024
025679d
cleanup
karthikbhargavan Oct 29, 2024
95b46df
cleanup
karthikbhargavan Oct 29, 2024
b9a51e8
make
karthikbhargavan Oct 29, 2024
1644063
make
karthikbhargavan Oct 29, 2024
72f0472
removed fstar libs needed for ml-kem from this PR
karthikbhargavan Oct 30, 2024
91cefaf
resolved some comments
karthikbhargavan Oct 31, 2024
bc2b3ad
restored error prop
karthikbhargavan Oct 31, 2024
7db214d
lax checks
karthikbhargavan Nov 1, 2024
60ffea0
fstar refresh
karthikbhargavan Nov 2, 2024
0a837fb
qemu based s390x ci for ml-kem C
franziskuskiefer Nov 3, 2024
587a379
fix ml-kem C in cg for big endian machines
franziskuskiefer Nov 3, 2024
5f3f123
don't build ml-kem C benchmarks by default
franziskuskiefer Nov 3, 2024
300abc0
Update .github/workflows/s390x.yml
franziskuskiefer Nov 4, 2024
b216164
fix cg eurydice glue for Windows
franziskuskiefer Nov 4, 2024
249e0b3
don't run mlkem C tests on Windows ci
franziskuskiefer Nov 4, 2024
1ec5a9f
Enable AVX2 target feature
jschneider-bensch Oct 21, 2024
0031d3c
Inlining to help AVX2 optimization
jschneider-bensch Oct 21, 2024
4bc6554
Missing module
jschneider-bensch Oct 22, 2024
f946f53
Attempt to reduce stack size
jschneider-bensch Oct 24, 2024
a86ce00
Format
jschneider-bensch Oct 24, 2024
23120b2
ACVP uninlined inner functions
jschneider-bensch Oct 31, 2024
30c7de7
Remove Zeta arrays
jschneider-bensch Nov 4, 2024
0703c5b
SHA-3 AVX2 target feature
jschneider-bensch Nov 4, 2024
5d85370
Inlining + target feature changes around inverse NTT
jschneider-bensch Nov 4, 2024
6c8fdc3
Header-only extraction update
jschneider-bensch Nov 4, 2024
51e2d6d
Update C extraction
jschneider-bensch Nov 4, 2024
61f72fd
Fix paths
jschneider-bensch Nov 4, 2024
3cf3915
really don't run on windows
franziskuskiefer Nov 4, 2024
84a01ad
format cg/eurydice_glue
franziskuskiefer Nov 4, 2024
17cf50b
Merge pull request #649 from cryspen/franziskus/big-endian-ci
jschneider-bensch Nov 5, 2024
5c005e0
Merge branch 'ml-dsa-lax' into jonas/ml-dsa-target-feature
jschneider-bensch Nov 5, 2024
7297c0b
added issue-comment for samplex4 edits
karthikbhargavan Nov 5, 2024
dac387a
renamed inputs
karthikbhargavan Nov 5, 2024
e542ac3
fmt
karthikbhargavan Nov 5, 2024
db15695
Merge branch 'main' into ml-dsa-lax
karthikbhargavan Nov 5, 2024
5ddbf9e
Merge pull request #646 from cryspen/ml-dsa-lax
franziskuskiefer Nov 5, 2024
5f88703
Merge branch 'main' into jonas/ml-dsa-target-feature
jschneider-bensch Nov 5, 2024
654d836
Missing `opaque_type`s in `hash_functions`
jschneider-bensch Nov 5, 2024
a19752d
Make trait impl functions into wrappers
jschneider-bensch Nov 5, 2024
837d70f
Don't use trait methods
jschneider-bensch Nov 5, 2024
873ccf8
Update F*
jschneider-bensch Nov 5, 2024
76b51d1
Merge branch 'main' into franziskus/ml-kem-fuzzing
franziskuskiefer Nov 6, 2024
b1ad8bb
Guard `target_feature` to `cfg(not(hax))`
jschneider-bensch Nov 6, 2024
0dccff5
Update F*
jschneider-bensch Nov 6, 2024
4a3c207
add fuzzer to ci
franziskuskiefer Nov 6, 2024
c9f8670
Update .github/workflows/mlkem.yml
franziskuskiefer Nov 6, 2024
3df061e
fixup fuzz ci
franziskuskiefer Nov 6, 2024
150b616
Merge branch 'franziskus/ml-kem-fuzzing' of github.com:cryspen/libcru…
franziskuskiefer Nov 6, 2024
d5632a5
cargo fmt
franziskuskiefer Nov 6, 2024
11b5102
Use local functions in favor of macros to help F*
jschneider-bensch Nov 6, 2024
f7dccd0
Merge pull request #660 from cryspen/franziskus/ml-kem-fuzzing
jschneider-bensch Nov 6, 2024
66059e5
Merge branch 'main' into jonas/ml-dsa-target-feature
karthikbhargavan Nov 8, 2024
8f41090
Revert "SHA-3 AVX2 target feature"
franziskuskiefer Nov 8, 2024
a31e411
inline ntt
franziskuskiefer Nov 8, 2024
1cefb79
update mlkem C code
franziskuskiefer Nov 8, 2024
d4b585d
Merge pull request #642 from cryspen/jonas/ml-dsa-target-feature
franziskuskiefer Nov 8, 2024
38837f1
lax works again
karthikbhargavan Nov 8, 2024
08e01cc
refreshed c
karthikbhargavan Nov 8, 2024
f68ccf2
ml-dsa make
karthikbhargavan Nov 8, 2024
7026b9f
ml-dsa restored
karthikbhargavan Nov 8, 2024
a081805
spec fix
karthikbhargavan Nov 11, 2024
392604e
fstar refresh
karthikbhargavan Nov 11, 2024
5a38a61
fstar
karthikbhargavan Nov 11, 2024
5920c3a
add proc-macro helper crate from hacl-rs
keks Nov 5, 2024
0e0243e
add hacl-rs hashing code, make libcrux use hacl-rs impl for sha2
keks Nov 5, 2024
a23ffcf
no hacl-c sha2 anymore
keks Nov 5, 2024
70dc04c
completely remove hacl-c sha2
keks Nov 5, 2024
f74ddcb
remove hash state wrapper for sha2
keks Nov 5, 2024
6d0f6d5
move hacl-rs to own subcrate
keks Nov 5, 2024
9a3cff8
make hmac crate use hacl-rs
keks Nov 5, 2024
ed655da
use ed25519 from hacl-rs
keks Nov 5, 2024
ba70ee0
use ed25519 better
keks Nov 5, 2024
418e508
fix length checks in hmac and sha2
keks Nov 6, 2024
1ade700
add hacl-rs hkdf
keks Nov 6, 2024
6653e08
fix cargo toml indent depth
keks Nov 6, 2024
50422b7
fix hmac lengths
keks Nov 6, 2024
8f9dd3a
fix name and add comment
keks Nov 6, 2024
ba561b3
impl Default for Sha2 hash states
keks Nov 6, 2024
45d1278
fmt rest of generated code
keks Nov 6, 2024
5e781bc
fix mishap
keks Nov 6, 2024
1f634b9
add wycheproof test for ed25519, hkdf and hmac
keks Nov 6, 2024
ece0107
move hacl-rs algorithms to individual crates and make composite crate…
keks Nov 7, 2024
1ca3ced
remove sha1 crate stub
keks Nov 7, 2024
ae73f50
remove remaining traces of sha1 crate stub
keks Nov 7, 2024
deefc26
fmt Cargo.toml
keks Nov 7, 2024
4a1026a
fmt more Cargo.toml
keks Nov 7, 2024
238e1fb
remove unuzed generated memzero function
keks Nov 7, 2024
97bf4b0
address PR feedback
keks Nov 11, 2024
e77f3a5
fix toml indent
keks Nov 11, 2024
05f1652
more cleanup
keks Nov 11, 2024
bf1ba73
fstar
karthikbhargavan Nov 11, 2024
9c7d46a
fstar
karthikbhargavan Nov 11, 2024
595517c
fstar
karthikbhargavan Nov 11, 2024
2c93acc
fstar
karthikbhargavan Nov 11, 2024
354e3ef
Fix generic module failures
mamonet Nov 12, 2024
ae7ab07
Update Spec.MLKEM.fst
mamonet Nov 12, 2024
22dc07b
Fix failure in generic serialize module
mamonet Nov 12, 2024
b665c49
Propagate recent cmake changes to nix CI
R1kM Nov 12, 2024
d1b75ab
Fix failure in portable compress module
mamonet Nov 12, 2024
9a8614d
Merge pull request #669 from R1kM/main
franziskuskiefer Nov 12, 2024
d910009
Merge branch 'main' into franziskus/mlkem-serialize-sk
franziskuskiefer Nov 13, 2024
69a27e4
Reomve Libcrux_ml_kem.Vector.Portable from ADMIT_MODULES
mamonet Nov 13, 2024
9caa0ff
rename bignum module
keks Nov 13, 2024
150df23
fixup merge
franziskuskiefer Nov 13, 2024
b071b90
More efficient butterfly in inverse NTT layers 0-2
jschneider-bensch Nov 13, 2024
122ee3d
update C extraction
franziskuskiefer Nov 13, 2024
3c5be34
slight api change, more comments
keks Nov 13, 2024
13a516c
update C extraction
franziskuskiefer Nov 13, 2024
9b4b799
Merge pull request #623 from cryspen/franziskus/mlkem-serialize-sk
karthikbhargavan Nov 13, 2024
89568ab
Add pre-conditions for Unpacked functions
mamonet Nov 14, 2024
f0f3d0e
fix ci error
keks Nov 14, 2024
a216c87
Merge branch 'main' into keks/hacl-rs
keks Nov 14, 2024
7584c13
Apply suggestions from code review
keks Nov 14, 2024
8bdb4ff
Push inverse NTT into the implementations
jschneider-bensch Nov 14, 2024
6982493
FStar Update
jschneider-bensch Nov 14, 2024
168fd90
Update flake pins
Nadrieril Nov 14, 2024
2e6d232
Avoid copying 200MB to the output
Nadrieril Nov 14, 2024
d9520c1
Use `callPackage` to make the `ml-kem` package configurable
Nadrieril Nov 14, 2024
8b45ccd
Allow setting the `Cargo.lock` via nix
Nadrieril Nov 14, 2024
04fdf14
Merge pull request #659 from cryspen/keks/hacl-rs
keks Nov 14, 2024
3daab9b
Omitted FStar
jschneider-bensch Nov 14, 2024
2608798
Merge pull request #678 from Nadrieril/improve-flake
W95Psp Nov 14, 2024
c967919
Remove obsolete .fst
jschneider-bensch Nov 14, 2024
e458471
Merge branch 'main' into jonas/invntt-butterfly
jschneider-bensch Nov 14, 2024
50e4b97
fix(f*/ml-kem): restore z3rlimit to 80
W95Psp Nov 14, 2024
faee7a5
feat: verify Avx2.Serialize
W95Psp Nov 14, 2024
e42d9da
cleanup
karthikbhargavan Nov 14, 2024
974422b
fstar
karthikbhargavan Nov 14, 2024
dc479b8
Merge pull request #671 from cryspen/jonas/invntt-butterfly
franziskuskiefer Nov 15, 2024
3b3cafa
merged main
karthikbhargavan Nov 15, 2024
33f952d
fstar update
karthikbhargavan Nov 16, 2024
63a1e7d
fstar
karthikbhargavan Nov 16, 2024
86e27d8
fixes
karthikbhargavan Nov 27, 2024
82871a3
edits
karthikbhargavan Nov 28, 2024
56e38bb
fix
karthikbhargavan Nov 28, 2024
873fa48
Fix build_unpacked_public_key_mut
mamonet Nov 29, 2024
c2a5c69
Fix build_unpacked_public_key
mamonet Nov 29, 2024
3e8515b
hand edited fixes to impl-interfaces
karthikbhargavan Nov 29, 2024
265435c
Remove lax/panic-free verification options from ind-cca
mamonet Nov 29, 2024
c7df39e
delete stale file
karthikbhargavan Nov 29, 2024
e2b0855
Mark serialize_unpacked_secret_key as lax
mamonet Nov 29, 2024
91fae43
dsa
karthikbhargavan Nov 30, 2024
8fa4c2d
dsa extra
karthikbhargavan Nov 30, 2024
2ecc08a
boring c code
karthikbhargavan Dec 1, 2024
1591860
c code refresh
karthikbhargavan Dec 1, 2024
0a935fe
fstar
karthikbhargavan Dec 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 2 additions & 9 deletions .github/workflows/c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:

- name: 🔨 Build
run: |
cmake -B build
LIBCRUX_BENCHMARKS=1 cmake -B build
cmake --build build

- name: 🏃🏻‍♀️ Test
Expand All @@ -132,7 +132,7 @@ jobs:
- name: 🔨 Build Release
run: |
rm -rf build
cmake -B build -DCMAKE_BUILD_TYPE=Release
LIBCRUX_BENCHMARKS=1 cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release
if: ${{ matrix.os != 'windows-latest' }}

Expand All @@ -159,13 +159,6 @@ jobs:
cmake -B build
cmake --build build
# FIXME: Benchmark build for cg on Windows CI is not working right now.
if: ${{ matrix.os != 'windows-latest' }}

# FIXME: Benchmark build for cg on Windows CI are not working right now.
# - name: 🏃🏻‍♀️ Test (cg)
# working-directory: libcrux-ml-kem/cg
# run: ./build/Debug/ml_kem_test
# if: ${{ matrix.os == 'windows-latest' }}

- name: 🏃🏻‍♀️ Test
run: ./build/ml_kem_test
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/hax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,13 @@ jobs:

- name: 🏃 Extract ML-DSA crate
working-directory: libcrux-ml-dsa
run: cargo hax into fstar
run: ./hax.py extract

- name: 🏃 Lax ML-DSA crate
working-directory: libcrux-ml-dsa
run: |
env FSTAR_HOME=${{ github.workspace }}/fstar \
HACL_HOME=${{ github.workspace }}/hacl-star \
HAX_HOME=${{ github.workspace }}/hax \
PATH="${PATH}:${{ github.workspace }}/fstar/bin" \
./hax.py prove --admit
39 changes: 34 additions & 5 deletions .github/workflows/mlkem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,6 @@ jobs:
rustc --print=cfg
cargo build --verbose $RUST_TARGET_FLAG --features pre-verification

- name: 🔨 Build unpacked
run: |
rustc --print=cfg
cargo build --verbose $RUST_TARGET_FLAG --features pre-verification,unpacked

- name: 🔨 Build Release
run: cargo build --verbose --release $RUST_TARGET_FLAG --features pre-verification

Expand Down Expand Up @@ -173,3 +168,37 @@ jobs:
run: |
cargo clean
cargo hack test --each-feature $EXCLUDE_FEATURES --verbose $RUST_TARGET_FLAG

fuzz:
strategy:
fail-fast: false
matrix:
os:
- macos-latest # macos-14 m1
- ubuntu-latest

runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
working-directory: libcrux-ml-kem

steps:
- uses: actions/checkout@v4

- name: 🛠️ Setup Rust Nightly
run: |
rustup toolchain install nightly
cargo install cargo-fuzz

- name: 🛠️ Update dependencies
run: cargo update

- name: 🏃🏻‍♀️ Decaps
run: CARGO_PROFILE_RELEASE_LTO=false cargo +nightly fuzz run decaps -- -runs=100000

- name: 🏃🏻‍♀️ Encaps
run: CARGO_PROFILE_RELEASE_LTO=false cargo +nightly fuzz run encaps -- -runs=100000

- name: 🏃🏻‍♀️ KeyGen
run: CARGO_PROFILE_RELEASE_LTO=false cargo +nightly fuzz run keygen -- -runs=1000000
44 changes: 44 additions & 0 deletions .github/workflows/s390x.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: s390x - Build & Test

on:
push:
pull_request:
branches: ["main", "dev"]
workflow_dispatch:
merge_group:

env:
CARGO_TERM_COLOR: always

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
s390x:
runs-on: ubuntu-latest
name: Build on ubuntu-22.04 s390x
steps:
- uses: actions/checkout@v4
- uses: uraimo/run-on-arch-action@v2
name: Run
id: runcmd
with:
arch: s390x
distro: ubuntu22.04

# Speed up builds by storing container images in
# a GitHub package registry.
githubToken: ${{ github.token }}

run: |
apt-get -y update
apt-get install -y curl gcc g++ make cmake ninja-build git
cd libcrux-ml-kem/c
cmake -B build -G"Ninja Multi-Config"
cmake --build build
./build/Debug/ml_kem_test
cd ../cg
cmake -B build -G"Ninja Multi-Config"
cmake --build build
./build/Debug/ml_kem_test
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ kyber-crate/
# F*
.fstar-cache
.depend
**/proofs/fstar/*/#*#
**/proofs/fstar/*/.#*
/proofs/fstar/*/#*#
/proofs/fstar/*/.#*
hax.fst.config.json
55 changes: 50 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 2 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ members = [
"benchmarks",
"fuzz",
"libcrux-ml-kem",
"libcrux-ml-kem/fuzz",
"libcrux-sha3",
"libcrux-ml-dsa",
"libcrux-intrinsics",
Expand Down Expand Up @@ -74,13 +75,7 @@ log = { version = "0.4", optional = true }
# WASM API
wasm-bindgen = { version = "0.2.87", optional = true }
getrandom = { version = "0.2", features = ["js"], optional = true }

# When using the hax toolchain, we have more dependencies.
# This is only required when doing proofs.
#[target.'cfg(hax)'.dependencies]
[workspace.dependencies]
hax-lib-macros = { git = "https://github.com/hacspec/hax", branch = "main" }
hax-lib = { git = "https://github.com/hacspec/hax/", branch = "main" }
hax-lib = { version = "0.1.0-alpha.1", git = "https://github.com/hacspec/hax/", branch = "main" }

[dev-dependencies]
libcrux = { path = ".", features = ["rand", "tests"] }
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/benches/kyber768.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ pub fn comparisons_pk_validation(c: &mut Criterion) {
b.iter_batched(
|| libcrux_kem::deterministic::mlkem768_generate_keypair_derand(seed),
|key_pair| {
let _valid = libcrux_kem::ml_kem768_validate_public_key(key_pair.into_parts().1);
let _valid = libcrux_kem::ml_kem768_validate_public_key(&key_pair.into_parts().1);
},
BatchSize::SmallInput,
)
Expand Down
4 changes: 2 additions & 2 deletions fstar-helpers/Makefile.base
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 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.
# This inherits from Makefile.generic, and adds the `specs` folder from HACL.

VERIFY_SLOW_MODULES ?= no
ifeq (${VERIFY_SLOW_MODULES},no)
Expand All @@ -10,5 +10,5 @@ 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
FSTAR_INCLUDE_DIRS_EXTRA += $(HACL_HOME)/specs
include $(shell git rev-parse --show-toplevel)/fstar-helpers/Makefile.generic
5 changes: 0 additions & 5 deletions fstar-helpers/README.md

This file was deleted.

2 changes: 1 addition & 1 deletion libcrux-intrinsics/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description = "Libcrux intrinsics crate"
exclude = ["/proofs"]

[dependencies]
hax-lib.workspace = true
hax-lib = { version = "0.1.0-alpha.1", git = "https://github.com/hacspec/hax/" }

[features]
simd128 = []
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Libcrux_intrinsics.Arm64_extract
#set-options "--fuel 0 --ifuel 1 --z3rlimit 80"
#set-options "--fuel 0 --ifuel 1 --z3rlimit 15"
open Core
open FStar.Mul

Expand Down
Loading
Loading