pub(crate) trait ValidityCheck {
// Required method
fn is_valid(&self) -> bool;
}Expand description
Trait for checking whether a point is on the curve.
This trait is only for debugging/testing, since it should be
impossible for a curve25519-dalek user to construct an invalid
point.