Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

crypto: Add Sui + Aggregation support #460

Merged
merged 25 commits into from
Jul 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
142 changes: 134 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 10 additions & 2 deletions crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,21 @@ edition = "2021"
publish = false

[dependencies]
anyhow = { version = "1.0.58", features = ["backtrace"] }
base64ct = { version = "1.5.1", features = ["alloc"] }
ed25519-dalek = { version = "1.0.1", features = ["batch", "serde"] }
eyre = "0.6.8"
hex = "0.4.3"
rand = { version = "0.7.3", features = ["std"] }
serde = { version = "1.0.139", features = ["derive"] }
zeroize = "1.5.6"
signature = "1.5.0"
tokio = { version = "1.19.2", features = ["sync", "rt", "macros"] }
ark-bls12-377 = { version = "0.3.0", features = ["std"], optional = true }
hkdf = { version = "0.12.3", features = ["std"] }
serde_with = "1.14.0"
serde_json = "1.0.80"
schemars ="0.8.10"

# TODO: switch to https://github.com/celo-org/celo-bls-snark-rs
# when https://github.com/celo-org/celo-bls-snark-rs/issues/228 is solved
Expand All @@ -30,8 +36,8 @@ blst = "0.3.10"
once_cell = "1.13.0"
readonly = "0.2.1"
serde_bytes = "0.11.6"
serde_with = { version = "1.14.0", optional = true }
punwai marked this conversation as resolved.
Show resolved Hide resolved
workspace-hack = { version = "0.1", path = "../workspace-hack" }
digest = "0.10.3"

[[bench]]
name = "crypto"
Expand All @@ -42,8 +48,10 @@ harness = false

[features]
default = []
celo = ["ark-ec", "ark-ff", "ark-serialize", "ark-bls12-377", "ark-std", "serde_with", "celo-bls"]
celo = ["ark-ec", "ark-ff", "ark-serialize", "ark-bls12-377", "ark-std", "celo-bls"]
copy_key = []
punwai marked this conversation as resolved.
Show resolved Hide resolved

[dev-dependencies]
bincode = "1.3.3"
criterion = "0.3.5"
sha3 = "0.10.1"
Loading