INNER CODE UNIT · Rust
process_with_backend
RustCrypto/stream-ciphers · hc-256/src/lib.rs:117
fn process_with_backend(&mut self, f: impl StreamCipherClosure<BlockSize = Self::BlockSize>) {
f.call(&mut Backend(self));
}
}
impl AlgorithmName for Hc256Core {
fn write_alg_name(f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.write_str("Hc256")
}
}
impl fmt::Debug for Hc256Core {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.write_str("Hc256Core { ... }")
}
}
impl Hc256Core {