solana_curve25519::curve_syscall_traits

Trait PointValidation

Source
pub trait PointValidation {
    type Point;

    // Required method
    fn validate_point(&self) -> bool;
}

Required Associated Types§

Required Methods§

Source

fn validate_point(&self) -> bool

Verifies if a byte representation of a curve point lies in the curve.

Implementors§