Struct esp32h2::aes::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock { /* private fields */ }
Expand description
Register block
Implementations§
source§impl RegisterBlock
impl RegisterBlock
sourcepub const fn text_in_0(&self) -> &TEXT_IN_0
pub const fn text_in_0(&self) -> &TEXT_IN_0
0x20 - source text material text_in_0 configure register
sourcepub const fn text_in_1(&self) -> &TEXT_IN_1
pub const fn text_in_1(&self) -> &TEXT_IN_1
0x24 - source text material text_in_1 configure register
sourcepub const fn text_in_2(&self) -> &TEXT_IN_2
pub const fn text_in_2(&self) -> &TEXT_IN_2
0x28 - source text material text_in_2 configure register
sourcepub const fn text_in_3(&self) -> &TEXT_IN_3
pub const fn text_in_3(&self) -> &TEXT_IN_3
0x2c - source text material text_in_3 configure register
sourcepub const fn text_out_0(&self) -> &TEXT_OUT_0
pub const fn text_out_0(&self) -> &TEXT_OUT_0
0x30 - result text material text_out_0 configure register
sourcepub const fn text_out_1(&self) -> &TEXT_OUT_1
pub const fn text_out_1(&self) -> &TEXT_OUT_1
0x34 - result text material text_out_1 configure register
sourcepub const fn text_out_2(&self) -> &TEXT_OUT_2
pub const fn text_out_2(&self) -> &TEXT_OUT_2
0x38 - result text material text_out_2 configure register
sourcepub const fn text_out_3(&self) -> &TEXT_OUT_3
pub const fn text_out_3(&self) -> &TEXT_OUT_3
0x3c - result text material text_out_3 configure register
sourcepub const fn iv_mem(&self, n: usize) -> &IV_MEM
pub const fn iv_mem(&self, n: usize) -> &IV_MEM
0x50..0x60 - The memory that stores initialization vector
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 - The memory that stores initialization vector
sourcepub const fn h_mem(&self, n: usize) -> &H_MEM
pub const fn h_mem(&self, n: usize) -> &H_MEM
0x60..0x70 - The memory that stores GCM hash subkey
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 - The memory that stores 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 - The memory that stores 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 - The memory that stores T0
sourcepub const fn dma_enable(&self) -> &DMA_ENABLE
pub const fn dma_enable(&self) -> &DMA_ENABLE
0x90 - DMA-AES working mode register
sourcepub const fn block_mode(&self) -> &BLOCK_MODE
pub const fn block_mode(&self) -> &BLOCK_MODE
0x94 - AES cipher block mode register
sourcepub const fn inc_sel(&self) -> &INC_SEL
pub const fn inc_sel(&self) -> &INC_SEL
0x9c - Standard incrementing function configure register
sourcepub const fn aad_block_num(&self) -> &AAD_BLOCK_NUM
pub const fn aad_block_num(&self) -> &AAD_BLOCK_NUM
0xa0 - Additional Authential Data block number register
sourcepub const fn remainder_bit_num(&self) -> &REMAINDER_BIT_NUM
pub const fn remainder_bit_num(&self) -> &REMAINDER_BIT_NUM
0xa4 - AES remainder bit number register