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

Deduplicate SupportsSHAKE #82

Merged
merged 2 commits into from
Jan 9, 2025
Merged

Deduplicate SupportsSHAKE #82

merged 2 commits into from
Jan 9, 2025

Conversation

qmuntal
Copy link
Member

@qmuntal qmuntal commented Jan 8, 2025

This PR consolidates SupportsSHAKE128 and SupportsSHAKE256 into a single function SupportsSHAKE. It also documents that it can be used to prove for CSHAKE support.

Choose a reason for hiding this comment

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

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (1)

cng/sha3_test.go:176

  • [nitpick] The test names inside the function should be updated to 'SHAKE128' and 'SHAKE256' instead of 'CSHAKE128' and 'CSHAKE256' for consistency.
func TestSHAKESum(t *testing.T) {

Tip: If you use Visual Studio Code, you can request a review from Copilot before you push from the "Source Control" tab. Learn more

@qmuntal qmuntal merged commit 0e4a51c into main Jan 9, 2025
19 checks passed
@qmuntal qmuntal deleted the shakesup branch January 9, 2025 14:41
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