-
-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
Fix a crash or unbounded allocation in RSA_padding_add_PKCS1_PSS_mgf1 #2801
Fix a crash or unbounded allocation in RSA_padding_add_PKCS1_PSS_mgf1 #2801
Conversation
and RSA_verify_PKCS1_PSS_mgf1 with 512-bit RSA vs. sha-512.
41f282b
to
93e60f4
Compare
rebased. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. What branches is this for?
This is for master, I need to make an extra PRs for 1.1.0 and 1.0.2. PS: Should I squash the two commits? |
No need to squash the commits IMO. |
Applied to master. Thanks! |
and RSA_verify_PKCS1_PSS_mgf1 with 512-bit RSA vs. sha-512. Reviewed-by: Matt Caswell <[email protected]> Reviewed-by: Andy Polyakov <[email protected]> (Merged from #2801)
Reviewed-by: Matt Caswell <[email protected]> Reviewed-by: Andy Polyakov <[email protected]> (Merged from #2801)
and RSA_verify_PKCS1_PSS_mgf1 with 512-bit RSA vs. sha-512.
@guidovranken: here is how I would like to fix the pss signature functions.
I hope this makes it clear what I meant with the comments on #2699.
I have test cases but don't know how to integrate that in the test framework.
for the problem in RSA_padding_verify I need first a data block
that can be decrypted by the RSA key and clear text ends with 0xBC.