diff options
author | Igor Matuszewski <igor@sequoia-pgp.org> | 2020-04-10 00:03:01 +0200 |
---|---|---|
committer | Igor Matuszewski <igor@sequoia-pgp.org> | 2020-06-22 11:57:06 +0200 |
commit | df5eb44e8e442c5bc4d958d914121075258393ec (patch) | |
tree | f5106537792d08b7b33920aa5467f0dedae91121 /openpgp/src/crypto/backend/nettle.rs | |
parent | baf6f108b94f7e7b3a2ec12396e9bfbbd67c76ee (diff) |
openpgp: Move Nettle asymmetric impls to the backend module
Diffstat (limited to 'openpgp/src/crypto/backend/nettle.rs')
-rw-r--r-- | openpgp/src/crypto/backend/nettle.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openpgp/src/crypto/backend/nettle.rs b/openpgp/src/crypto/backend/nettle.rs index 5c0149fc..e7614445 100644 --- a/openpgp/src/crypto/backend/nettle.rs +++ b/openpgp/src/crypto/backend/nettle.rs @@ -2,6 +2,8 @@ use nettle::random::{Random, Yarrow}; +pub mod asymmetric; + /// Fills the given buffer with random data. pub fn random<B: AsMut<[u8]>>(mut buf: B) { Yarrow::default().random(buf.as_mut()); |