Set the ECDH shared-secret callback on an EC_KEY_METHOD (deprecated).
Declared in <openssl/ec.h>
[[deprecated]]
void
EC_KEY_METHOD_set_compute_key(
EC_KEY_METHOD* meth,
int(* ckey)(unsigned char**, size_t*, EC_POINT const*, EC_KEY const*));
Deprecated. Use of this entity is allowed but discouraged.
| Name | Description |
|---|---|
| meth | Method table to update. |
| ckey | Callback that computes the shared secret into *psec / *pseclen, or NULL to clear. |