diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-08-17 12:26:09 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-08-17 15:18:59 +0200 |
commit | cf9fbeffb8a4be41898e4c641e7125720029718d (patch) | |
tree | 246cdb67b8b8da5f47a417e4a48f4e7537f6ce4c /openpgp/src/crypto/mod.rs | |
parent | 19582261b8dea2b348e5c503fc0f5ee180b7c9b9 (diff) |
openpgp: Make crypto::ecdh::decrypt_shared public.
- This will be used by all the implementations of crypto::Decryptor,
and if we don't want them to end up in the openpgp crate, we need
to make it public.
Diffstat (limited to 'openpgp/src/crypto/mod.rs')
-rw-r--r-- | openpgp/src/crypto/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/crypto/mod.rs b/openpgp/src/crypto/mod.rs index 3c31aae4..710dc5df 100644 --- a/openpgp/src/crypto/mod.rs +++ b/openpgp/src/crypto/mod.rs @@ -27,7 +27,7 @@ mod asymmetric; pub use self::asymmetric::{Signer, Decryptor, KeyPair}; mod backend; pub use backend::random; -pub(crate) mod ecdh; +pub mod ecdh; pub mod hash; mod keygrip; pub use self::keygrip::Keygrip; |