Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/Makefile.assets
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ ASSETS += Illustrations/DiffieHellman/SharedSecret.svg

# .dot assets
ASSETS += Illustrations/BlockCipher/AllNodes.svg
ASSETS += Illustrations/BlockCipher/Decryption.svg
ASSETS += Illustrations/BlockCipher/Encryption2.svg
ASSETS += Illustrations/BlockCipher/Encryption.svg
ASSETS += Illustrations/BlockCipher/BCDecryption.svg
ASSETS += Illustrations/BlockCipher/BCEncryption2.svg
ASSETS += Illustrations/BlockCipher/BCEncryption.svg

# .mp assets
ASSETS += Illustrations/CTR/CTR.svg
ASSETS += Illustrations/OCB/Encryption.svg
ASSETS += Illustrations/OCB/OCBEncryption.svg
ASSETS += Illustrations/OCB/Auth.svg
ASSETS += Illustrations/OAEP/Diagram.svg
ASSETS += Illustrations/OAEP/OAEPDiagram.svg
ASSETS += Illustrations/ECBEncryptionOracle/GuessFirst.svg
ASSETS += Illustrations/ECBEncryptionOracle/GuessSecond.svg
ASSETS += Illustrations/ECBEncryptionOracle/RememberSecond.svg
Expand Down
6 changes: 3 additions & 3 deletions src/block-ciphers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ encrypted with :math:`E` under key :math:`k` and the arrowhead is mapped to the

.. _fig-BlockCipherEncryption:

.. figure:: Illustrations/BlockCipher/Encryption.svg
.. figure:: Illustrations/BlockCipher/BCEncryption.svg
:align: center

An encryption permutation made by a block cipher under a particular key :math:`k`.
Expand All @@ -92,7 +92,7 @@ in the opposite direction.

.. _fig-BlockCipherDecryption:

.. figure:: Illustrations/BlockCipher/Decryption.svg
.. figure:: Illustrations/BlockCipher/BCDecryption.svg
:align: center

The decryption permutation produced by the block cipher under the same key
Expand All @@ -106,7 +106,7 @@ arrows, as you can see in :numref:`fig-BlockCipherEncryptionDifferentKey`.

.. _fig-BlockCipherEncryptionDifferentKey:

.. figure:: Illustrations/BlockCipher/Encryption2.svg
.. figure:: Illustrations/BlockCipher/BCEncryption2.svg
:align: center

An encryption permutation produced by the block cipher under a different key.
Expand Down
2 changes: 1 addition & 1 deletion src/message-authentication-codes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ Usually, you will want to use a much more high level cryptosystem, such as OpenP
:term:`OCB mode` is an :term:`AEAD mode` of operation. It is one of the earliest
developed :term:`AEAD mode`\s.

.. figure:: Illustrations/OCB/Encryption.svg
.. figure:: Illustrations/OCB/OCBEncryption.svg
:align: center

As you can see, most of this scheme looks quite similar to
Expand Down
2 changes: 1 addition & 1 deletion src/public-key-encryption.rst
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ the art in RSA padding. It was introduced by Mihir Bellare and Phillip
Rogaway in 1995. :cite:`bellarerogaway:oaep`. Its structure
looks like this:

.. figure:: Illustrations/OAEP/Diagram.svg
.. figure:: Illustrations/OAEP/OAEPDiagram.svg
:align: center

The thing that eventually gets encrypted is :math:`X \| Y`, which is
Expand Down