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

Remove hkdf.c #9150

Open
gilles-peskine-arm opened this issue May 17, 2024 · 2 comments
Open

Remove hkdf.c #9150

gilles-peskine-arm opened this issue May 17, 2024 · 2 comments
Labels
api-break This issue/PR breaks the API and must wait for a new major version component-crypto Crypto primitives and low-level interfaces size-xs Estimated task size: extra small (a few hours at most)

Comments

@gilles-peskine-arm
Copy link
Contributor

Remove the legacy HKDF implementation (hkdf.h, hkdf.c, test_suite_hkdf.*). PSA has its own independent implementation and no module uses the legacy implementation.

@gilles-peskine-arm gilles-peskine-arm added api-break This issue/PR breaks the API and must wait for a new major version size-xs Estimated task size: extra small (a few hours at most) labels May 17, 2024
@gilles-peskine-arm gilles-peskine-arm added the component-crypto Crypto primitives and low-level interfaces label May 17, 2024
@MaJerle
Copy link

MaJerle commented May 25, 2024

If you have a custom key exchange implementation & public key exchange, hkdf module is still handy for shared secret key derivation from master key, no?

@gilles-peskine-arm
Copy link
Contributor Author

@MaJerle We aren't removing HKDF. For historical reasons, Mbed TLS has two implementations of HKDF, and we're removing the legacy one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api-break This issue/PR breaks the API and must wait for a new major version component-crypto Crypto primitives and low-level interfaces size-xs Estimated task size: extra small (a few hours at most)
Projects
Status: Mbed TLS 4.0 MUST
Status: Implementation needed
Status: No status
Development

No branches or pull requests

2 participants