halo2_ecc/secp256k1/
mod.rs

1use crate::halo2_proofs::halo2curves::secp256k1::{Fp, Fq};
2
3use crate::ecc;
4use crate::fields::fp;
5
6pub type FpChip<'range, F> = fp::FpChip<'range, F, Fp>;
7pub type FqChip<'range, F> = fp::FpChip<'range, F, Fq>;
8pub type Secp256k1Chip<'chip, F> = ecc::EccChip<'chip, F, FpChip<'chip, F>>;
9pub const SECP_B: u64 = 7;
10
11#[cfg(test)]
12mod tests;