1
0
Fork 0
mirror of https://gitlab.redox-os.org/CoffeeCode/redox-ssh.git synced 2025-12-28 17:02:19 +01:00
redox-ssh/src/mac/mod.rs

11 lines
219 B
Rust

// mod hmac;
mod hmac_new;
// pub use self::hmac::Hmac;
pub use self::hmac_new::ExtHmac as Hmac;
pub trait MacAlgorithm {
fn size(&self) -> usize;
fn sign(&mut self, data: &[u8], seq: u32, buf: &mut [u8]);
}