Skip to content

Commit

Permalink
Verified secp256k1_laddermul
Browse files Browse the repository at this point in the history
  • Loading branch information
Alix Trieu committed May 23, 2024
1 parent ad9b3f1 commit d255ce2
Show file tree
Hide file tree
Showing 3 changed files with 962 additions and 99 deletions.
1 change: 0 additions & 1 deletion src/Bedrock/End2End/Secp256k1/Addchain.v
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,6 @@ Section WithParameters.
pose (inv := fun (v: nat) (t: trace) (m: @map.rep word byte BasicC32Semantics.mem) (l: @map.rep string word locals) => t = tr /\
exists i (Hi: 1 <= i <= to),
v = Z.to_nat (to - i) /\
(* TODO: automate how to recover the frame *)
(exists vx, ((FElem pvar vx) * R)%sep m /\
feval vx = F.pow (feval vvar) (N.pow 2%N (Z.to_N (i - 1))) /\
bounded_by un_outbounds vx) /\
Expand Down
Loading

0 comments on commit d255ce2

Please sign in to comment.