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
/// Parameters that carry the nonce.
pub trait NonceParams {
    /// Returns the nonce. The lengths a construction accepts are checked by
    /// its `init`.
    ///
    /// Constant time in this crate's containers, which return their value
    /// without inspecting it; other implementations define their own timing.
    fn nonce(&self) -> &[u8];
}