Skip to content

TLS1.3: Understanding HKDF calls #442

Answered by simo5
kshitizvars asked this question in Q&A
Discussion options

You must be logged in to vote

Ok sorry looking at this more carefully I now remember how odd the code is around key derivation in openssl.

The key exchange providers "wrap" kdf providers, so in thie case calling EVP_KDF_derive(hkdfctx->kdfctx, secret, outlen, NULL) should be correct as this will do nothing more than simply end up calling the KDF provider with a KDF context for HKDF.

Replies: 3 comments 18 replies

Comment options

You must be logged in to vote
3 replies
@kshitizvars
Comment options

@simo5
Comment options

simo5 Sep 5, 2024
Maintainer

@simo5
Comment options

simo5 Sep 5, 2024
Maintainer

Comment options

You must be logged in to vote
5 replies
@simo5
Comment options

simo5 Sep 5, 2024
Maintainer

@kshitizvars
Comment options

@simo5
Comment options

simo5 Sep 6, 2024
Maintainer

@kshitizvars
Comment options

@simo5
Comment options

simo5 Sep 9, 2024
Maintainer

Answer selected by simo5
Comment options

You must be logged in to vote
10 replies
@simo5
Comment options

@simo5
Comment options

@kshitizvars
Comment options

@simo5
Comment options

@simo5
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants