#[link(name = "x16rs", kind = "static")]
unsafe extern "C" {
unsafe fn c_x16rs_hash(a: i32, b: *const u8, c: *const u8) -> ();
}
pub const H32S: usize = 32;
pub fn x16rs_hash(loopnum: i32, indata: &[u8; H32S]) -> [u8; H32S] {
let outdata = [0u8; H32S];
unsafe {
let input: *const u8 = indata.as_ptr();
let output: *const u8 = outdata.as_ptr();
c_x16rs_hash(loopnum, input, output);
}
return outdata;
}