package octez-libs
A package that contains multiple base libraries used by the Octez suite
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-18.0.tar.gz
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a
doc/octez-libs.plonk/Plonk/Polynomial_protocol/Make_impl/index.html
Module Polynomial_protocol.Make_impl
Source
Functor building an implementation of a polynomial protocol given a polynomial commitment scheme PC
.
Parameters
module PC : Polynomial_commitment.S
Signature
module PC = PC
split_t n t nb_of_t_chunks
splits t
polynomial in nb_of_t_chunks
polynomials of at most n
coefficients (and at most degree n
-1), except the last one that may have more coeffictients depending on t
’s degree
Source
val compute_t :
n:int ->
alpha:Plonk.Bls.Scalar.t ->
nb_of_t_chunks:int ->
Bls.Evaluations.t SMap.t ->
Plonk.Bls.Poly.t SMap.t
Source
val eval_and_batch_ids :
(Plonk.Bls.Scalar.t * 'a) ->
'b SMap.t SMap.t list ->
('a -> 'b SMap.t SMap.t -> Plonk.Bls.Scalar.t SMap.t) ->
Plonk.Bls.Scalar.t
Source
val verify_t :
int ->
Plonk.Bls.Scalar.t ->
Plonk.Bls.Scalar.t ->
Plonk.Bls.Scalar.t list ->
bool
Source
val setup :
setup_params:PC.Public_parameters.setup_params ->
srs:(Octez_bls12_381_polynomial.Srs.t * Octez_bls12_381_polynomial.Srs.t) ->
PC.Public_parameters.prover * PC.Public_parameters.verifier
Source
val prove_aux :
PC.Commitment.prover_public_parameters ->
Bytes.t ->
int ->
Plonk.Bls.Scalar.t ->
(Plonk.Bls.Poly.t SMap.t * PC.Commitment.prover_aux) list ->
Identities.eval_point list list ->
'a ->
('a -> Bls.Evaluations.t SMap.t) ->
int ->
(Plonk.Bls.Scalar.t * Plonk.Bls.Scalar.t * PC.answer list * PC.Commitment.t)
* Plonk.Bls.Poly.t SMap.t list
* PC.Commitment.prover_aux list
* Plonk.Bls.Scalar.t SMap.t list
* Bytes.t
Source
val prove :
PC.Commitment.prover_public_parameters ->
Bytes.t ->
n:int ->
generator:Plonk.Bls.Scalar.t ->
secrets:(Plonk.Bls.Poly.t SMap.t * PC.Commitment.prover_aux) list ->
eval_points:Identities.eval_point list list ->
evaluations:'a ->
identities:('a -> Bls.Evaluations.t SMap.t) ->
nb_of_t_chunks:int ->
proof * PC.transcript
Source
val verify_aux :
Bytes.t ->
Plonk.Bls.Scalar.t ->
PC.Commitment.t list ->
Identities.eval_point list list ->
proof ->
Plonk.Bls.Scalar.t
* Plonk.Bls.Scalar.t
* Bytes.t
* PC.Commitment.t list
* Plonk.Bls.Scalar.t SMap.t list
Source
val verify :
PC.Public_parameters.verifier ->
Bytes.t ->
n:int ->
generator:Plonk.Bls.Scalar.t ->
commitments:PC.Commitment.t list ->
eval_points:Identities.eval_point list list ->
identities:
(Plonk.Bls.Scalar.t ->
Plonk.Bls.Scalar.t SMap.t SMap.t ->
Plonk.Bls.Scalar.t SMap.t) ->
proof ->
bool * PC.transcript
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page