Skip to content

Commit 1d636b3

Browse files
authored
perf: migrate vsss from k256 to arkworks (#54)
- port the verifiable secret sharing implementation onto arkworks - `cac::tests::test_full_flow` runtime dropped 1.591s -> 0.162s (~9.8x faster) - move bitcoin staff into tests-only
1 parent 2ff073e commit 1d636b3

File tree

5 files changed

+253
-184
lines changed

5 files changed

+253
-184
lines changed

Cargo.lock

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ thiserror = "2.0.12"
5151
serde_json = "1.0"
5252
serde = { version = "1.0.225", features = ["derive"] }
5353
ark-serialize = "0.5.0"
54+
ark-secp256k1 = "0.5.0"
5455

5556
bitcoin = { version = "0.32.7", features = ["rand", "rand-std"] }
56-
k256 = "0.13.4"
5757
sha2 = "0.10.9"
5858

5959
[dev-dependencies]
@@ -63,6 +63,7 @@ serde_json = "1.0"
6363
test-log = { version = "0.2.8", default-features = false, features = ["trace"] }
6464
bitcoin-script = { git = "https://github.com/BitVM/rust-bitcoin-script" }
6565
bitvm = { git = "https://github.com/BitVM/BitVM", branch = "main" }
66+
k256 = "0.13.4"
6667

6768
# Install Git hooks via cargo-husky
6869
[dev-dependencies.cargo-husky]

0 commit comments

Comments
 (0)