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

Add shares of curve points in circuit #14

Merged
merged 3 commits into from
Dec 11, 2023
Merged

Conversation

mzacho
Copy link
Owner

@mzacho mzacho commented Dec 4, 2023

Main thing is changing Shares to

pub enum Shares {
    Nat(NatShares),
    Point(PointShares),
}

where NatShares is the old struct

pub struct NatShares {
    pub x: Nat,
    pub y: Nat,
    pub m: NonZero<Nat>,
}

and PointShares is the struct

pub struct PointShares {
    pub x: Point,
    pub y: Point,
}

@mzacho mzacho changed the base branch from main to ecdsa-1 December 4, 2023 16:20
Copy link
Collaborator

@arcuo arcuo left a comment

Choose a reason for hiding this comment

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

lit

@Mactherobot Mactherobot merged commit 504382d into ecdsa-1 Dec 11, 2023
1 check passed
@Mactherobot Mactherobot deleted the curve-shares-in-circuit branch December 11, 2023 08:45
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.

3 participants