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

pub(crate) trait ValidityCheck {
    fn is_valid(&self) -> bool;
}

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

fn is_valid(&self) -> bool

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

Loading content...

Implementors

impl ValidityCheck for ProjectivePoint[src]

impl ValidityCheck for EdwardsPoint[src]

Loading content...