[][src]Struct atsame70j21b::aes::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    pub aes_cr: AES_CR,
    pub aes_mr: AES_MR,
    pub aes_ier: AES_IER,
    pub aes_idr: AES_IDR,
    pub aes_imr: AES_IMR,
    pub aes_isr: AES_ISR,
    pub aes_keywr: [AES_KEYWR; 8],
    pub aes_idatar: [AES_IDATAR; 4],
    pub aes_odatar: [AES_ODATAR; 4],
    pub aes_ivr: [AES_IVR; 4],
    pub aes_aadlenr: AES_AADLENR,
    pub aes_clenr: AES_CLENR,
    pub aes_ghashr: [AES_GHASHR; 4],
    pub aes_tagr: [AES_TAGR; 4],
    pub aes_ctrr: AES_CTRR,
    pub aes_gcmhr: [AES_GCMHR; 4],
    // some fields omitted
}

Register block

Fields

aes_cr: AES_CR

0x00 - Control Register

aes_mr: AES_MR

0x04 - Mode Register

aes_ier: AES_IER

0x10 - Interrupt Enable Register

aes_idr: AES_IDR

0x14 - Interrupt Disable Register

aes_imr: AES_IMR

0x18 - Interrupt Mask Register

aes_isr: AES_ISR

0x1c - Interrupt Status Register

aes_keywr: [AES_KEYWR; 8]

0x20 - Key Word Register

aes_idatar: [AES_IDATAR; 4]

0x40 - Input Data Register

aes_odatar: [AES_ODATAR; 4]

0x50 - Output Data Register

aes_ivr: [AES_IVR; 4]

0x60 - Initialization Vector Register

aes_aadlenr: AES_AADLENR

0x70 - Additional Authenticated Data Length Register

aes_clenr: AES_CLENR

0x74 - Plaintext/Ciphertext Length Register

aes_ghashr: [AES_GHASHR; 4]

0x78 - GCM Intermediate Hash Word Register

aes_tagr: [AES_TAGR; 4]

0x88 - GCM Authentication Tag Word Register

aes_ctrr: AES_CTRR

0x98 - GCM Encryption Counter Value Register

aes_gcmhr: [AES_GCMHR; 4]

0x9c - GCM H Word Register

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.