diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-07-31 13:42:25 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-07-31 17:58:01 +0200 |
commit | 2dd007f1169c044dae189be8f788f4128501b8cd (patch) | |
tree | a2d463a68da4bd68970031ea1dc7ee3d2311ec35 /openpgp/src/crypto/mpi.rs | |
parent | de2d146f0dde5cebbe2eaeda842a2a2aaaeed024 (diff) |
openpgp: Improve documentation of crypto::hash.
- See #474.
Diffstat (limited to 'openpgp/src/crypto/mpi.rs')
-rw-r--r-- | openpgp/src/crypto/mpi.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/openpgp/src/crypto/mpi.rs b/openpgp/src/crypto/mpi.rs index 25150a7e..b2610810 100644 --- a/openpgp/src/crypto/mpi.rs +++ b/openpgp/src/crypto/mpi.rs @@ -179,7 +179,6 @@ impl fmt::Debug for MPI { } impl Hash for MPI { - /// Update the Hash with a hash of the MPIs. fn hash(&self, hash: &mut hash::Context) { let len = self.bits() as u16; @@ -408,7 +407,6 @@ impl PublicKey { } impl Hash for PublicKey { - /// Update the Hash with a hash of the MPIs. fn hash(&self, hash: &mut hash::Context) { self.serialize(hash).expect("hashing does not fail") } @@ -678,7 +676,6 @@ impl SecretKeyMaterial { } impl Hash for SecretKeyMaterial { - /// Update the Hash with a hash of the MPIs. fn hash(&self, hash: &mut hash::Context) { self.serialize(hash).expect("hashing does not fail") } @@ -781,7 +778,6 @@ impl Ciphertext { } impl Hash for Ciphertext { - /// Update the Hash with a hash of the MPIs. fn hash(&self, hash: &mut hash::Context) { self.serialize(hash).expect("hashing does not fail") } @@ -867,7 +863,6 @@ pub enum Signature { } impl Hash for Signature { - /// Update the Hash with a hash of the MPIs. fn hash(&self, hash: &mut hash::Context) { self.serialize(hash).expect("hashing does not fail") } |