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

Curve lib #86

Closed
wants to merge 8 commits into from
Closed

Curve lib #86

wants to merge 8 commits into from

Conversation

kayabaNerve
Copy link
Member

@kayabaNerve kayabaNerve commented Aug 14, 2022

Provides common sugar between DLEq and FROST. Quirks the API a bit, while resolving it in other ways at the same time.

I'd like to bring #83 under this to fully validate it before merging, yet wanted this open now.

Closes #84.

TODO:

  • HashToCurve usage in frost
  • Move Curve's serialize to std, enabling nostd like DLEq

@kayabaNerve kayabaNerve added feature New feature or request improvement This could be better cryptography An issue involving cryptography/a cryptographic library labels Aug 14, 2022
Makes it not infest the callstack while simultaneously not notably 
affecting callers.
Makes curve no_std
@kayabaNerve
Copy link
Member Author

I'm not exceptionally happy with this PR. Merging in FROST should be possible, though merging in DLEq doesn't look like it. The Curve lib also makes Rust lose focus on types occasionally. Not really as good as I wanted it to be... But probably still worth it overall.

@kayabaNerve
Copy link
Member Author

Additional note the read_G bans identity. That's a FROST rule, not a curve-intended rule.

@kayabaNerve kayabaNerve deleted the curve branch October 29, 2022 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cryptography An issue involving cryptography/a cryptographic library feature New feature or request improvement This could be better
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Curve crate
1 participant