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§
const N: usize = 40usize
const PRIME_I128: i128 = _
const PSEUDO_INV: i64 = _
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.