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.