Skip to content

Pkey methods PRF and HKDF only use the provider API #21627

Answered by t8m
ShuaiYuan21 asked this question in Q&A
Discussion options

You must be logged in to vote

The problem is how to find out when the legacy API should be used and when it shouldn't. In theory we could revert to always using the legacy API however it could be seen as functionality change as that will go through different code paths in providers (perhaps even third party ones). And there is no clear way how to infer that an engine providing the legacy EVP_PKEY_CTX style API for HKDF or TLS1 PRF is enabled. I am afraid this ship has sailed and the calls will not be changed apart from some hacks like adding a new SSL_OP to enable the legacy way.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@ShuaiYuan21
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by ShuaiYuan21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
triaged: question The issue contains a question resolved: answered The issue contained a question which has been answered
3 participants
Converted from issue

This discussion was converted from issue #21622 on August 02, 2023 02:25.