mirror of
https://github.com/pseXperiments/icicle.git
synced 2026-01-07 22:53:56 -05:00
This PR adds support for poseidon2 permutation function as described in https://eprint.iacr.org/2023/323.pdf Reference implementations used (and compared against): https://github.com/HorizenLabs/poseidon2/tree/main https://github.com/Plonky3/Plonky3/tree/main Tasks: - [x] Remove commented code and prints - [ ] Add doc-comments to functions and structs - [x] Fix possible issue with Plonky3 imports - [x] Update NTT/Plonky3 test - [x] Add Plonky3-bn254 test (impossible)
34 lines
725 B
TOML
34 lines
725 B
TOML
[package]
|
|
name = "icicle-core"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
authors.workspace = true
|
|
description = "A library for GPU ZK acceleration by Ingonyama"
|
|
homepage.workspace = true
|
|
repository.workspace = true
|
|
|
|
|
|
[dependencies]
|
|
|
|
icicle-cuda-runtime = { workspace = true }
|
|
ark-ff = { version = "0.4.0", optional = true }
|
|
ark-ec = { version = "0.4.0", optional = true, features = ["parallel"] }
|
|
ark-poly = { version = "0.4.0", optional = true }
|
|
ark-std = { version = "0.4.0", optional = true }
|
|
|
|
rayon = "1.8.1"
|
|
hex = "0.4"
|
|
criterion = "0.3"
|
|
|
|
[dev-dependencies]
|
|
criterion = "0.3"
|
|
serial_test = "3.0.0"
|
|
|
|
|
|
[features]
|
|
default = []
|
|
arkworks = ["ark-ff", "ark-ec", "ark-poly", "ark-std"]
|
|
g2 = []
|
|
ec_ntt = []
|
|
devmode = []
|