Creates a EC_GROUP object with a curve specified by a NID. Same as EC_GROUP_new_by_curve_name_ex but the libctx and propq are always NULL.

Synopsis

Declared in <openssl/ec.h>

EC_GROUP*
EC_GROUP_new_by_curve_name(int nid);

Return Value

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

Parameters

Name

Description

nid

NID of the OID of the curve name

Created with MrDocs