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

implements minimized round2 version #79

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

hughy
Copy link
Contributor

@hughy hughy commented Sep 11, 2024

round2_min follows the example of round3_min and inputs/outputs the minimal amount of data to support dkg

takes as input:

  • a participant secret
  • a vector of byte arrays, one for each participant identity (excluding the self identity)
  • a byte array containing the encrypted round1 secret package
  • a vector of round1 frost public packages, one for each participant (excluding the user's own public package)
  • an rng

round2_min returns the encrypted round2 secret package and a vector of round2 frost public packages. it does NOT create a CombinedPublicPackage or ironfish PublicPackages from the frost public packages. the user can create these separately (e.g., on the host machine instead of a ledger device) before distributing the packages.

the vector of round2 public packages is returned in order of the participants passed in: round2_frost_packages[i] is intended for participant[i]

round2_min follows the example of round3_min and inputs/outputs the minimal
amount of data to support dkg

takes as input:
- a participant secret
- a vector of byte arrays, one for each participant identity (excluding the self
  identity)
- a byte array containing the encrypted round1 secret package
- a vector of round1 frost public packages, one for each participant (excluding
  the user's own public package)
- an rng

round2_min returns the encrypted round2 secret package and a vector of round2
frost public packages. it does NOT create a CombinedPublicPackage or ironfish
PublicPackages from the frost public packages. the user can create these
separately (e.g., on the host machine instead of a ledger device) before
distributing the packages.

the vector of round2 public packages is returned in order of the participants
passed in: round2_frost_packages[i] is intended for participant[i]
@hughy hughy merged commit f78a8ec into feat/hughy/round3-min Sep 11, 2024
2 checks passed
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 this pull request may close these issues.

2 participants