EC_GROUP_copy

Copies EC_GROUP objects. Note: both EC_GROUPs must use the same EC_METHOD.

Synopsis

Declared in <openssl/ec.h>

int
EC_GROUP_copy(
    EC_GROUP* dst,
    EC_GROUP const* src);

Return Value

1 on success and 0 if an error occurred.

Parameters

NameDescription
dstdestination EC_GROUP object
srcsource EC_GROUP object