sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
module PP : Polynomial_protocol.S
module RangeCheck : sig ... end
module Perm : sig ... end
module Plook : sig ... end
module Gates = Custom_gates
module Commitment = PP.PC.Commitment
module Input_commitment : sig ... end
module PP = PP
type scalar = Plonk.Bls.Scalar.t
val scalar_t : Plonk.Bls.Scalar.t Repr.t
val circuit_prover_input_t : circuit_prover_input Repr.t
type prover_inputs = circuit_prover_input list SMap.t
val prover_inputs_t : circuit_prover_input list SMap.t Repr.ty
type public_inputs = scalar array list
val public_inputs_t : Plonk.Bls.Scalar.t array list Repr.t
type verifier_inputs =
(public_inputs * Input_commitment.public list list) SMap.t
val verifier_inputs_t :
(Plonk.Bls.Scalar.t array list * Input_commitment.public list list) SMap.t
Repr.ty
val check_circuit_name : 'a SMap.t -> unit
val hash_verifier_inputs :
(Plonk.Bls.Scalar.t array list * Input_commitment.public list list) SMap.t ->
bytes
val build_gates_randomness : Stdlib.Bytes.t -> gate_randomness * Stdlib.Bytes.t
module Prover : sig ... end
module Verifier : sig ... end
type prover_public_parameters = Prover.public_parameters = {
common_pp : Prover.common_prover_pp;
circuits_map : Prover.circuit_prover_pp SMap.t;
transcript : PP.transcript;
}
val prover_public_parameters_t : prover_public_parameters Repr.t
type verifier_public_parameters = {
common_pp : Verifier.common_verifier_pp;
circuits_map : Verifier.circuit_verifier_pp SMap.t;
transcript : PP.transcript;
}
val verifier_public_parameters_t : verifier_public_parameters Repr.t
module Preprocess : sig ... end
val to_verifier_inputs :
prover_public_parameters ->
circuit_prover_input list SMap.t ->
(public_inputs * Input_commitment.public list list) SMap.t
val expand_transcript_with_verifier_inputs :
bytes ->
(Plonk.Bls.Scalar.t array list * Input_commitment.public list list) SMap.t ->
bytes
val input_commit :
?size:int ->
?shift:int ->
prover_public_parameters ->
Plonk.Bls.Scalar.t array ->
Input_commitment.t
val update_prover_public_parameters :
bytes ->
prover_public_parameters ->
prover_public_parameters
val update_verifier_public_parameters :
bytes ->
verifier_public_parameters ->
verifier_public_parameters
val filter_prv_pp_circuits :
prover_public_parameters ->
'a SMap.t ->
prover_public_parameters
val filter_vrf_pp_circuits :
verifier_public_parameters ->
'a SMap.t ->
verifier_public_parameters
val setup :
zero_knowledge:bool ->
(Circuit.t * int) SMap.t ->
srs:
(Octez_bls12_381_polynomial.Bls12_381_polynomial.Srs.t
* Octez_bls12_381_polynomial.Bls12_381_polynomial.Srs.t) ->
prover_public_parameters * verifier_public_parameters
val prove :
prover_public_parameters ->
inputs:circuit_prover_input List.t SMap.t ->
proof
val verify :
verifier_public_parameters ->
inputs:(public_inputs * Input_commitment.public list list) SMap.t ->
proof ->
bool
val scalar_encoding : Plonk.Bls.Scalar.t Data_encoding.encoding
val data_encoding_of_repr : 'a Repr.t -> 'b Data_encoding.encoding
val proof_encoding : proof Data_encoding.encoding
val verifier_public_parameters_encoding :
verifier_public_parameters Data_encoding.encoding
module Internal_for_tests : sig ... end