#[repr(transparent)]pub struct ChachaEndianness(pub u32);
Expand description
CHACHA engine data order configuration.
Tuple Fields§
§0: u32
Implementations§
Source§impl ChachaEndianness
impl ChachaEndianness
Sourcepub const fn chacha_din_word_order(&self) -> ChachaDinWordOrder
pub const fn chacha_din_word_order(&self) -> ChachaDinWordOrder
Change the word order of the input data.
Sourcepub fn set_chacha_din_word_order(&mut self, val: ChachaDinWordOrder)
pub fn set_chacha_din_word_order(&mut self, val: ChachaDinWordOrder)
Change the word order of the input data.
Sourcepub const fn chacha_din_byte_order(&self) -> ChachaDinByteOrder
pub const fn chacha_din_byte_order(&self) -> ChachaDinByteOrder
Change the byte order of the input data.
Sourcepub fn set_chacha_din_byte_order(&mut self, val: ChachaDinByteOrder)
pub fn set_chacha_din_byte_order(&mut self, val: ChachaDinByteOrder)
Change the byte order of the input data.
Sourcepub const fn chacha_core_matrix_lbe_order(&self) -> ChachaCoreMatrixLbeOrder
pub const fn chacha_core_matrix_lbe_order(&self) -> ChachaCoreMatrixLbeOrder
Change the quarter of a matrix order in the engine.
Sourcepub fn set_chacha_core_matrix_lbe_order(
&mut self,
val: ChachaCoreMatrixLbeOrder,
)
pub fn set_chacha_core_matrix_lbe_order( &mut self, val: ChachaCoreMatrixLbeOrder, )
Change the quarter of a matrix order in the engine.
Sourcepub const fn chacha_dout_word_order(&self) -> ChachaDoutWordOrder
pub const fn chacha_dout_word_order(&self) -> ChachaDoutWordOrder
Change the word order of the output data.
Sourcepub fn set_chacha_dout_word_order(&mut self, val: ChachaDoutWordOrder)
pub fn set_chacha_dout_word_order(&mut self, val: ChachaDoutWordOrder)
Change the word order of the output data.
Sourcepub const fn chacha_dout_byte_order(&self) -> ChachaDoutByteOrder
pub const fn chacha_dout_byte_order(&self) -> ChachaDoutByteOrder
Change the byte order of the output data.
Sourcepub fn set_chacha_dout_byte_order(&mut self, val: ChachaDoutByteOrder)
pub fn set_chacha_dout_byte_order(&mut self, val: ChachaDoutByteOrder)
Change the byte order of the output data.
Trait Implementations§
Source§impl Clone for ChachaEndianness
impl Clone for ChachaEndianness
Source§fn clone(&self) -> ChachaEndianness
fn clone(&self) -> ChachaEndianness
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for ChachaEndianness
impl Default for ChachaEndianness
Source§fn default() -> ChachaEndianness
fn default() -> ChachaEndianness
Returns the “default value” for a type. Read more
Source§impl PartialEq for ChachaEndianness
impl PartialEq for ChachaEndianness
impl Copy for ChachaEndianness
impl Eq for ChachaEndianness
impl StructuralPartialEq for ChachaEndianness
Auto Trait Implementations§
impl Freeze for ChachaEndianness
impl RefUnwindSafe for ChachaEndianness
impl Send for ChachaEndianness
impl Sync for ChachaEndianness
impl Unpin for ChachaEndianness
impl UnwindSafe for ChachaEndianness
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)