Skip to content

ecdsa: remove signature verification from recovery#1381

Merged
tarcieri merged 1 commit into
masterfrom
ecdsa/remove-signature-verification-from-recovery
Jun 17, 2026
Merged

ecdsa: remove signature verification from recovery#1381
tarcieri merged 1 commit into
masterfrom
ecdsa/remove-signature-verification-from-recovery

Conversation

@tarcieri

Copy link
Copy Markdown
Member

Closes #1380, which makes an algebraic argument that the additional verification step is redundant/tautilogical because it can never fail.

This removes the VerifyingKey::recover_from_prehash_noverify method and gives VerifyingKey::recover_from_prehash its previous behavior.

Closes #1380, which makes an algebraic argument that the additional
verification step is redundant/tautilogical because it can never fail.

This removes the `VerifyingKey::recover_from_prehash_noverify` method
and gives `VerifyingKey::recover_from_prehash` its previous behavior.
@tarcieri tarcieri merged commit a08448e into master Jun 17, 2026
10 checks passed
@tarcieri tarcieri deleted the ecdsa/remove-signature-verification-from-recovery branch June 17, 2026 00:00
@tarcieri tarcieri mentioned this pull request Jul 2, 2026
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.

ecdsa: verify_prehashed in recover_from_prehash is a tautology

1 participant