summaryrefslogtreecommitdiffstats
path: root/openpgp/src/crypto
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-06-24 14:31:52 +0200
committerJustus Winter <justus@sequoia-pgp.org>2019-06-24 17:57:53 +0200
commitade1e717469eb945a285d33975d85575649b4166 (patch)
tree3a932e9fc0bd251b54dd1938973930656baeb3d9 /openpgp/src/crypto
parent664316de70555d350886cd2c416b3c7da86af3ad (diff)
openpgp: Typo.
Diffstat (limited to 'openpgp/src/crypto')
-rw-r--r--openpgp/src/crypto/ecdh.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/openpgp/src/crypto/ecdh.rs b/openpgp/src/crypto/ecdh.rs
index c121d3e4..371841bd 100644
--- a/openpgp/src/crypto/ecdh.rs
+++ b/openpgp/src/crypto/ecdh.rs
@@ -82,8 +82,7 @@ pub fn wrap_session_key(recipient: &Key, session_key: &[u8])
_ => unreachable!(),
};
- // Compute the public key. We need to add an encoding
- // octet in front of the key.
+ // Compute the public key.
let VB = ecdh::point_mul_g(&v);
let (VBx, VBy) = VB.as_bytes();
let VB = MPI::new_weierstrass(&VBx, &VBy, field_sz);