-
Notifications
You must be signed in to change notification settings - Fork 191
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
ExpandMsg
improvements
#874
ExpandMsg
improvements
#874
Conversation
6e1411a
to
4b2cd27
Compare
So should we make |
Some outstanding issues:
We can merge this and make separate PR's for each or handle it here. Are there any other unresolved questions @tarcieri @mikelodder7? |
This is going to be a pretty big effort and needs to happen in a coordinated way across not only I did the first step of cutting a new |
That's alright, we will do this later then. The remaining issue is |
Isn't Are there valid use cases (interop?) for hash-to-scalar that make it a better choice than the existing |
Implementing VOPRF requires calling |
Okay, well if it's needed for interop I'd be fine with a public |
Also VOPRF seems like the sort of thing that probably belongs in the respective RustCrypto/elliptic-curves crates? |
Sounds good to me.
Yes, we just need a trait we can be generic over. |
|
Well I have to name it something 😄. Preferable I would like to stick with |
Dalek uses the name hash_from_bytes. That could work. |
And that's what's already provided by these methods on |
I left the comment to explain why this can't fail nonetheless.
I agree with @tarcieri, it's not the same, and already provided. |
Yep that's just fine the way it is |
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 now!
@mikelodder7 WDYT?
I'm a bit busy with something else right now, still adding the other test vectors. But feel free to merge if you like to. |
Not in a hurry. Feel free to push some more changes. |
I think it works for now once all the checks are cleared. Some minor nits that I can make after this merge. |
24ee6d9
to
0eddcde
Compare
This is good to go. It seems I am out of my depth when it comes to how to implement |
b998fc4
to
b0a2805
Compare
b0a2805
to
17a6389
Compare
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!
Follow-up for #400.