MCPcopy Create free account
hub / github.com/BitVM/BitVM / G2Prepared

Class G2Prepared

bitvm/src/bn254/ell_coeffs.rs:18–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16
17#[derive(Clone, Debug, PartialEq, Eq)]
18pub struct G2Prepared {
19 /// Stores the coefficients of the line evaluations as calculated in
20 /// <https://eprint.iacr.org/2013/722.pdf>
21 pub ell_coeffs: Vec<EllCoeff>,
22 pub infinity: bool,
23}
24
25// aka. line in miller loop.
26pub type EllCoeff = (ark_bn254::Fq2, ark_bn254::Fq2, ark_bn254::Fq2);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected