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

feat: expose Commitment key fields in API #354

Conversation

jacobtrombetta
Copy link
Contributor

Rationale

The CommitmentKey fields ck, h, and tau_H are currently private. This PR exposed the fields in the API. This enables users of the Nova project to do things like use different multi-scalar multiplication implementations.

Changes

  • Implemented a new method for the CommitmentKey struct to create a new instance.
  • Implemented accessor methods for the ck, h, and tau_H fields.

@jacobtrombetta
Copy link
Contributor Author

@microsoft-github-policy-service agree company="Space and Time Labs"

@srinathsetty srinathsetty merged commit 51cd001 into microsoft:main Jan 23, 2025
7 checks passed
@jacobtrombetta jacobtrombetta deleted the feat/expose-commitmentkey-fields-in-api branch February 6, 2025 18:44
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