Improve diagrams

This commit is contained in:
Paul Schaub 2023-12-08 16:21:45 +01:00 committed by Heiko Schaefer
parent d2def8cb89
commit 65cf7fbcf9
No known key found for this signature in database
GPG key ID: DAE9A9050FCCF1EB
9 changed files with 115 additions and 113 deletions

View file

@ -128,13 +128,7 @@ Since SEIPD version 1 is susceptible to downgrade attacks under certain scenario
```
To decrypt the contents of a version 1 SEIPD packet, the session-key obtained in the previous step is used.
The cipher algorithm is determined by TODO.
```{admonition} TODO
:class: warning
Describe in detail, how the cipher algorithm is obtained.
```
The cipher algorithm is either extracted from the decrypted session-key (the algorithm ID is typically prefixed to the decrypted session-key), or - in case of a SKESK packet using the direct-method - taken from the SKESKs cipher algorithm field.
Once the cipher is initialized, the whole encrypted data from the SEIPD packet is decrypted.