2022-04-22 01:36:18 +00:00
|
|
|
[package]
|
2022-06-19 09:21:22 +00:00
|
|
|
name = "modular-frost"
|
2022-07-12 07:38:59 +00:00
|
|
|
version = "0.2.0"
|
2022-06-19 09:21:22 +00:00
|
|
|
description = "Modular implementation of FROST over ff/group"
|
2022-04-22 01:36:18 +00:00
|
|
|
license = "MIT"
|
2022-06-19 09:21:22 +00:00
|
|
|
repository = "https://github.com/serai-dex/serai"
|
2022-05-03 11:20:24 +00:00
|
|
|
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
2022-06-19 09:21:22 +00:00
|
|
|
keywords = ["frost", "multisig", "threshold"]
|
2022-04-22 01:36:18 +00:00
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
[dependencies]
|
2022-05-03 11:20:24 +00:00
|
|
|
thiserror = "1"
|
2022-04-22 01:36:18 +00:00
|
|
|
|
|
|
|
rand_core = "0.6"
|
2022-06-03 05:25:46 +00:00
|
|
|
hex = "0.4"
|
2022-04-22 01:36:18 +00:00
|
|
|
|
2022-06-05 20:08:51 +00:00
|
|
|
sha2 = { version = "0.10", optional = true }
|
2022-06-06 06:18:25 +00:00
|
|
|
|
2022-06-30 13:30:24 +00:00
|
|
|
ff = "0.12"
|
2022-06-06 06:18:25 +00:00
|
|
|
group = "0.12"
|
|
|
|
|
|
|
|
elliptic-curve = { version = "0.12", features = ["hash2curve"], optional = true }
|
2022-06-30 13:30:24 +00:00
|
|
|
p256 = { version = "0.11", features = ["arithmetic", "bits", "hash2curve"], optional = true }
|
|
|
|
k256 = { version = "0.11", features = ["arithmetic", "bits", "hash2curve"], optional = true }
|
2022-06-19 10:38:06 +00:00
|
|
|
dalek-ff-group = { path = "../dalek-ff-group", version = "0.1", optional = true }
|
2022-06-05 20:08:51 +00:00
|
|
|
|
2022-06-27 13:02:21 +00:00
|
|
|
transcript = { package = "flexible-transcript", path = "../transcript", version = "0.1" }
|
2022-04-22 01:36:18 +00:00
|
|
|
|
2022-07-12 07:38:59 +00:00
|
|
|
multiexp = { path = "../multiexp", version = "0.2", features = ["batch"] }
|
2022-05-03 11:42:09 +00:00
|
|
|
|
2022-07-12 07:38:59 +00:00
|
|
|
dleq = { package = "dleq-serai", path = "../dleq", version = "0.1", features = ["serialize"] }
|
2022-07-12 05:28:01 +00:00
|
|
|
|
2022-04-22 01:36:18 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
rand = "0.8"
|
2022-06-06 06:18:25 +00:00
|
|
|
|
2022-04-23 07:49:30 +00:00
|
|
|
sha2 = "0.10"
|
2022-06-06 08:22:49 +00:00
|
|
|
dalek-ff-group = { path = "../dalek-ff-group" }
|
2022-06-05 20:08:51 +00:00
|
|
|
|
|
|
|
[features]
|
2022-06-06 08:22:49 +00:00
|
|
|
curves = ["sha2"] # All officially denoted curves use the SHA2 family of hashes
|
|
|
|
kp256 = ["elliptic-curve", "curves"]
|
2022-06-24 12:44:12 +00:00
|
|
|
p256 = ["kp256", "dep:p256"]
|
|
|
|
secp256k1 = ["kp256", "k256"]
|
2022-06-06 08:22:49 +00:00
|
|
|
dalek = ["curves", "dalek-ff-group"]
|
|
|
|
ed25519 = ["dalek"]
|
|
|
|
ristretto = ["dalek"]
|