Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

Commit

Permalink
Rename Montgomery_ladder to Scalar_mult
Browse files Browse the repository at this point in the history
(despite the name, it is not a proper Montgomery ladder)
  • Loading branch information
emillon committed Aug 1, 2019
1 parent 8f14632 commit 3e56899
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions p256/fiat_p256.ml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
let dh ~scalar ~point =
Point.x_of_finite_point (Montgomery_ladder.scalar_mult scalar point)
Point.x_of_finite_point (Scalar_mult.scalar_mult scalar point)

let public scalar = Montgomery_ladder.scalar_mult scalar Point.params_g
let public scalar = Scalar_mult.scalar_mult scalar Point.params_g

type error = Error.point_error

Expand Down
2 changes: 0 additions & 2 deletions p256/montgomery_ladder.mli

This file was deleted.

File renamed without changes.
2 changes: 2 additions & 0 deletions p256/scalar_mult.mli
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
val scalar_mult : Scalar.t -> Point.t -> Point.t
(** Scalar multiplication. *)

0 comments on commit 3e56899

Please sign in to comment.