Set the ECDH shared‐secret callback on an EC_KEY_METHOD (deprecated).

Synopsis

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*));
Warning

Deprecated. Use of this entity is allowed but discouraged.

Parameters

Name

Description

meth

Method table to update.

ckey

Callback that computes the shared secret into *`psec` / *`pseclen,` or NULL to clear.

Created with MrDocs