ark_test_curves::pairing

Function prepare_g2

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

Preprocesses a G2 element for use in a pairing.