pub trait RescueParameter: PrimeField + Absorb {
const A: u64;
const A_INV: &'static [u64];
const MDS_LE: [[&'static [u8]; 4]; 4];
const INIT_VEC_LE: [&'static [u8]; 4];
const KEY_INJECTION_LE: [[&'static [u8]; 4]; 24];
const PERMUTATION_ROUND_KEYS: [[&'static [u8]; 4]; 25];
}
Expand description
This trait defines constants that are used for rescue hash functions.
Required Associated Constants§
Sourceconst INIT_VEC_LE: [&'static [u8]; 4]
const INIT_VEC_LE: [&'static [u8]; 4]
Initial vector.
Sourceconst KEY_INJECTION_LE: [[&'static [u8]; 4]; 24]
const KEY_INJECTION_LE: [[&'static [u8]; 4]; 24]
Injected keys for each round.
Sourceconst PERMUTATION_ROUND_KEYS: [[&'static [u8]; 4]; 25]
const PERMUTATION_ROUND_KEYS: [[&'static [u8]; 4]; 25]
Permutation keys.
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.
Implementations on Foreign Types§
Source§impl RescueParameter for Fq
impl RescueParameter for Fq
Source§impl RescueParameter for Fq
impl RescueParameter for Fq
This is a dummy implementation of Rescue parameters to satisfy trait bound for Fq. This code should not be used for any other purpose.
Source§impl RescueParameter for Fq
impl RescueParameter for Fq
Source§impl RescueParameter for Fq
impl RescueParameter for Fq
This is a dummy implementation of Rescue parameters to satisfy trait bound for Fq. This code should not be used for any other purpose.