#[repr(C)]
pub struct RegisterBlock {
Show 16 fields pub cr: CR, pub mr: MR, pub ier: IER, pub idr: IDR, pub imr: IMR, pub isr: ISR, pub keywr: [KEYWR; 8], pub idatar: [IDATAR; 4], pub odatar: [ODATAR; 4], pub ivr: [IVR; 4], pub aadlenr: AADLENR, pub clenr: CLENR, pub ghashr: [GHASHR; 4], pub tagr: [TAGR; 4], pub ctrr: CTRR, pub gcmhr: [GCMHR; 4], /* private fields */
}
Expand description

Register block

Fields§

§cr: CR

0x00 - Control Register

§mr: MR

0x04 - Mode Register

§ier: IER

0x10 - Interrupt Enable Register

§idr: IDR

0x14 - Interrupt Disable Register

§imr: IMR

0x18 - Interrupt Mask Register

§isr: ISR

0x1c - Interrupt Status Register

§keywr: [KEYWR; 8]

0x20..0x40 - Key Word Register

§idatar: [IDATAR; 4]

0x40..0x50 - Input Data Register

§odatar: [ODATAR; 4]

0x50..0x60 - Output Data Register

§ivr: [IVR; 4]

0x60..0x70 - Initialization Vector Register

§aadlenr: AADLENR

0x70 - Additional Authenticated Data Length Register

§clenr: CLENR

0x74 - Plaintext/Ciphertext Length Register

§ghashr: [GHASHR; 4]

0x78..0x88 - GCM Intermediate Hash Word Register

§tagr: [TAGR; 4]

0x88..0x98 - GCM Authentication Tag Word Register

§ctrr: CTRR

0x98 - GCM Encryption Counter Value Register

§gcmhr: [GCMHR; 4]

0x9c..0xac - GCM H Word Register

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.