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

Implement HKDF using the EVP_KDF API in OpenSSL 3 #194

Merged
merged 5 commits into from
Oct 21, 2024
Merged

Implement HKDF using the EVP_KDF API in OpenSSL 3 #194

merged 5 commits into from
Oct 21, 2024

Conversation

qmuntal
Copy link
Collaborator

@qmuntal qmuntal commented Sep 25, 2024

The EVP_KDF API was added in OpenSSL 3 to properly support KDF algorithms, such as HKDF. It is recommended that KDF operations migrates from the EVP_PKEY API to this new API. The built-in providers still support the EVP_PKEY for back compat, but third party provider might not do it (SymCrypt looking at you).

This PR implements HKDF using the EVP_KDF API when using OpenSSL 3.

For #158.
For #189.

params.go Outdated Show resolved Hide resolved
hkdf.go Outdated Show resolved Hide resolved
hkdf.go Outdated Show resolved Hide resolved
@qmuntal qmuntal requested a review from dagood September 27, 2024 07:13
hkdf.go Show resolved Hide resolved
@qmuntal
Copy link
Collaborator Author

qmuntal commented Oct 4, 2024

@derekparker @ueno I-ll like your reviews here.

@qmuntal
Copy link
Collaborator Author

qmuntal commented Oct 21, 2024

@derekparker I'm merging this PR, as this is blocking some other work I have to do. Feel free to open an issue with any concern you have once your team have time to review it.

@qmuntal qmuntal merged commit d3e5c22 into v2 Oct 21, 2024
27 checks passed
@qmuntal qmuntal deleted the hkdf3 branch October 21, 2024 12:53
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.

3 participants