diff options
author | Igor Matuszewski <igor@sequoia-pgp.org> | 2020-04-05 00:37:17 +0200 |
---|---|---|
committer | Igor Matuszewski <igor@sequoia-pgp.org> | 2020-04-08 17:35:47 +0200 |
commit | 0ea0bc335bba1108807fd0b016f0a621e23740f0 (patch) | |
tree | edf10f674ecc398b766fb1dc50c2bcc6cbe2eb07 /openpgp | |
parent | e9f1216d8d5c4de851bfe9f98d65bce473320e9f (diff) |
openpgp: Move around some crypto pub re-exports
To keep it consistent with other re-exports and to easier see at a
glance what is re-exported from the module.
Diffstat (limited to 'openpgp')
-rw-r--r-- | openpgp/src/crypto/mod.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/openpgp/src/crypto/mod.rs b/openpgp/src/crypto/mod.rs index 081e7a0b..8df483e0 100644 --- a/openpgp/src/crypto/mod.rs +++ b/openpgp/src/crypto/mod.rs @@ -12,6 +12,7 @@ use crate::Result; pub(crate) mod aead; mod asymmetric; +pub use self::asymmetric::{Signer, Decryptor, KeyPair}; pub(crate) mod ecdh; pub mod hash; mod keygrip; @@ -23,12 +24,6 @@ pub use s2k::S2K; pub mod sexp; pub(crate) mod symmetric; -pub use self::asymmetric::{ - Signer, - Decryptor, - KeyPair, -}; - /// Fills the given buffer with random data. pub fn random<B: AsMut<[u8]>>(mut buf: B) { Yarrow::default().random(buf.as_mut()); |