Skip to content

Commit

Permalink
Verified secp256k1_laddermul
Browse files Browse the repository at this point in the history
  • Loading branch information
Alix Trieu authored and andres-erbsen committed Oct 29, 2024
1 parent 4b1abed commit a02dfca
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 a02dfca

Please sign in to comment.