-
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
PSS signature verification should not require rng #172
Comments
lumag
added a commit
to lumag/RSA
that referenced
this issue
Jul 31, 2022
…ypto#172) If the software is only going to verify the PSS signatures, there is no need to provide RNG as a part of PaddingScheme. Add new API calls to allow creating such verify-only padding schemes. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
lumag
added a commit
to lumag/RSA
that referenced
this issue
Jul 31, 2022
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>
I tried looking onto the |
I can open a new issue and sketch out a more complete design |
lumag
added a commit
to lumag/RSA
that referenced
this issue
Jul 31, 2022
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>
lumag
added a commit
to lumag/RSA
that referenced
this issue
Aug 23, 2022
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>
tarcieri
pushed a commit
that referenced
this issue
Aug 29, 2022
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>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently creation of PSS PaddingSchema object requires the RngCore, however if the software is only verifying the signature, it should not require the random number generator. Please consider changing the rng to Option<> or adding
new_verify_pss
/new_verify_pss_with_salt
.The text was updated successfully, but these errors were encountered: