summaryrefslogtreecommitdiffstats
path: root/openpgp/src/crypto/backend/nettle.rs
diff options
context:
space:
mode:
authorIgor Matuszewski <igor@sequoia-pgp.org>2020-04-10 00:25:30 +0200
committerIgor Matuszewski <igor@sequoia-pgp.org>2020-06-22 11:57:06 +0200
commitf30cc7f367084fa295bd542cf9eb9a3398657fce (patch)
treee064aae01066e303b4320fbf45a3d2e75bbb9109 /openpgp/src/crypto/backend/nettle.rs
parentdf5eb44e8e442c5bc4d958d914121075258393ec (diff)
openpgp: Move Nettle ECDH implementation to the backend module
Diffstat (limited to 'openpgp/src/crypto/backend/nettle.rs')
-rw-r--r--openpgp/src/crypto/backend/nettle.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/openpgp/src/crypto/backend/nettle.rs b/openpgp/src/crypto/backend/nettle.rs
index e7614445..7bbea8ca 100644
--- a/openpgp/src/crypto/backend/nettle.rs
+++ b/openpgp/src/crypto/backend/nettle.rs
@@ -3,6 +3,7 @@
use nettle::random::{Random, Yarrow};
pub mod asymmetric;
+pub mod ecdh;
/// Fills the given buffer with random data.
pub fn random<B: AsMut<[u8]>>(mut buf: B) {