Struct esp32s2::aes::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock { /* private fields */ }
Expand description
Register block
Implementations§
source§impl RegisterBlock
impl RegisterBlock
sourcepub fn key_iter(&self) -> impl Iterator<Item = &KEY>
pub fn key_iter(&self) -> impl Iterator<Item = &KEY>
Iterator for array of: 0x00..0x20 - AES key register %s
sourcepub fn text_in_iter(&self) -> impl Iterator<Item = &TEXT_IN>
pub fn text_in_iter(&self) -> impl Iterator<Item = &TEXT_IN>
Iterator for array of: 0x20..0x30 - Source data register %s
sourcepub fn text_out_iter(&self) -> impl Iterator<Item = &TEXT_OUT>
pub fn text_out_iter(&self) -> impl Iterator<Item = &TEXT_OUT>
Iterator for array of: 0x30..0x40 - Result data register %s
sourcepub fn iv_mem_iter(&self) -> impl Iterator<Item = &IV_MEM>
pub fn iv_mem_iter(&self) -> impl Iterator<Item = &IV_MEM>
Iterator for array of: 0x50..0x60 - initialization vector
sourcepub fn h_mem_iter(&self) -> impl Iterator<Item = &H_MEM>
pub fn h_mem_iter(&self) -> impl Iterator<Item = &H_MEM>
Iterator for array of: 0x60..0x70 - GCM hash subkey
sourcepub fn j0_mem_iter(&self) -> impl Iterator<Item = &J0_MEM>
pub fn j0_mem_iter(&self) -> impl Iterator<Item = &J0_MEM>
Iterator for array of: 0x70..0x80 - J0
sourcepub fn t0_mem_iter(&self) -> impl Iterator<Item = &T0_MEM>
pub fn t0_mem_iter(&self) -> impl Iterator<Item = &T0_MEM>
Iterator for array of: 0x80..0x90 - T0
sourcepub const fn dma_enable(&self) -> &DMA_ENABLE
pub const fn dma_enable(&self) -> &DMA_ENABLE
0x90 - DMA enable register
sourcepub const fn block_mode(&self) -> &BLOCK_MODE
pub const fn block_mode(&self) -> &BLOCK_MODE
0x94 - Block operation type register
sourcepub const fn aad_block_num(&self) -> &AAD_BLOCK_NUM
pub const fn aad_block_num(&self) -> &AAD_BLOCK_NUM
0xa0 - AAD block number configuration register
sourcepub const fn remainder_bit_num(&self) -> &REMAINDER_BIT_NUM
pub const fn remainder_bit_num(&self) -> &REMAINDER_BIT_NUM
0xa4 - Remainder bit number of plaintext/ciphertext
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
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