Skip to content

Deduplicate SupportsSHAKE#82

Merged
qmuntal merged 2 commits intomainfrom
shakesup
Jan 9, 2025
Merged

Deduplicate SupportsSHAKE#82
qmuntal merged 2 commits intomainfrom
shakesup

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.

Copy link
Contributor

Copilot AI left a comment

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.

4 participants