EC_KEY_set_ex_data

Store application data on an EC_KEY at CRYPTO_EX index idx (deprecated).

Synopsis

Declared in <openssl/ec.h>

[[deprecated]]
int
EC_KEY_set_ex_data(
    EC_KEY* key,
    int idx,
    void* arg);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
keyKey receiving the data.
idxIndex from CRYPTO_get_ex_new_index() for EC_KEY.
argPointer to store; ownership rules follow CRYPTO_EX_DATA.