-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
General improvements #65
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Did you want to take this out of draft mode?
I only left it in draft mode because I planned to add more stuff until I finish facebook/opaque-ke#268. I can take it out if you prefer, feel free to merge it if you want it out of the way too. |
It should be fine to leave this in draft for now, then. Thanks for the clarification! |
(@daxpedda: Update from my previous comment: I will be happy to push out the next version once this PR is landed, so feel free to take it out of draft mode if you think it is ready for re-review + merge) |
Just some improvements that came to mind while I was working on opaque-ke:
util
tocommon
, as instead of utility functions this now contains a lot of common functionality between the OPRF modes.hash_to_scalar
andhash_to_group
to only what's needed, now that we don't pass inMode
anymore.DeriveKeyPair
is thrown away in the OPRF mode, so I split the function up to not unnecessary generate a public key, improving the performance a bit.Ristretto255
implementations.