Skip to main content

airbender_crypto/bn254/fields/
mod.rs

1#[cfg(any(
2    all(target_arch = "riscv32", feature = "bigint_ops"),
3    test,
4    feature = "proving"
5))]
6mod fq;
7
8#[cfg(any(
9    all(target_arch = "riscv32", feature = "bigint_ops"),
10    test,
11    feature = "proving"
12))]
13pub use self::fq::Fq;
14
15#[cfg(not(any(
16    all(target_arch = "riscv32", feature = "bigint_ops"),
17    test,
18    feature = "proving"
19)))]
20pub use ark_bn254::Fq;
21
22// Scalar field is default impl for now
23pub use ark_bn254::Fr;
24
25pub mod fq2;
26pub use self::fq2::*;
27
28pub mod fq6;
29pub use self::fq6::*;
30
31pub mod fq12;
32pub use self::fq12::*;