Category: Updating TLS secrets
CBC mode – Block Ciphers and Their Modes of Operation
14.4.2 CBC mode Cipher Block Chaining (CBC), illustrated in Figure 14.9, is a mode of operation that chains the ciphertext blocks. CBC encryption is probabilistic, meaning that two identical plaintext blocks will result in two different ciphertext blocks: Figure 14.9: Working principle of the CBC mode of operation The initial ciphertext block c0 is set…
Read MoreCBC-MAC – Block Ciphers and Their Modes of Operation
14.4.3 CBC-MAC Looking closely at Figure 14.9 again, we can see that the last cipher block c3 depends on all plaintext blocks m1,m2,m3. Of course this is also true for an arbitrary number of plaintext blocks. Therefore, one can construct a message authentication code over some plaintext message m called the CBC-MAC by encrypting m…
Read More