Type Alias aes_gcm::Aes256Gcm

source ·
pub type Aes256Gcm = AesGcm<Aes256, U12>;
Expand description

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

Aliased Type§

struct Aes256Gcm {
    pub(crate) cipher: Aes256,
    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: Aes256

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.