International Association for Cryptologic Research

International Association
for Cryptologic Research

CryptoDB

Strengthened Encryption in the CBC Mode

Authors:
Vlastimil Klima
Tomas Rosa
Download:
URL: http://eprint.iacr.org/2002/061
Search ePrint
Search Google
Abstract: Vaudenay [1] has presented an attack on the CBC mode of block ciphers, which uses padding according to the PKCS#5 standard. One of the countermeasures, which he has assumed, consisted of the encryption of the message M?= M || padding || hash(M || padding) instead of the original M. This can increase the length of the message by several blocks compared with the present padding. Moreover, Wagner [1] showed a security weakness in this proposal. The next correction, which Vaudenay proposed ("A Fix Which May Work") has a general character and doesn't solve practical problems with the real cryptographic interfaces used in contemporary applications. In this article we propose three variants of the CBC mode. From the external point of view they behave the same as the present CBC mode with the PKCS#5 padding, but they prevent Vaudenay's attack.
BibTeX
@misc{eprint-2002-11585,
  title={Strengthened Encryption in the CBC Mode},
  booktitle={IACR Eprint archive},
  keywords={secret-key cryptography / block ciphers, block-cipher modes, CBC, side-channel, modes of operation, PKCS#5 padding, implementation, cryptoAPI},
  url={http://eprint.iacr.org/2002/061},
  note={ vlastimil.klima@i.cz 11927 received 24 May 2002, last revised 28 Aug 2002},
  author={Vlastimil Klima and Tomas Rosa},
  year=2002
}