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

elliptic-curve: derive Clone on SecretKey #244

Merged
merged 1 commit into from
Aug 4, 2020

Conversation

tarcieri
Copy link
Member

@tarcieri tarcieri commented Aug 4, 2020

SecretKey is auto-zeroizing. While cloning it isn't ideal, we have a strategy for automatically cleaning up afterward.

Cloning SecretKey came up in practice in the k256 crate (PR forthcoming).

SecretKey is auto-zeroizing. While cloning it isn't ideal, we have a
strategy for automatically cleaning up afterward.
@tarcieri tarcieri merged commit 83c41ca into master Aug 4, 2020
@tarcieri tarcieri deleted the elliptic-curve/derive-clone-on-secret-key branch August 4, 2020 03:40
@tarcieri tarcieri mentioned this pull request Aug 10, 2020
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.

1 participant