halo2curves/bn256/mod.rs
mod curve;
mod engine;
mod fq;
mod fq12;
mod fq2;
mod fq6;
mod fr;
pub use curve::*;
pub use engine::*;
pub use fq::*;
pub use fq12::*;
pub use fq2::*;
pub use fq6::*;
pub use fr::*;
pub const BN_X: u64 = 4965661367192848881;
// 6U+2 for in NAF form
pub const SIX_U_PLUS_2_NAF: [i8; 65] = [
0, 0, 0, 1, 0, 1, 0, -1, 0, 0, 1, -1, 0, 0, 1, 0, 0, 1, 1, 0, -1, 0, 0, 1, 0, -1, 0, 0, 0, 0,
1, 1, 1, 0, 0, -1, 0, 0, 1, 0, 0, 0, 0, 0, -1, 0, 0, 1, 1, 0, 0, -1, 0, 0, 0, 1, 1, 0, -1, 0,
0, 1, 0, 1, 1,
];