mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-23 12:09:37 +00:00
5ede5b9e8f
The two-generator limit wasn't required nor beneficial. This does theoretically optimize FROST, yet not for any current constructions. A follow up proof which would optimize current constructions has been noted in #38. Adds explicit no_std support to the core DLEq proof. Closes #34.
39 lines
986 B
TOML
39 lines
986 B
TOML
[package]
|
|
name = "dleq-serai"
|
|
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"
|
|
|
|
digest = "0.10"
|
|
|
|
transcript = { package = "flexible-transcript", path = "../transcript", version = "0.1" }
|
|
|
|
ff = "0.12"
|
|
group = "0.12"
|
|
|
|
multiexp = { path = "../multiexp", version = "0.2", features = ["batch"], optional = true }
|
|
|
|
[dev-dependencies]
|
|
hex-literal = "0.3"
|
|
|
|
blake2 = "0.10"
|
|
|
|
k256 = { version = "0.11", features = ["arithmetic", "bits"] }
|
|
dalek-ff-group = { path = "../dalek-ff-group" }
|
|
|
|
transcript = { package = "flexible-transcript", path = "../transcript", features = ["recommended"] }
|
|
|
|
[features]
|
|
std = []
|
|
serialize = ["std"]
|
|
experimental = ["std", "multiexp"]
|
|
secure_capacity_difference = []
|
|
|
|
# Only applies to experimental, yet is default to ensure security
|
|
default = ["secure_capacity_difference"]
|