EC_POINT_is_on_curve function
EC_POINT_is_on_curve returns one if |point| is an element of |group| and and zero otherwise or when an error occurs. This is different from OpenSSL, which returns -1 on error. |ctx| is ignored and may be NULL.
Implementation
@meta.RecordUse()
@ffi.Native<
ffi.Int Function(
ffi.Pointer<EC_GROUP>,
ffi.Pointer<EC_POINT>,
ffi.Pointer<BN_CTX>,
)
>(symbol: 'bssl_dart_EC_POINT_is_on_curve')
external int EC_POINT_is_on_curve(
ffi.Pointer<EC_GROUP> group,
ffi.Pointer<EC_POINT> point,
ffi.Pointer<BN_CTX> ctx,
);