Struct dusk_hades::strategies::scalar::ScalarStrategy [−][src]
Implements a Hades252 strategy for BlsScalar as input values.
Implementations
impl ScalarStrategy[src]
Trait Implementations
impl Default for ScalarStrategy[src]
fn default() -> ScalarStrategy[src]
impl Strategy<Scalar> for ScalarStrategy[src]
fn add_round_key<'b, I>(&mut self, constants: &mut I, words: &mut [BlsScalar]) where
I: Iterator<Item = &'b BlsScalar>, [src]
I: Iterator<Item = &'b BlsScalar>,
fn quintic_s_box(&mut self, value: &mut BlsScalar)[src]
fn mul_matrix<'b, I>(&mut self, _constants: &mut I, values: &mut [BlsScalar]) where
I: Iterator<Item = &'b BlsScalar>, [src]
I: Iterator<Item = &'b BlsScalar>,
fn next_c<'b, I>(constants: &mut I) -> BlsScalar where
I: Iterator<Item = &'b BlsScalar>, [src]
I: Iterator<Item = &'b BlsScalar>,
fn apply_partial_round<'b, I>(&mut self, constants: &mut I, words: &mut [T]) where
I: Iterator<Item = &'b BlsScalar>, [src]
I: Iterator<Item = &'b BlsScalar>,
fn apply_full_round<'a, I>(&mut self, constants: &mut I, words: &mut [T]) where
I: Iterator<Item = &'a BlsScalar>, [src]
I: Iterator<Item = &'a BlsScalar>,
fn perm(&mut self, data: &mut [T])[src]
fn rounds() -> usize[src]
Auto Trait Implementations
impl RefUnwindSafe for ScalarStrategy[src]
impl Send for ScalarStrategy[src]
impl Sync for ScalarStrategy[src]
impl Unpin for ScalarStrategy[src]
impl UnwindSafe for ScalarStrategy[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,