Lecture 11: Encryption Schemes (IV)
Recap: CPA-secure encryption scheme
Modes of Operation
Variable-length CPA-security
Electronic Code Book (ECB) mode
Secure mode of operation 1:�Counter (CTR) mode
Define “bad event” Repeat
Secure mode of operation 2:�Output feedback (OFB) mode
Secure mode of operation 3:�Cipher block chaining (CBC) mode
CBC mode of operation v. CBC-MAC
Comparison of CTR, OFB, CBC
| CTR | OFB | CBC |
parallel encryption | √ | × | × |
parallel decryption | √ | × | √ |
pad prepared in advance | √ | √ | (no pad to speak of) |
CTR
OFB
CBC
PRFs in Practice