How to emulate EVP_PKEY_meth_get_sign() on OpenSSL-1.0.2?
An engine works with OpenSSL-1.1.0+. It needs to hook some methods, and it accesses them via EVP_PKEY_meth_get_sign(), EVP_PKEY_meth_get_decrypt(), and EVP_PKEY_meth_get_encrypt(). And the corresponding set() calls.
I’d like to backport this engine to OpenSSL-1.0.2. But 1.0.2 does not provide these calls.
Is there a way to emulate the above calls, and achieve similar result on OpenSSL-1.0.2?