ENGINE_set_EC

Attach an EC_KEY_METHOD implementation to an ENGINE (deprecated).

Synopsis

Declared in <openssl/engine.h>

[[deprecated]]
int
ENGINE_set_EC(
    ENGINE* e,
    EC_KEY_METHOD const* ecdsa_meth);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Non-zero on success, or 0 on failure.

Parameters

NameDescription
eENGINE that will expose the method.
ecdsa_methEC key method table for ECDSA/ECDH operations, or NULL to clear.