pub fn commit_to_field_elems<G: KimchiCurve>(
srs: &SRS<G>,
data: &[G::ScalarField],
) -> Vec<G>where
<G as AffineRepr>::Group: VariableBaseMSM,
Expand description
Compute the commitment to data
; if the length of data
is greater than
SRS_SIZE
, the data is splitted in chunks of at most SRS_SIZE
length.