mirror of
https://github.com/serai-dex/serai.git
synced 2024-11-17 01:17:36 +00:00
7890827a48
Closes https://github.com/serai-dex/serai/issues/17 by using the PrimeFieldBits API to do so. Should greatly speed up small batches, along with batches in the hundreds. Saves almost a full second on the cross-group DLEq proof.
31 lines
790 B
TOML
31 lines
790 B
TOML
[package]
|
|
name = "dleq"
|
|
version = "0.1.0"
|
|
description = "Implementation of single and cross-curve Discrete Log Equality proofs"
|
|
license = "MIT"
|
|
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
thiserror = "1"
|
|
rand_core = "0.6"
|
|
|
|
transcript = { package = "flexible-transcript", path = "../transcript", version = "0.1" }
|
|
|
|
ff = "0.12"
|
|
group = "0.12"
|
|
|
|
multiexp = { path = "../multiexp" }
|
|
|
|
[dev-dependencies]
|
|
hex-literal = "0.3"
|
|
k256 = { version = "0.11", features = ["arithmetic", "bits"] }
|
|
dalek-ff-group = { path = "../dalek-ff-group" }
|
|
|
|
transcript = { package = "flexible-transcript", path = "../transcript", features = ["recommended"] }
|
|
|
|
[features]
|
|
serialize = []
|
|
cross_group = []
|
|
secure_capacity_difference = []
|
|
default = ["secure_capacity_difference"]
|