Method: OpenSSL::PKey::EC::Point#infinity?
- Defined in:
- ossl_pkey_ec.c
#infinity? ⇒ Boolean
1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 |
# File 'ossl_pkey_ec.c', line 1317 static VALUE ossl_ec_point_is_at_infinity(VALUE self) { EC_POINT *point; const EC_GROUP *group; GetECPoint(self, point); GetECPointGroup(self, group); switch (EC_POINT_is_at_infinity(group, point)) { case 1: return Qtrue; case 0: return Qfalse; default: ossl_raise(eEC_POINT, "EC_POINT_is_at_infinity"); } UNREACHABLE; } |