Skip to content

Conversation

tomato42
Copy link
Member

@tomato42 tomato42 commented Apr 1, 2022

Since explicit curve parameters may not use prime numbers as the field
(see CVE-2022-0778), make sure that our square_root_mod_prime()
handles non-prime p gracefully

@tomato42 tomato42 added the bug unintended behaviour in ecdsa code label Apr 1, 2022
@tomato42 tomato42 added this to the v0.18.0 milestone Apr 1, 2022
@tomato42 tomato42 self-assigned this Apr 1, 2022
Since explicit curve parameters may not use prime numbers as the field
(see CVE-2022-0778), make sure that our square_root_mod_prime()
handles non-prime p gracefully
@tomato42 tomato42 force-pushed the invalid-curve-params branch from 29149da to 6c61180 Compare April 1, 2022 18:30
Copy link

@beldmit beldmit left a comment

Choose a reason for hiding this comment

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

LGTM

@tomato42 tomato42 merged commit f18c6d8 into master Apr 2, 2022
@tomato42 tomato42 deleted the invalid-curve-params branch April 2, 2022 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug unintended behaviour in ecdsa code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants