summaryrefslogtreecommitdiffstats
path: root/openpgp/src/crypto/backend.rs
blob: c0fd883f6d409edad858241c1f101d202222d03e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//! Concrete implementation of the crypto primitives used by the rest of the
//! crypto API.

pub(crate) mod sha1cd;

#[cfg(feature = "crypto-nettle")]
mod nettle;
#[cfg(feature = "crypto-nettle")]
pub use self::nettle::*;

#[cfg(feature = "crypto-rust")]
mod rust;
#[cfg(feature = "crypto-rust")]
pub use self::rust::*;

#[cfg(feature = "crypto-cng")]
mod cng;
#[cfg(feature = "crypto-cng")]
pub use self::cng::*;