Paper 2023/326

A weakness in OCB3 used with short nonces allowing for a break of authenticity and confidentiality

Jean Liénardy
Frédéric Lafitte
Abstract

OCB3 is a mature and provably secure authenticated encryption mode of operation which allows for associated data (AEAD). This note reports a small flaw in the security proof of OCB3 that may cause a loss of security in practice, even if OCB3 is correctly implemented in a trustworthy and nonce-respecting module. The flaw is present when OCB3 is used with short nonces. It has security implications that are worse than nonce-repetition as confidentiality and authenticity are lost until the key is changed. The flaw is due to an implicit condition in the security proof and to the way OCB3 processes nonce. Different ways to fix the mode are presented.

PDF
BibTeX
ePrint ↗
@misc{cryptoeprint:2023/326,
      author = {Jean Liénardy and Frédéric Lafitte},
      title = {A weakness in OCB3 used with short nonces allowing for a break of authenticity and confidentiality},
      howpublished = {Cryptology {ePrint} Archive, Paper 2023/326},
      year = {2023},
      url = {https://eprint.iacr.org/2023/326}
}
Category
Attacks and cryptanalysis
License
CC BY
Submitted
Versions

Report a problem

Comments

Log in or create an account

Privacy