Skip to content

Commit

Permalink
chore: update F*
Browse files Browse the repository at this point in the history
  • Loading branch information
TWal committed Nov 9, 2023
1 parent e4ab9fa commit 191476e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions flake.lock

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

3 changes: 2 additions & 1 deletion hacl-star-snapshot/lib/Lib.IntTypes.fst
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ assume
val int64_to_int128: a:Int64.t -> b:Int128.t{Int128.v b == Int64.v a}
//let int64_to_int128 a = Int128.int_to_t (v a)

#push-options "--z3rlimit 1000"

val uint64_to_int128: a:UInt64.t -> b:Int128.t{Int128.v b == UInt64.v a}
let uint64_to_int128 a = uint128_to_int128 (Int.Cast.Full.uint64_to_uint128 a)

Expand All @@ -110,7 +112,6 @@ let int64_to_uint128 a = int128_to_uint128 (int64_to_int128 a)
val int128_to_uint64: a:Int128.t -> b:UInt64.t{UInt64.v b == Int128.v a % pow2 64}
let int128_to_uint64 a = Int.Cast.Full.uint128_to_uint64 (int128_to_uint128 a)

#push-options "--z3rlimit 1000"

[@(strict_on_arguments [0;2])]
let cast #t #l t' l' u =
Expand Down

0 comments on commit 191476e

Please sign in to comment.