Store application data on an EC_KEY at CRYPTO_EX index idx (deprecated).
Declared in <openssl/ec.h>
[[deprecated]]
int
EC_KEY_set_ex_data(
EC_KEY* key,
int idx,
void* arg);
Deprecated. Use of this entity is allowed but discouraged.
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| key | Key receiving the data. |
| idx | Index from CRYPTO_get_ex_new_index() for EC_KEY. |
| arg | Pointer to store; ownership rules follow CRYPTO_EX_DATA. |