MCPcopy Create free account
hub / github.com/docknetwork/crypto / pairing_powers

Method pairing_powers

saver/src/keygen.rs:194–201  ·  view source on GitHub ↗

Calling `pairing_powers` on the prepared decryption key

(
        &self,
        chunk_bit_size: u8,
        g_i: &[E::G1Affine],
    )

Source from the content-addressed store, hash-verified

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
204impl<E: Pairing> PreparedDecryptionKey<E> {

Callers 1

checkFunction · 0.80

Calls 1

cloneMethod · 0.80

Tested by

no test coverage detected