Obtain powers for the underlying KZG10 construction
(&'a self)
| 46 | impl<E: Pairing> CommitterKey<E> { |
| 47 | /// Obtain powers for the underlying KZG10 construction |
| 48 | pub fn powers<'a>(&'a self) -> kzg10::Powers<'a, E> { |
| 49 | kzg10::Powers { |
| 50 | powers_of_g: self.powers.as_slice().into(), |
| 51 | powers_of_gamma_g: self.powers_of_gamma_g.as_slice().into(), |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | /// Obtain powers for committing to shifted polynomials. |
| 56 | pub fn shifted_powers<'a>( |