libhydrogen-sys 0.9.5

Low-level FFI bindings to libhydrogen for encryption, signatures, hashing, key exchange, and random number generation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]

include!(concat!(env!("OUT_DIR"), "/bindings.rs"));

#[cfg(test)]
mod tests {
    use super::*;

    #[test]
    fn test_init() {
        let res = unsafe { hydro_init() };
        assert_eq!(res, 0);
    }
}