MCPcopy Create free account
hub / github.com/ddkang/zkml / PoseidonCommitChip

Class PoseidonCommitChip

src/commitments/poseidon_commit.rs:23–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21#[derive(Clone, Debug)]
22
23pub struct PoseidonCommitChip<
24 F: PrimeField + Ord + FromUniformBytes<64>,
25 const WIDTH: usize,
26 const RATE: usize,
27 const L: usize,
28> {
29 pub poseidon_config: Pow5Config<F, WIDTH, RATE>,
30}
31
32#[derive(Debug)]
33pub struct P128Pow5T3Gen<F: PrimeField, const SECURE_MDS: usize>(PhantomData<F>);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected