Security of COFB against Chosen Ciphertext Attacks

Authors

  • Mustafa Khairallah Nanyang Technological University Singapore, Singapore

DOI:

https://doi.org/10.46586/tosc.v2022.i1.138-157

Keywords:

COFB, GIFT, Block Cipher, NIST, AEAD, Authenticated Encryption, Forgery, CCA, Indistinguishability, Privacy

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 qd/2n/2, given qd forgery attempts. In particular, we show an attack with 2n/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 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 nqd/2n/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.

Downloads

Published

2022-03-11

Issue

Section

Articles

How to Cite

Security of COFB against Chosen Ciphertext Attacks. (2022). IACR Transactions on Symmetric Cryptology, 2022(1), 138-157. https://doi.org/10.46586/tosc.v2022.i1.138-157