Method: OpenSSL::PKey::EC::Point#set_to_infinity!

Defined in:
ossl_pkey_ec.c

#set_to_infinity!self

Returns:

  • (self)


1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
# File 'ossl_pkey_ec.c', line 1400

static VALUE ossl_ec_point_set_to_infinity(VALUE self)
{
    EC_POINT *point;
    const EC_GROUP *group;

    GetECPoint(self, point);
    GetECPointGroup(self, group);

    if (EC_POINT_set_to_infinity(group, point) != 1)
        ossl_raise(eEC_POINT, "EC_POINT_set_to_infinity");

    return self;
}