diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2022-03-03 16:46:59 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2023-02-16 16:19:38 +0100 |
commit | 1e4c40b44178eb16f00513cbb4fe21fc7aa25928 (patch) | |
tree | 9bbc58669cb4264c69578b8cbabf97a7794fe1cc /openpgp/src | |
parent | 3e5de5149824c32b2f6d82266b0fcf463098ba83 (diff) |
openpgp: Fix documentation.
Diffstat (limited to 'openpgp/src')
-rw-r--r-- | openpgp/src/packet/skesk.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/packet/skesk.rs b/openpgp/src/packet/skesk.rs index f4acb916..412c59c1 100644 --- a/openpgp/src/packet/skesk.rs +++ b/openpgp/src/packet/skesk.rs @@ -464,7 +464,7 @@ impl SKESK5 { let ad = [0xc3, 5, esk_algo.into(), esk_aead.into()]; ctx.update(&ad)?; - // We need to prefix the cipher specifier to the session key. + // Encrypt the session key with the KEK. let mut esk = vec![0u8; session_key.len()]; ctx.encrypt(&mut esk, session_key)?; |