Cryptology ePrint Archive: Report 2020/743

A key-recovery timing attack on post-quantum primitives using the Fujisaki-Okamoto transformation and its application on FrodoKEM

Qian Guo and Thomas Johansson and Alexander Nilsson

Abstract: In the implementation of post-quantum primitives, it is well known that all computations that handle secret information need to be implemented to run in constant time. Using the Fujisaki-Okamoto transformation or any of its different variants, a CPA-secure primitive can be converted into an IND-CCA secure KEM. In this paper we show that although the transformation does not handle secret information apart from calls to the CPA-secure primitive, it has to be implemented in constant time. Namely, if the ciphertext comparison step in the transformation is leaking side-channel information, we can launch a key-recovery attack. Several proposed schemes in round 2 of the NIST post-quantum standardization project are susceptible to the proposed attack and we develop and show the details of the attack on one of them, being FrodoKEM. It is implemented on the reference implementation of FrodoKEM, which is claimed to be secure against all timing attacks. Experiments show that the attack code is able to extract the secret key for all security levels using about \(2^{30}\) decapsulation calls.

Category / Keywords: implementation / Lattice-based cryptography, NIST post-quantum standardization, LWE, timing attacks, side-channel attacks

Original Publication (in the same form): IACR-CRYPTO-2020

Date: received 18 Jun 2020

Contact author: alexander nilsson at eit lth se, qian guo@eit lth se, thomas johansson@eit lth se

Available format(s): PDF | BibTeX Citation

Version: 20200618:155253 (All versions of this report)

Short URL: ia.cr/2020/743


[ Cryptology ePrint archive ]