[−][src]Function fawkes_crypto_powersoftau::utils::same_ratio
pub fn same_ratio<E: Engine, G1: CurveAffine<Engine = E, Scalar = E::Fr>>(
g1: (G1, G1),
g2: (G1::Pair, G1::Pair)
) -> bool
Checks if pairs have the same ratio. Under the hood uses pairing to check x1/x2 = y1/y2 => x1y2 = x2y1