//! Kernel subgroup of an isogeny.
useec::curve_ops::Curve;useec::point_ops::PointOps;/// The structure for a kernel of an isogeny
pubstructKernelSubgroup<C: Curve>{/// All the points in the kernel of the isogney
pubpoints:Vec<C::Point>,
}impl<C: Curve>KernelSubgroup<C>{/// Check whether the isogney kernel is trivial
pubfntrivial(curve:&C)->Self{Self{
points:vec![C::Point::identity(curve)],}}}