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

Enable Ristretto255 for OPRFs. #322

Merged
merged 1 commit into from
Mar 7, 2022
Merged

Conversation

armfazh
Copy link
Contributor

@armfazh armfazh commented Mar 4, 2022

oprf.SuiteR255 represents the OPRF with Ristretto255 and SHA-512.

@armfazh armfazh added the new feature New functionality or module label Mar 4, 2022
@armfazh armfazh self-assigned this Mar 4, 2022
@@ -97,16 +97,24 @@ func (g ristrettoGroup) HashToElementNonUniform(b, dst []byte) Element {
return g.HashToElement(b, dst)
}
func (g ristrettoGroup) HashToElement(msg, dst []byte) Element {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To double-check: there are no existing users of Ristretto255 that we're breaking now?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With this PR, oprf is the only package in CIRCL that uses ristretto
hard to tell with other external packages.

@armfazh armfazh merged commit 785fc97 into cloudflare:master Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New functionality or module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants