Skip to content

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

Open
mikelodder7 wants to merge 1 commit into
zkcrypto:mainfrom
cryptidtech:main
Open

add hex, endian, multi-exp and hash methods#107
mikelodder7 wants to merge 1 commit into
zkcrypto:mainfrom
cryptidtech:main

Conversation

@mikelodder7

@mikelodder7 mikelodder7 commented May 31, 2023

Copy link
Copy Markdown

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
Copy Markdown
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