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

Don't drop leading zeroes when performing generic ECDSA signing #6

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

hslatman
Copy link
Member

call ret.FillBytes() instead of ret.Bytes() to preserve leading zeroes that may have been dropped when converting the digest to an integer

Cherry-picked from google#357

@CLAassistant
Copy link

CLAassistant commented Oct 10, 2024

CLA assistant check
All committers have signed the CLA.

call ret.FillBytes() instead of ret.Bytes() to preserve leading zeroes that may have been dropped when converting the digest to an integer
@hslatman hslatman force-pushed the herman/fix-ecdsa-signature-digest branch from 1932e2b to f57178e Compare October 10, 2024 14:11
@hslatman hslatman changed the title Don't drop leading zeroes when performing generic ecdsa signing (#357) Don't drop leading zeroes when performing generic ECDSA signing Oct 10, 2024
@hslatman hslatman requested a review from a team October 10, 2024 14:17
@hslatman hslatman merged commit 25310fe into surrogate Oct 10, 2024
6 checks passed
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