Add dh_kdf support to provider
authorShane Lontis <shane.lontis@oracle.com>
Tue, 4 Aug 2020 01:21:21 +0000 (11:21 +1000)
committerShane Lontis <shane.lontis@oracle.com>
Tue, 11 Aug 2020 10:39:19 +0000 (20:39 +1000)
commit116d2510f7e95d1e6f4a6b9db2df1ec8d11b61fb
treef05970c6c5e9c20e0fb38659d1391fed1e175b8f
parent627c220311bcd3bd6f4f745b76ce6a548bed4629
Add dh_kdf support to provider

Similiar to ecdh this supports the legacy kdf inside the provider dh key exchange.
The supporting EVP_PKEY_CTX macros have been changed into mehtods and moved into dh_ctrl.c
New kdfs such as SSKDF should be done as a seperate pass after doing the derive.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12575)
crypto/dh/build.info
crypto/dh/dh_ctrl.c [new file with mode: 0644]
crypto/dh/dh_kdf.c
crypto/dh/dh_lib.c
crypto/evp/pmeth_lib.c
doc/man3/EVP_PKEY_CTX_ctrl.pod
include/crypto/dh.h
include/openssl/dh.h
providers/implementations/exchange/dh_exch.c
test/evp_libctx_test.c