-
Notifications
You must be signed in to change notification settings - Fork 7
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
Zcash FROST keygen / sign #65
Conversation
Co-authored-by: shekohex <[email protected]>
e4fe57f
to
0369386
Compare
OK I updated the README here too @tbraun96, still stuck on same issue w/ message ordering |
…gadget into drew/zcashfrost
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 so far! Aside from merge conflicts, which should be resolved soon after my #499 PR.
/// Message from round 1 | ||
#[derive(Clone, Serialize, Deserialize, udigest::Digestable)] | ||
#[serde(bound = "")] | ||
#[udigest(bound = "")] | ||
#[udigest(tag = "zcash.frost.keygen.threshold.round1")] | ||
pub struct MsgRound1 { | ||
pub msg: Vec<u8>, | ||
} | ||
/// Message from round 2 | ||
#[derive(Clone, Serialize, Deserialize, udigest::Digestable)] | ||
#[serde(bound = "")] | ||
#[udigest(bound = "")] | ||
#[udigest(tag = "zcash.frost.keygen.threshold.round2")] | ||
pub struct MsgRound2 { | ||
pub msg: Vec<u8>, | ||
} | ||
/// Message from round 3 | ||
#[derive(Clone, Serialize, Deserialize)] | ||
#[serde(bound = "")] | ||
pub struct MsgRound3 { | ||
pub msg: Vec<u8>, | ||
} | ||
|
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.
We should start thinking about moving away from vec and start using actual message structure here.
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.
Yes, we'll need to generalize over the C: CipherSuite
which unfortunately was causing me issues sharing between threads.
…into drew/zcashfrost
Co-authored-by: shekohex <[email protected]>
Co-authored-by: shekohex <[email protected]>
No description provided.