Type Alias aes_gcm::Aes128Gcm

source ·
pub type Aes128Gcm = AesGcm<Aes128, U12>;
Expand description

AES-GCM with a 128-bit key and 96-bit nonce.

Aliased Type§

struct Aes128Gcm {
    pub(crate) cipher: Aes128,
    pub(crate) ghash: GHash,
    pub(crate) nonce_size: PhantomData<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>>,
    pub(crate) tag_size: PhantomData<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>>,
}

Fields§

§cipher: Aes128

Encryption cipher.

§ghash: GHash

GHASH authenticator.

§nonce_size: PhantomData<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>>

Length of the nonce.

§tag_size: PhantomData<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>>

Length of the tag.