Lines Matching defs:point
314 /* Step (8) : pub_key = priv_key * G (where G is a point on the curve) */
368 * pub_key = priv_key * G (where G is a point on the curve)
475 EC_POINT *point = NULL;
481 point = EC_POINT_new(eckey->group);
482 if (point == NULL)
490 /* 5.6.2.3.3 (Step 4) : pub_key * order is the point at infinity. */
491 if (!EC_POINT_mul(eckey->group, point, NULL, eckey->pub_key, order, ctx)) {
495 if (!EC_POINT_is_at_infinity(eckey->group, point)) {
501 EC_POINT_free(point);
532 EC_POINT *point = NULL;
542 point = EC_POINT_new(eckey->group);
543 if (point == NULL)
547 if (!EC_POINT_mul(eckey->group, point, eckey->priv_key, NULL, NULL, ctx)) {
551 if (EC_POINT_cmp(eckey->group, point, eckey->pub_key, ctx) != 0) {
557 EC_POINT_free(point);
603 EC_POINT *point = NULL;
615 point = EC_POINT_new(key->group);
617 if (point == NULL)
625 if (!EC_POINT_set_affine_coordinates(key->group, point, x, y, ctx))
627 if (!EC_POINT_get_affine_coordinates(key->group, point, tx, ty, ctx))
640 if (!EC_KEY_set_public_key(key, point))
651 EC_POINT_free(point);
888 * Save the point conversion form.
890 * the last significant bit) contains the point conversion form.