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 1 commit
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
Next Next commit
Add support for Sui crypto and add (unused) aggregation
functionality

remove to_vec

serialization

remove unnecessary comments
  • Loading branch information
punwai committed Jul 15, 2022
commit 8fefd8c530d624a775ad10612d5d0b7a6c949a64
123 changes: 115 additions & 8 deletions Cargo.lock

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

10 changes: 8 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 = "0.12.3"
sha3 = "0.10.1"
serde_with = "1.14.0"
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,7 +36,6 @@ 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" }

[[bench]]
Expand All @@ -42,7 +47,8 @@ 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"
Expand Down
Loading