1 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or 2 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license 3 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your 4 // option. This file may not be copied, modified, or distributed 5 // except according to those terms. 6 7 #![cfg_attr(feature = "with-bench", feature(test))] 8 9 extern crate rand; 10 extern crate rustc_serialize as serialize; 11 extern crate time; 12 extern crate libc; 13 14 #[cfg(all(test, feature = "with-bench"))] 15 extern crate test; 16 17 pub mod aead; 18 pub mod aes; 19 pub mod aes_gcm; 20 pub mod aessafe; 21 pub mod bcrypt; 22 pub mod bcrypt_pbkdf; 23 pub mod blake2b; 24 pub mod blake2s; 25 pub mod blockmodes; 26 pub mod blowfish; 27 pub mod buffer; 28 pub mod chacha20; 29 pub mod chacha20poly1305; 30 mod cryptoutil; 31 pub mod curve25519; 32 pub mod digest; 33 pub mod ed25519; 34 pub mod fortuna; 35 pub mod ghash; 36 pub mod hc128; 37 pub mod hmac; 38 pub mod hkdf; 39 pub mod mac; 40 pub mod md5; 41 pub mod pbkdf2; 42 pub mod poly1305; 43 pub mod rc4; 44 pub mod ripemd160; 45 pub mod salsa20; 46 pub mod scrypt; 47 pub mod sha1; 48 pub mod sha2; 49 pub mod sha3; 50 mod simd; 51 pub mod sosemanuk; 52 mod step_by; 53 pub mod symmetriccipher; 54 pub mod util; 55 pub mod whirlpool; 56 57 #[cfg(any(target_arch = "x86", target_arch = "x86_64"))] 58 pub mod aesni; 59