Logo Search packages:      
Sourcecode: openssl version File versions  Download package

EC_POINT* EC_POINT_dup ( const EC_POINT src,
const EC_GROUP group 

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

srcsource EC_POINT object
groupunderlying the EC_GROUP object
newly created EC_POINT object or NULL if an error occurred

Definition at line 768 of file ec_lib.c.

References EC_POINT_copy(), EC_POINT_dup(), EC_POINT_free(), and EC_POINT_new().

Referenced by EC_KEY_set_public_key(), and EC_POINT_dup().

      EC_POINT *t;
      int r;

      if (a == NULL) return NULL;

      t = EC_POINT_new(group);
      if (t == NULL) return(NULL);
      r = EC_POINT_copy(t, a);
      if (!r)
            return NULL;
      else return t;

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index