Skip to content

Commit 8d25e98

Browse files
committed
feat: integrate blsful implementation and refactor tbls module
- Added `thiserror` dependency for improved error handling. - Introduced `blsful` module for TBLS implementation. - Refactored `tbls` module to utilize new types and error handling. - Created `tblsconv` module for type conversions between byte slices and cryptographic types. - Removed the old `herumi` implementation and replaced it with the new `blsful` based implementation. - Added utility functions for key and signature conversions. - Updated types and error definitions for better clarity and consistency.
1 parent aec8691 commit 8d25e98

9 files changed

Lines changed: 2079 additions & 1389 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ chrono = { version = "0.4", features = ["serde"] }
3636
rand = "0.9"
3737
blsful = "2.5.7"
3838
rand_core = "0.9.3"
39+
thiserror = "2.0.12"
3940

4041
[workspace.lints.clippy]
4142
arithmetic_side_effects = "deny"

crates/charon-crypto/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ rand.workspace = true
1111
blsful.workspace = true
1212
rand_core.workspace = true
1313
serde.workspace = true
14+
thiserror.workspace = true
1415

1516
[lints]
1617
workspace = true

0 commit comments

Comments
 (0)