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: constant-time Kronecker delta #4

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

AaronFeickert
Copy link
Collaborator

As noted in the documentation, the implementation does not make any particular guarantees about proving operations being constant time with respect to witness index values. This PR takes a step forward by using subtle to make the Kronecker delta run in constant time.

@AaronFeickert AaronFeickert merged commit 668288f into tari-project:main Jan 5, 2024
5 checks passed
@AaronFeickert AaronFeickert deleted the ct-delta branch January 5, 2024 21:35
AaronFeickert added a commit that referenced this pull request Jan 5, 2024
Recent work in #9 adds an optional `std` feature that enables this feature in dependencies. This was not enabled with the change in #4 that adds the `subtle` dependency.

This PR updates the feature accordingly.
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.

1 participant