Calling `pairing_powers` on the prepared decryption key
(
&self,
chunk_bit_size: u8,
g_i: &[E::G1Affine],
)
| 192 | |
| 193 | /// Calling `pairing_powers` on the prepared decryption key |
| 194 | pub fn pairing_powers( |
| 195 | &self, |
| 196 | chunk_bit_size: u8, |
| 197 | g_i: &[E::G1Affine], |
| 198 | ) -> crate::Result<Vec<Vec<PairingOutput<E>>>> { |
| 199 | let prepared_dk = PreparedDecryptionKey::from(self.clone()); |
| 200 | prepared_dk.pairing_powers(chunk_bit_size, g_i) |
| 201 | } |
| 202 | } |
| 203 | |
| 204 | impl<E: Pairing> PreparedDecryptionKey<E> { |