2022-06-30 09:42:29 +00:00
|
|
|
[package]
|
2022-07-12 07:38:59 +00:00
|
|
|
name = "dleq-serai"
|
2022-06-30 09:42:29 +00:00
|
|
|
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"
|
|
|
|
|
2022-07-02 06:46:40 +00:00
|
|
|
digest = "0.10"
|
|
|
|
|
2022-06-30 13:30:24 +00:00
|
|
|
transcript = { package = "flexible-transcript", path = "../transcript", version = "0.1" }
|
|
|
|
|
2022-06-30 09:42:29 +00:00
|
|
|
ff = "0.12"
|
|
|
|
group = "0.12"
|
|
|
|
|
2022-07-12 07:42:45 +00:00
|
|
|
multiexp = { path = "../multiexp", version = "0.2", features = ["batch"], optional = true }
|
2022-06-30 09:42:29 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
hex-literal = "0.3"
|
2022-07-02 06:46:40 +00:00
|
|
|
|
|
|
|
blake2 = "0.10"
|
|
|
|
|
2022-06-30 09:42:29 +00:00
|
|
|
k256 = { version = "0.11", features = ["arithmetic", "bits"] }
|
|
|
|
dalek-ff-group = { path = "../dalek-ff-group" }
|
|
|
|
|
|
|
|
transcript = { package = "flexible-transcript", path = "../transcript", features = ["recommended"] }
|
|
|
|
|
|
|
|
[features]
|
2022-07-14 03:29:48 +00:00
|
|
|
std = []
|
|
|
|
serialize = ["std"]
|
|
|
|
experimental = ["std", "multiexp"]
|
2022-06-30 09:42:29 +00:00
|
|
|
secure_capacity_difference = []
|
2022-07-02 06:48:27 +00:00
|
|
|
|
2022-07-14 03:29:48 +00:00
|
|
|
# Only applies to experimental, yet is default to ensure security
|
2022-07-05 23:10:30 +00:00
|
|
|
default = ["secure_capacity_difference"]
|