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: ecdh::SharedSecret::extract HKDF helper #1007

Merged
merged 1 commit into from
May 9, 2022

Conversation

tarcieri
Copy link
Member

@tarcieri tarcieri commented May 9, 2022

Adds support for using HKDF to generate key material from an ECDH shared secret using the hkdf crate.

Renames the previous as_bytes method to raw_secret_bytes with a warning that the extract method should be preferred instead.

@tarcieri tarcieri force-pushed the elliptic-curve/hkdf-helper-for-ecdh branch 4 times, most recently from e66eb9f to 4b55c4c Compare May 9, 2022 02:23
Adds support for using HKDF to generate key material from an ECDH shared
secret using the `hkdf` crate.

Renames the previous `as_bytes` method to `raw_secret_bytes` with a
warning that the `extract` method should be preferred instead.
@tarcieri tarcieri force-pushed the elliptic-curve/hkdf-helper-for-ecdh branch from 4b55c4c to c3fe844 Compare May 9, 2022 02:48
@tarcieri tarcieri merged commit 30a0487 into master May 9, 2022
@tarcieri tarcieri deleted the elliptic-curve/hkdf-helper-for-ecdh branch May 9, 2022 03:25
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