solana_zk_token_sdk::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§