-
Notifications
You must be signed in to change notification settings - Fork 157
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
Implement verify-only PSS PaddingScheme #173
Conversation
Instead of introducing a Its only use is to pass it to Really it'd be nice to implement the traits from the |
@tarcieri done |
gracious ping |
The passed rng is not necessary for PSS signature verification. Instead of passing artificial unused RNG through the PaddingScheme, add new sign_with_rng() API and pass rng directly. In the sign_blinded() use the passed rng both for salt generation and for the blinding process. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Refreshed to remove conflict. |
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.
Looks a lot better!
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 thanks
@tarcieri could this be included in the upcoming 0.7.0 release? It would save me a dependency and make it clearer what is going on in my code. |
Yep, that's the plan |
Great! I look forward to testing 0.7.0-pre2😁 |
A fix for #172 , implementation of verify-only PSS padding schema