#[repr(C)]pub struct RegisterBlock {
pub result: [RESULT; 8],
pub data_in: DATA_IN,
pub num_reg: NUM_REG,
pub function_reg_0: FUNCTION_REG_0,
pub function_reg_1: FUNCTION_REG_1,
/* private fields */
}Expand description
Register block
Fields§
§result: [RESULT; 8]0x00 - Calculated SHA256 return value
data_in: DATA_IN0x20 - SHA256 input data is written to this register
num_reg: NUM_REG0x28 - Counters register
function_reg_0: FUNCTION_REG_00x2c - Function configuration register 0
function_reg_1: FUNCTION_REG_10x34 - Function configuration register 1
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