Creates a EC_GROUP object with a curve specified by a NID

Synopsis

Declared in <openssl/ec.h>

EC_GROUP*
EC_GROUP_new_by_curve_name_ex(
    OSSL_LIB_CTX* libctx,
    char const* propq,
    int nid);

Return Value

newly created EC_GROUP object with specified curve or NULL if an error occurred

Parameters

Name

Description

libctx

The associated library context or NULL for the default context

propq

A property query string

nid

NID of the OID of the curve name

Created with MrDocs