diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2019-12-03 14:24:25 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-12-03 14:24:25 +0100 |
commit | be72e0e4dc08ede35c6e561901ecb780c4f57360 (patch) | |
tree | 74a131202b240bca2d0a5277e675ac57dda23629 /openpgp/src/crypto | |
parent | bd153237fc6eb0a841f4d8b8d79f3383b7115b00 (diff) |
openpgp: Move byte order conversion functions.
Diffstat (limited to 'openpgp/src/crypto')
-rw-r--r-- | openpgp/src/crypto/aead.rs | 2 | ||||
-rw-r--r-- | openpgp/src/crypto/ecdh.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/crypto/aead.rs b/openpgp/src/crypto/aead.rs index 4e16c888..dddc2698 100644 --- a/openpgp/src/crypto/aead.rs +++ b/openpgp/src/crypto/aead.rs @@ -9,7 +9,7 @@ use crate::types::{ AEADAlgorithm, SymmetricAlgorithm, }; -use crate::fmt::{ +use crate::utils::{ write_be_u64, }; use crate::Error; diff --git a/openpgp/src/crypto/ecdh.rs b/openpgp/src/crypto/ecdh.rs index d6c21897..0cde90b3 100644 --- a/openpgp/src/crypto/ecdh.rs +++ b/openpgp/src/crypto/ecdh.rs @@ -13,7 +13,7 @@ use crate::types::{ SymmetricAlgorithm, PublicKeyAlgorithm, }; -use crate::fmt::{ +use crate::utils::{ write_be_u64, read_be_u64, }; |