Creates a new EC_KEY object using a named curve as underlying EC_GROUP object.
Declared in <openssl/ec.h>
[[deprecated]]
EC_KEY*
EC_KEY_new_by_curve_name_ex(
OSSL_LIB_CTX* ctx,
char const* propq,
int nid);
Deprecated. Use of this entity is allowed but discouraged.
EC_KEY object or NULL if an error occurred.
| Name | Description |
|---|---|
| ctx | The library context for to use for this EC_KEY. May be NULL in which case the default library context is used. |
| propq | Any property query string |
| nid | NID of the named curve. |