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

Stabilize the PRF we use for internal purposes #266

Closed
cjpatton opened this issue Apr 7, 2023 · 0 comments · Fixed by #390
Closed

Stabilize the PRF we use for internal purposes #266

cjpatton opened this issue Apr 7, 2023 · 0 comments · Fixed by #390
Assignees

Comments

@cjpatton
Copy link
Contributor

cjpatton commented Apr 7, 2023

We use a PRF for a couple of internal functions:

  1. Map a report to a shard of the ReportsPending and ReportsProcessed DOs
  2. draft02: Generate collection job IDs

We are currently using PrgAes128 for this purpose, which is deprecated as of VDAF-05. As of #259 we will use PrgSha3, which is the new default as of VDAF-05. This is a breaking change, since the generated values will change. In fact, PrgSha3is likely to change in backwards incompatible ways in future drafts: see cfrg/draft-irtf-cfrg-vdaf#209.

In order to reduce the number of crypto dependencies, we were hoping to reuse something that we already need for VDAF. But since this is still a moving target, we ought to consider using something like HMAC-SHA256.

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 a pull request may close this issue.

1 participant