Struct cryptoauthlib_sys::atca_aes_ctr_ctx[][src]

#[repr(C)]pub struct atca_aes_ctr_ctx {
    pub key_id: u16,
    pub key_block: u8,
    pub cb: [u8; 16],
    pub counter_size: u8,
}

Fields

key_id: u16

!< Key location. Can either be a slot number or ATCA_TEMPKEY_KEYID for TempKey.

key_block: u8

!< Index of the 16-byte block to use within the key location for the actual key.

cb: [u8; 16]

!< Counter block, comprises of nonce + count value (16 bytes).

counter_size: u8

!< Size of counter in the initialization vector.

Trait Implementations

impl Clone for atca_aes_ctr_ctx[src]

impl Copy for atca_aes_ctr_ctx[src]

impl Debug for atca_aes_ctr_ctx[src]

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.