2022-06-30 09:42:29 +00:00
|
|
|
[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"
|
|
|
|
|
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-05 23:10:30 +00:00
|
|
|
multiexp = { path = "../multiexp", 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]
|
|
|
|
serialize = []
|
2022-07-07 13:52:10 +00:00
|
|
|
experimental = ["multiexp"]
|
2022-06-30 09:42:29 +00:00
|
|
|
secure_capacity_difference = []
|
2022-07-02 06:48:27 +00:00
|
|
|
|
2022-07-05 23:10:30 +00:00
|
|
|
# Only applies to cross_group, yet is default to ensure security
|
|
|
|
default = ["secure_capacity_difference"]
|