Module Bls.G2

module Srs : sig ... end
exception Not_on_curve of Stdlib.Bytes.t
val affine_of_jacobian : t -> affine
val jacobian_of_affine : affine -> t
val to_affine_array : t array -> affine_array
val of_affine_array : affine_array -> t array
val size_of_affine_array : affine_array -> int
val size_in_memory : int
val compressed_size_in_bytes : int
val size_in_bytes : int
module Scalar : sig ... end
val check_bytes : Stdlib.Bytes.t -> bool
val of_bytes_opt : Stdlib.Bytes.t -> t option
val of_bytes_exn : Stdlib.Bytes.t -> t
val of_compressed_bytes_opt : Stdlib.Bytes.t -> t option
val of_compressed_bytes_exn : Stdlib.Bytes.t -> t
val to_bytes : t -> Stdlib.Bytes.t
val to_compressed_bytes : t -> Stdlib.Bytes.t
val zero : t
val one : t
val is_zero : t -> bool
val copy : t -> t
val random : ?state:Stdlib.Random.State.t -> unit -> t
val add : t -> t -> t
val add_inplace : t -> t -> unit
val add_bulk : t list -> t
val double : t -> t
val negate : t -> t
val eq : t -> t -> bool
val mul : t -> Scalar.t -> t
val mul_inplace : t -> Scalar.t -> unit
val hash_to_curve : Stdlib.Bytes.t -> Stdlib.Bytes.t -> t
val pippenger : ?start:int -> ?len:int -> t array -> Scalar.t array -> t
val pippenger_with_affine_array : ?start:int -> ?len:int -> affine_array -> Scalar.t array -> t
val t : t Repr.t
val encoding : t Data_encoding.encoding