EC_KEY_METHOD_get_init

Retrieve init/finish/copy/set_* callbacks from an EC_KEY_METHOD (deprecated).

Synopsis

Declared in <openssl/ec.h>

[[deprecated]]
void
EC_KEY_METHOD_get_init(
    EC_KEY_METHOD const* meth,
    int(** pinit)(EC_KEY*),
    void(** pfinish)(EC_KEY*),
    int(** pcopy)(EC_KEY*, EC_KEY const*),
    int(** pset_group)(EC_KEY*, EC_GROUP const*),
    int(** pset_private)(EC_KEY*, BIGNUM const*),
    int(** pset_public)(EC_KEY*, EC_POINT const*));

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Parameters

NameDescription
methMethod object to query.
pinitReceives the init callback pointer, or NULL to skip.
pfinishReceives the finish callback pointer, or NULL to skip.
pcopyReceives the copy callback pointer, or NULL to skip.
pset_groupReceives the set_group callback pointer, or NULL to skip.
pset_privateReceives the set_private callback pointer, or NULL to skip.
pset_publicReceives the set_public callback pointer, or NULL to skip.