ark_ec::pairing

Function prepare_g2

Source
pub fn prepare_g2<E: Pairing>(g: impl Into<E::G2Affine>) -> E::G2Prepared
Expand description

Preprocesses a G2 element for use in a pairing.