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__iter(&self) -> impl Iterator<Item = &IV_>
pub fn iv__iter(&self) -> impl Iterator<Item = &IV_>
Iterator for array of: 0x50..0x60 - initialization vector
sourcepub fn h__iter(&self) -> impl Iterator<Item = &H_>
pub fn h__iter(&self) -> impl Iterator<Item = &H_>
Iterator for array of: 0x60..0x70 - GCM hash subkey
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
sourcepub const fn continue_op(&self) -> &CONTINUE_OP
pub const fn continue_op(&self) -> &CONTINUE_OP
0xa8 - Operation continue controlling register
Auto Trait Implementations§
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