Obtain powers for the underlying KZG10 construction
(&self)
| 71 | impl<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( |