halo2_ecc/secp256k1/
mod.rs

1
2
3
4
5
6
7
8
9
10
11
12
use crate::halo2_proofs::halo2curves::secp256k1::{Fp, Fq};

use crate::ecc;
use crate::fields::fp;

pub type FpChip<'range, F> = fp::FpChip<'range, F, Fp>;
pub type FqChip<'range, F> = fp::FpChip<'range, F, Fq>;
pub type Secp256k1Chip<'chip, F> = ecc::EccChip<'chip, F, FpChip<'chip, F>>;
pub const SECP_B: u64 = 7;

#[cfg(test)]
mod tests;