Skip to content

Conversation

@lucia-w
Copy link
Contributor

@lucia-w lucia-w commented Nov 5, 2025

  • Replace hardcoded DigestLength
  • Add hash length validation

@lucia-w lucia-w changed the title Fixed parameter naming and validation consistency in the Sign function Fix: parameter naming and validation consistency in the Sign function Nov 5, 2025
@lucia-w lucia-w changed the title Fix: parameter naming and validation consistency in the Sign function common: parameter naming and validation consistency in the Sign function Nov 6, 2025
@gballet gballet changed the title common: parameter naming and validation consistency in the Sign function crypto: validate hash length in Sign Nov 8, 2025
@gballet gballet added this to the 1.16.8 milestone Nov 8, 2025
@gballet gballet changed the title crypto: validate hash length in Sign crypto: validate hash length in no cgo Sign Nov 8, 2025
@gballet gballet merged commit ebc7dc9 into ethereum:master Nov 8, 2025
14 of 19 checks passed
Copy link

@fdtwd8vv45-sketch fdtwd8vv45-sketch left a comment

Choose a reason for hiding this comment

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

Try

@fjl fjl changed the title crypto: validate hash length in no cgo Sign crypto: validate hash length in nocgo Sign Nov 11, 2025
wit765 added a commit to wit765/XDPoSChain that referenced this pull request Nov 13, 2025
AnilChinchawale pushed a commit to XinFinOrg/XDPoSChain that referenced this pull request Nov 14, 2025
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