1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
#![no_std] #![allow(non_upper_case_globals)] #![allow(non_camel_case_types)] #![allow(non_snake_case)] #[cfg(not(all(target_arch = "wasm32", not(target_os = "emscripten"))))] extern crate libc; #[cfg(all(target_arch = "wasm32", not(target_os = "emscripten")))] mod libc { pub type c_void = u8; pub type c_int = i32; pub type c_uint = u32; pub type c_ulong = u32; pub type c_uchar = u8; } pub mod aead_poly1305; pub mod chacha20poly1305; pub mod salsa20; pub mod chacha20; pub mod poly1305; pub mod hmac_sha2_256; pub mod sha2_256; pub mod sha2_384; pub mod sha2_512; pub mod ed25519; pub mod curve25519; pub mod hacl_policies; pub mod nacl;