tc_rc_cipher 0.1.0

RC2, RC5 and RC6 block ciphers for legacy interoperability, with an optional RustCrypto RC2 engine.
Documentation
1
2
3
4
5
6
7
8
9
10
use tc_block_cipher::KeyParams;

/// Supplies an RC5 key and public round count.
///
/// Timing is implementation-defined; implementations should avoid secret-dependent
/// work when returning the key and parameters.
pub trait Rc5Params: KeyParams {
    /// Returns the round count. Timing is implementation-defined.
    fn rounds(&self) -> usize;
}