Skip to content

Commit 6908f86

Browse files
VST-preview.
Take an unrelease branch from VST that fixes PrincetonUniversity/VST#561
1 parent ab8b43d commit 6908f86

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

C/secp256k1/verif_int128_impl.v

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,9 @@ rewrite !Int64.signed_repr by
566566
change Int64.max_signed with (2^63 - 1);
567567
lia).
568568
forward.
569+
entailer!.
570+
rewrite Hmod32, Hdiv32, Z.mul_comm by auto.
571+
apply Hmul64;[apply Hdiv32bound|apply Z.mod_pos_bound]; lia.
569572
change (Int.unsigned (Int.repr 32)) with 32.
570573
rewrite !Int64.mul_signed, Hmod32, Hdiv32 by auto.
571574
rewrite !Int64.signed_repr by

vst.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ stdenv.mkDerivation {
44
src = fetchFromGitHub {
55
owner = "PrincetonUniversity";
66
repo = "VST";
7-
rev ="v2.9.1";
8-
hash = "sha256-q/Us8bG1Sek2cuAT6mvwxihBKrVl77RW9m0N5uWOQL4=";
7+
rev = "9a91f41c4ee1ff56a0c80111c86ed4b2fe51fa11";
8+
hash = "sha256-dzsewWQYxbjyVDtdc3TZggoIm/RrHFsYtq88fkYcTQ8=";
99
};
1010

1111
buildInputs = [ coq ];

0 commit comments

Comments
 (0)