forked from privacy-scaling-explorations/halo2
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Determine max endoscaling bitstring based on curve used
- Since MAX_BITSTRING_LENGTH is determined entirely by the curve used (and is specified by the curve's CurveEndoscale trait) it can be removed as a generic of EndoscaleChip - Previously, MAX_BITSTRING_LENGTH was hard-coded to 248 during instantiation instead of relying on the curve's constant (this was likely due to a limitation of the Rust compiler that disallows using constant expressions as const generics). This is now fixed. - We update comments and instantiations to use this new API
- Loading branch information
1 parent
f1e7289
commit 17b27f2
Showing
5 changed files
with
26 additions
and
28 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
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