Struct yubico_manager::otpmode::Aes128Block[][src]

pub struct Aes128Block {
    pub block: GenericArray<u8, U16>,
}

Fields

block: GenericArray<u8, U16>

Implementations

Decrypts an AES block as returned by the YubiKey. The caller must check that the uid field is equal to the known private id, and that the (use_counter, session_counter) is strictly larger than the last value seen.

Trait Implementations

Formats the value using the given formatter. Read more

The resulting type after dereferencing.

Dereferences the value.

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.