Lines Matching defs:point
284 EC_POINT *point = NULL;
301 if ((point = EC_POINT_new(eckey->group)) == NULL)
310 /* Ensure public key multiplied by the order is the point at infinity. */
315 if (!EC_POINT_mul(eckey->group, point, NULL, eckey->pub_key, order, ctx)) {
319 if (!EC_POINT_is_at_infinity(eckey->group, point)) {
333 if (!EC_POINT_mul(eckey->group, point, eckey->priv_key, NULL,
338 if (EC_POINT_cmp(eckey->group, point, eckey->pub_key,
349 EC_POINT_free(point);
359 EC_POINT *point = NULL;
378 if ((point = EC_POINT_new(key->group)) == NULL)
381 if (!EC_POINT_set_affine_coordinates(key->group, point, x, y, ctx))
383 if (!EC_POINT_get_affine_coordinates(key->group, point, tx, ty, ctx))
394 if (!EC_KEY_set_public_key(key, point))
404 EC_POINT_free(point);