EC_POINT_dup

Creates a new EC_POINT object and copies the content of the supplied EC_POINT

Synopsis

Declared in <openssl/ec.h>

EC_POINT*
EC_POINT_dup(
    EC_POINT const* src,
    EC_GROUP const* group);

Return Value

newly created EC_POINT object or NULL if an error occurred

Parameters

NameDescription
srcsource EC_POINT object
groupunderlying the EC_GROUP object