Skip to content

Commit

Permalink
chore: update F*, fix random breakage
Browse files Browse the repository at this point in the history
  • Loading branch information
TWal committed Dec 19, 2023
1 parent 191476e commit f0b3d59
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 6 additions & 6 deletions flake.lock

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

2 changes: 2 additions & 0 deletions hacl-star-snapshot/lib/Lib.IntTypes.fst
Original file line number Diff line number Diff line change
Expand Up @@ -1010,6 +1010,7 @@ let conditional_subtract #t #l t' a =
logand_lemma mask pow2_bits;
a3 `add` (mask `logand` pow2_bits)

#push-options "--z3rlimit 500 --quake 1/25"
let cast_mod #t #l t' l' a =
assert_norm (pow2 7 = 128);
assert_norm (pow2 15 = 32768);
Expand All @@ -1022,6 +1023,7 @@ let cast_mod #t #l t' l' a =
let b = conditional_subtract t' (a `logand` mod_mask m) in
cast t' l' b
end
#pop-options

#pop-options

Expand Down

0 comments on commit f0b3d59

Please sign in to comment.