minor edits

This commit is contained in:
Heiko Schaefer 2023-12-12 23:44:23 +01:00
parent 06d986e234
commit 4f00732291
No known key found for this signature in database
GPG key ID: DAE9A9050FCCF1EB

View file

@ -49,7 +49,7 @@ With version 4 SKESK packets, which are only used with version 1 SEIPD packets,
(decryption-skesk4-direct-method)= (decryption-skesk4-direct-method)=
#### Direct-Method #### Direct-Method
In version 4 of the SKESK packet, the encrypted session key is optional. A missing encrypted session key signals the use of the "direct-method", which means, the result of passing the passphrase through the S2K function is directly used as the session key/message key. In version 4 of the SKESK packet, the encrypted session key is optional. A missing encrypted session key signals the use of the "direct-method," which means the result of passing the passphrase through the S2K function is directly used as the session key/message key.
When the direct method is used, the symmetric cipher algorithm ID of the SKESK packet dictates the cipher algorithm used to decrypt the plaintext from the SEIPD packet. When the direct method is used, the symmetric cipher algorithm ID of the SKESK packet dictates the cipher algorithm used to decrypt the plaintext from the SEIPD packet.
@ -135,7 +135,6 @@ Once the cipher is initialized, the whole encrypted data from the SEIPD packet i
The contents of the SEIPD packet are decrypted using the session key as message key. The contents of the SEIPD packet are decrypted using the session key as message key.
``` ```
## SEIPD w/ AEAD (v2) ## SEIPD w/ AEAD (v2)
Preferred mode. Preferred mode.
@ -167,7 +166,6 @@ After all blocks have been processed, in a final AEAD step, the total number of
Each chunk is decrypted using AEAD using the message key and an IV with appended chunk index. Each chunk is decrypted using AEAD using the message key and an IV with appended chunk index.
``` ```
## SED ## SED
Legacy mode, may be decrypted, but not produced. Legacy mode: may be decrypted, but not produced.