Skip to content
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

Clear the point S before freeing in ec_scalar_mul_ladder #8504

Closed

Conversation

bernd-edlinger
Copy link
Member

The secret point R can be recovered from S using the equation R = S - P.
The X and Z coordinates should be sufficient for that.

The secret point R can be recovered from S using the equation R = S - P.
The X and Z coordinates should be sufficient for that.
@bernd-edlinger bernd-edlinger added branch: 1.1.1 Merge to OpenSSL_1_1_1-stable branch 3.0.0 labels Mar 17, 2019
@bernd-edlinger
Copy link
Member Author

@bbbrumley do you agree with this reasoning?

@bbbrumley
Copy link
Contributor

Yes -- if R is secret, then so is S.

@paulidale paulidale added the approval: done This pull request has the required number of approvals label Mar 18, 2019
levitte pushed a commit that referenced this pull request Mar 18, 2019
The secret point R can be recovered from S using the equation R = S - P.
The X and Z coordinates should be sufficient for that.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from #8504)
levitte pushed a commit that referenced this pull request Mar 18, 2019
The secret point R can be recovered from S using the equation R = S - P.
The X and Z coordinates should be sufficient for that.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from #8504)

(cherry picked from commit 8a74bb5)
@bernd-edlinger
Copy link
Member Author

Merged to master as 8a74bb5, and 1.1.1 as 202f7c5. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approval: done This pull request has the required number of approvals branch: 1.1.1 Merge to OpenSSL_1_1_1-stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants