Trait ScryptBlockMixOutput

Source
pub trait ScryptBlockMixOutput<'a, R: ArrayLength, B: BlockType> {
    // Required methods
    fn store_even(&mut self, word_idx: usize, value: B);
    fn store_odd(&mut self, word_idx: usize, value: B);
}
Expand description

Trait for storing a block to a buffer

Required Methods§

Source

fn store_even(&mut self, word_idx: usize, value: B)

Store even-numbered words

Source

fn store_odd(&mut self, word_idx: usize, value: B)

Store odd-numbered words

Implementations on Foreign Types§

Source§

impl<'a, R: ArrayLength, B: BlockType, U: ScryptBlockMixOutput<'a, R, B>, V: ScryptBlockMixOutput<'a, R, B>> ScryptBlockMixOutput<'a, R, B> for (U, V)

Source§

fn store_even(&mut self, word_idx: usize, value: B)

Source§

fn store_odd(&mut self, word_idx: usize, value: B)

Implementors§

Source§

impl<'a, R: ArrayLength, B: BlockType> ScryptBlockMixOutput<'a, R, B> for &'a mut Align64<Block<R>>