Trait curve25519_dalek::traits::ValidityCheck[][src]

pub(crate) trait ValidityCheck {
    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.

Required methods

Checks whether the point is on the curve. Not CT.

Implementors