tc_aead_cipher 0.1.1

AEAD contracts and the GCM, GCM-SIV, CCM, KCCM, EAX and OCB modes over any tc_block_cipher engine.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
mod engine;
mod ghash;

pub(crate) const BLOCK_BYTES: usize = 16;
/// Smallest supported authentication-tag size in bytes.
pub(crate) const MIN_MAC_BYTES: usize = 4;
/// Largest supported authentication-tag size in bytes.
pub(crate) const MAX_MAC_BYTES: usize = 16;

pub(crate) use ghash::Multiplier;

pub use engine::GcmBlockCipher;