pub trait NttFriendly: Modulus {
    const PRIMITIVE_ROOT: u32 = _;
    const EXP: u32 = _;
    const ODD: u32 = _;

    // Required method
    fn cache() -> &'static OnceLock<ButterflyCache<Self>>;

    // Provided method
    fn butterfly_cache() -> &'static ButterflyCache<Self> { ... }
}

Provided Associated Constants§

source

const PRIMITIVE_ROOT: u32 = _

source

const EXP: u32 = _

source

const ODD: u32 = _

Required Methods§

source

fn cache() -> &'static OnceLock<ButterflyCache<Self>>

Provided Methods§

source

fn butterfly_cache() -> &'static ButterflyCache<Self>

Implementors§