Skip to main content

bench_goldilocks_poseidon2/
lib.rs

1//! Shared no_std Goldilocks + Poseidon2-WIDTH8 implementation used
2//! across the mini-verifier / goldilocks-mul / poseidon2-perm STARK
3//! benches. See per-module docs for algorithm details.
4
5#![no_std]
6
7mod field;
8mod poseidon2;
9
10pub use field::{add, canonical, double, inv, mul, pow, square, sub, ONE, P, ZERO};
11pub use poseidon2::{permute, WIDTH};