-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Splitting to Multiple files and Optimizing (#43)
* major changes * moving to non struct functions * moving verification functions to separate file, cleanup, optimize * more optimizations * bench code changes * cleanup * cargo fmt * moving to workspaces, splitting tests, other things * cargo fmt * clippy fixes * some version updates * fixing tests * moving to prover and verifier crates * removing duplicate functions * moving process_chunks * unused deps * fixing crate name * fixing package names --------- Co-authored-by: anupsv <[email protected]>
- Loading branch information
Showing
44 changed files
with
1,727 additions
and
1,670 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[package] | ||
name = "rust-kzg-bn254-primitives" | ||
version = "0.1.0" | ||
edition.workspace = true | ||
repository.workspace = true | ||
license-file.workspace = true | ||
|
||
[dependencies] | ||
ark-bn254 = "0.5.0" | ||
ark-ec = { version = "0.5.0", features = ["parallel"] } | ||
ark-ff = { version = "0.5.0", features = ["parallel"] } | ||
ark-serialize = "0.5.0" | ||
ark-std = { version = "0.5.0", features = ["parallel"] } | ||
ark-poly = { version = "0.5.0", features = ["parallel"] } | ||
sha2 = "0.10.8" | ||
num-traits = "0.2" | ||
thiserror = "2.0.11" | ||
|
||
[dev-dependencies] | ||
rand = "0.8.5" | ||
|
||
[[test]] | ||
name = "blob" | ||
path = "tests/blob_test.rs" | ||
|
||
[[test]] | ||
name = "polynomial" | ||
path = "tests/polynomial_test.rs" | ||
|
||
[[test]] | ||
name = "helpers" | ||
path = "tests/helpers_test.rs" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# rust-kzg-bn254-primitives | ||
|
||
[](https://crates.io/crates/rust-kzg-bn254-primitives) | ||
|
||
This library offers primitive set of structures and functions for generating and interacting with bn254 KZG commitments and proofs in rust. | ||
|
||
## Warning & Disclaimer | ||
|
||
This code is unaudited and under construction. This is experimental software and is provided on an "as is" and "as available" basis and may not work at all. It should not be used in production. |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.