package tezos-plompiler

  1. Overview
  2. Docs

Module Gadget.JubjubWeierstrassSource

Parameters

module L : sig ... end

Signature

Sourcetype point = L.scalar * L.scalar
Sourceval input_point : ?public:bool -> (Csir.Scalar.t * Csir.Scalar.t) -> point L.repr L.t
Sourceval assert_is_on_curve : point L.repr -> unit L.repr L.t
Sourceval from_coordinates : L.scalar L.repr -> L.scalar L.repr -> point L.repr L.t
Sourceval unsafe_from_coordinates : L.scalar L.repr -> L.scalar L.repr -> point L.repr L.t

unsafe_from_coordinates x y is similar to !from_coordinates but does not verify the point is on the curve. It can be used to build a variable of type *point* without adding any constraint.

Sourceval get_x_coordinate : point L.repr -> L.scalar L.repr
Sourceval get_y_coordinate : point L.repr -> L.scalar L.repr
Sourceval scalar_mul : bool list L.repr -> point L.repr -> bool L.repr -> point L.repr L.t
Sourceval scalar_order : Z.t
Sourceval base_order : Z.t
OCaml

Innovation. Community. Security.