crypto/
lib.rs

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
9extern crate rand;
10extern crate hex;
11extern crate base64;
12extern crate time;
13extern crate libc;
14
15#[cfg(all(test, feature = "with-bench"))]
16extern crate test;
17
18pub mod aead;
19pub mod aes;
20pub mod aes_gcm;
21pub mod aessafe;
22pub mod bcrypt;
23pub mod bcrypt_pbkdf;
24pub mod blake2b;
25pub mod blake2s;
26pub mod blockmodes;
27pub mod blowfish;
28pub mod buffer;
29pub mod chacha20;
30pub mod chacha20poly1305;
31mod cryptoutil;
32pub mod curve25519;
33pub mod digest;
34pub mod ed25519;
35pub mod fortuna;
36pub mod ghash;
37pub mod hc128;
38pub mod hmac;
39pub mod hkdf;
40pub mod mac;
41pub mod md5;
42pub mod pbkdf2;
43pub mod poly1305;
44pub mod rc4;
45pub mod ripemd160;
46pub mod salsa20;
47pub mod scrypt;
48pub mod sha1;
49pub mod sha2;
50pub mod sha3;
51mod simd;
52pub mod sosemanuk;
53mod step_by;
54pub mod symmetriccipher;
55pub mod util;
56pub mod whirlpool;
57
58#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
59pub mod aesni;