-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
194: Fix checks on curve parameters r=jethrogb a=zugzwang On instantiating a curve by parameters, the code checks that all field elements are non-zero in 𝔽ₚ. This is not necessary, and forbids useful curves such as e.g. the Barreto-Naehrig pairing-friendly curves, of the form y² = x³ + 257 (e.g. `a = 0`), and secp256k1 (used in Bitcoin, but can be instantiated by name). Co-authored-by: Francisco Vial-Prado <[email protected]>
- Loading branch information
Showing
2 changed files
with
165 additions
and
5 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