INNER CODE UNIT · Rust
commit
arkworks-rs/poly-commit · poly-commit/src/lib.rs:218
fn commit<'a>(
ck: &Self::CommitterKey,
polynomials: impl IntoIterator<Item = &'a LabeledPolynomial<F, P>>,
rng: Option<&mut dyn RngCore>,
) -> Result<
(
Vec<LabeledCommitment<Self::Commitment>>,
Vec<Self::CommitmentState>,
),
Self::Error,
>
where
P: 'a;
/// open but with individual challenges
fn open<'a>(
ck: &Self::CommitterKey,
labeled_polynomials: impl IntoIterator<Item = &'a LabeledPolynomial<F, P>>,