I am trying to write an OpenSSL Engine with ECDH support. I am following this page on the OpenSSL wiki : https://wiki.openssl.org/index.php/Creating_an_OpenSSL_Engine_to_use_indigenous_ECDH_ECDSA_and_HASH_Algorithms.
However it is based on version 1.0.2 and I need to use OpenSSL 1.1.1. In the wiki they register the ECDH method by using the ENGINE_set_ECDH(ENGINE *e, ECDH_METHOD * ecdh)
function but this function is not available with OpenSSL 1.1.1.
I looked the documentation but i didn’t find the equivalent for version 1.1.1. The same problem also applied for the ECDSA method with ENGINE_set_ECDSA not being available. How should I proceed to make the engine implementing ECDH, how can I replace the ENGINE_set_ECDH function ?