From a80b5c677417cdbc17df3109ef9d12afe79973cc Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sun, 25 Sep 2022 18:29:12 +0200 Subject: latex formatting --- content/articles/2022-09-25-ductf-file-magic.md | 7 +++++-- 1 file 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. -- cgit v1.2.3-70-g09d2