Sets the EC_GROUP of a EC_KEY object.

Synopsis

Declared in <openssl/ec.h>

[[deprecated]]
int
EC_KEY_set_group(
    EC_KEY* key,
    EC_GROUP const* group);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success and 0 if an error occurred.

Parameters

Name

Description

key

EC_KEY object

group

EC_GROUP to use in the EC_KEY object (note: the EC_KEY object will use an own copy of the EC_GROUP).

Created with MrDocs