summaryrefslogtreecommitdiffstats
path: root/openpgp/src/crypto/backend.rs
diff options
context:
space:
mode:
authorIgor Matuszewski <igor@sequoia-pgp.org>2020-04-09 23:20:05 +0200
committerIgor Matuszewski <igor@sequoia-pgp.org>2020-06-22 11:57:06 +0200
commit35a57dbb7f5e94b8b2f6d70643b6718a81cfc21e (patch)
tree0b326cc71abe6c6f9eb03d63f78ad59627ac329a /openpgp/src/crypto/backend.rs
parent05ad615487c4735b16b049adde2ecbb1e3418df6 (diff)
openpgp: Introduce crypto::backend facade module
Diffstat (limited to 'openpgp/src/crypto/backend.rs')
-rw-r--r--openpgp/src/crypto/backend.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/openpgp/src/crypto/backend.rs b/openpgp/src/crypto/backend.rs
new file mode 100644
index 00000000..2a57889f
--- /dev/null
+++ b/openpgp/src/crypto/backend.rs
@@ -0,0 +1,7 @@
+//! Concrete implementation of the crypto primitives used by the rest of the
+//! crypto API.
+
+#[cfg(feature = "crypto-nettle")]
+mod nettle;
+#[cfg(feature = "crypto-nettle")]
+pub use self::nettle::*;