Skip to content

Conversation

@ddealmei
Copy link

Calling BN_mod_exp with a small base, and no constant time flag fallback on an insecure implementation with OpenSSL. If the exponent is related to a secret value, the resulting leakage may compromise the secret.
A simple fix is to set the appropriate flag before computing the modular exponentiation.

@ddealmei ddealmei closed this Jan 27, 2021
@ddealmei ddealmei reopened this Jan 27, 2021
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.

2 participants