MCPcopy Create free account
hub / github.com/arkworks-rs/poly-commit / powers

Method powers

poly-commit/src/sonic_pc/data_structures.rs:73–78  ·  view source on GitHub ↗

Obtain powers for the underlying KZG10 construction

(&self)

Source from the content-addressed store, hash-verified

71impl<E: Pairing> CommitterKey<E> {
72 /// Obtain powers for the underlying KZG10 construction
73 pub fn powers(&self) -> kzg10::Powers<E> {
74 kzg10::Powers {
75 powers_of_g: self.powers_of_g.as_slice().into(),
76 powers_of_gamma_g: self.powers_of_gamma_g.as_slice().into(),
77 }
78 }
79
80 /// Obtain powers for committing to shifted polynomials.
81 pub fn shifted_powers(

Callers 2

commitMethod · 0.45
openMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected