Paper 2021/648
Security of COFB against Chosen Ciphertext Attacks
Mustafa Khairallah
Abstract
COFB is a lightweight Authenticated Encryption with Associated Data (AEAD) mode based on block ciphers. It was proposed in CHES 2017 and is the basis for GIFT-COFB, a finalist in the NIST lightweight standardization project. It comes with provable security results that guarantee its security up to the birthday bound in the nonce-respecting model. However, the designers offer multiple versions of the analysis with different details and the implications of attacks against the scheme are not discussed deeply. In this article, we look at a group of possible forgery and privacy attacks against COFB. We show that the security for both forgery and privacy is bounded by the number of forgery attempts. We show the existence of forgery and privacy attacks with success probability $q_d/2^{n/2}$, given $q_d$ forgery attempts. In particular, we show an attack with $2^{n/2}$ attempts using only a single known-plaintext encryption query against COFB. While these attacks do not contradict the claims made by the designers of GIFT-COFB, they show its limitations in terms of the number of forgery attempts. They also show that, while COFB generates a 128-bit tag, it behaves in a very similar manner to an AEAD scheme with 64-bit tag. As a result of independent interest, our analysis provides a contradiction to the main theorem of {\it Journal of Cryptology volume 33, pages 703–741 (2020)}, which includes an improved security proof of COFB compared to the CHES 2017 version. Finally, we discuss the term $nq_d/2^{n/2}$ that appears in the security proof of GIFT-COFB and CHES 2017, showing why there is a security gap between the provable results and the attacks. We emphasize that the results in this article do not threaten the security of GIFT-COFB in the scope of the NIST lightweight cryptography requirements or the claims made by the designers in the specification document of the design.
Metadata
- Available format(s)
- Category
- Secret-key cryptography
- Publication info
- Published by the IACR in FSE 2022
- Keywords
- AEADGIFTCOFBForgeryConfidentialityAuthenticationAuthenticated Encryption
- Contact author(s)
- mustafa khairallah @ ntu edu sg
- History
- 2022-02-22: last of 7 revisions
- 2021-05-20: received
- See all versions
- Short URL
- https://ia.cr/2021/648
- License
-
CC BY
BibTeX
@misc{cryptoeprint:2021/648, author = {Mustafa Khairallah}, title = {Security of {COFB} against Chosen Ciphertext Attacks}, howpublished = {Cryptology {ePrint} Archive, Paper 2021/648}, year = {2021}, url = {https://eprint.iacr.org/2021/648} }