p3_monty_31

Trait BarrettParameters

Source
pub trait BarrettParameters: MontyParameters {
    const N: usize = 40usize;
    const PRIME_I128: i128 = _;
    const PSEUDO_INV: i64 = _;
    const MASK: i64 = -1_024i64;
}
Expand description

BarrettParameters contains constants needed for the Barrett reduction used in the MDS code.

Provided Associated Constants§

Source

const N: usize = 40usize

Source

const PRIME_I128: i128 = _

Source

const PSEUDO_INV: i64 = _

Source

const MASK: i64 = -1_024i64

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§