diff options
-rw-r--r-- | content/articles/2022-09-25-ductf-file-magic.md | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/content/articles/2022-09-25-ductf-file-magic.md b/content/articles/2022-09-25-ductf-file-magic.md index 4a0ce45..42d6429 100644 --- a/content/articles/2022-09-25-ductf-file-magic.md +++ b/content/articles/2022-09-25-ductf-file-magic.md @@ -95,8 +95,11 @@ the IV directly as follows: - $m$: first plaintext block - $c$: first ciphertext block -$$ c = AES(m \oplus IV) \\ AES^{-1}(c) = m \oplus IV \\ AES^{-1}(c) \oplus m = -IV \\ $$ +$$ c = AES(m \oplus IV) \\ + +AES^{-1}(c) = m \oplus IV \\ + +AES^{-1}(c) \oplus m = IV \\ $$ All blocks after the first are now "uncontrollable" as ciphertext because IV and plaintext are set. |