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 RC2 key and its effective size.
///
/// Timing is implementation-defined; implementations should return the
/// borrowed key and public size without secret-dependent work.
pub trait Rc2Params: KeyParams {
    /// Returns the effective key size in bits. Timing is implementation-defined.
    fn effective_key_bits(&self) -> usize;
}