[#EC_KEY_METHOD_set_compute_key] = EC_KEY_METHOD_set_compute_key :mrdocs: Set the ECDH shared‐secret callback on an EC_KEY_METHOD (deprecated). == Synopsis Declared in `<openssl/ec.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] void EC_KEY_METHOD_set_compute_key( xref:EC_KEY_METHOD.adoc[EC_KEY_METHOD]* meth, int(* ckey)(unsigned char**, size_t*, xref:EC_POINT.adoc[EC_POINT] const*, xref:EC_KEY.adoc[EC_KEY] const*)); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Parameters [cols="1,4"] |=== | Name| Description | *meth* | Method table to update. | *ckey* | Callback that computes the shared secret into *`psec` / *`pseclen,` or NULL to clear. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#