Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add hex, endian, multi-exp and hash methods #107

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mikelodder7
Copy link

@mikelodder7 mikelodder7 commented May 31, 2023

This PR implements the elliptic-curve interfaces for hash to curve and removes the code duplication that existed from the hash_to_curve folder. This required updating the MRV to 1.66. Currently can't implement all of the elliptic-curve/hash2curve traits but most of them are.

  • Added are endianess for hex and bytes.
  • Removed the alloc requirement for pairing
  • implemented LowerHex and UpperHex
  • Makes ZERO and ONE to match RustCrypto crates like k256 and p256

@mikelodder7
Copy link
Author

Side note: with this PR and one more to come then I can remove the need for the bls12_381_plus fork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant