forked from zkcrypto/bls12_381
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Refactor sqrt,inv functions and update Cargo.toml for zkvm
- Modified the `Cargo.toml` file to restrict `sphinx-zkvm` dependency to a `zkvm` target OS context, mitigating potential circular dependency issues - Removed `zkvm` from the feature flags in the `Cargo.toml` file - Introduced a `sqrt_impl` macro in `src/fp2.rs` to refactor the square root calculations in `sqrt` method - Did the same with a inv_impl for the inverse
- Loading branch information
1 parent
8464a4e
commit c5e40f9
Showing
4 changed files
with
136 additions
and
145 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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