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

Breakdown key simplification cleanups #725

Merged

Conversation

martinthomson
Copy link
Member

@benjaminsavage, this might help. I've added a couple of tweaks (see #724) above yours as well, because I'll be needing those.

Copy link
Member Author

@martinthomson martinthomson left a comment

Choose a reason for hiding this comment

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

Most of this is import cleanups, but I've noted the increments over #725

@@ -322,80 +319,6 @@ where
}
}

pub struct IPAModulusConvertedInputRow<F: Field, T: LinearSecretSharing<F>> {
Copy link
Member Author

Choose a reason for hiding this comment

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

Dead code removal!

Copy link
Collaborator

Choose a reason for hiding this comment

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

Awesome :)

.map(|(match_key, breakdown_key)| {
BinarySharedIPAInputs::new(match_key.clone(), breakdown_key.clone())
})
let binary_shared_values = zip(upgraded_gf2_match_key_bits, upgraded_gf2_breakdown_key_bits)
Copy link
Member Author

Choose a reason for hiding this comment

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

Simplifications here.

@martinthomson martinthomson merged commit 255e318 into private-attribution:breakdown_key Jun 30, 2023
@martinthomson martinthomson deleted the cleanup-bk branch June 30, 2023 05:14
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