Tempo: An ML-KEM to PAKE Compiler Resilient to Timing Attacks
Proposes Tempo, an ML-KEM-to-PAKE compiler that sends the public-key seed in the clear so off-the-shelf ML-KEM can be used without timing leaks from password-encrypted rejection sampling.
Schemes: ML-KEM, Tempo, CHIC, NoIC, EKE
Findings (quotes checked against the source text)
-
ML-KEM public-key seed expansion uses rejection sampling that is typically variable-time, so public-key-dependent computation can leak timing.
This expansion procedure relies on rejection sampling which is, typically, implemented as a variable-time algorithm.
-
Tempo transmits the seed in the clear, decoupling password-dependent computation from seed expansion so off-the-shelf ML-KEM implementations can be used.
our proposal transmits the seed in the clear, decoupling password-dependent computations from the seed expansion step.
-
Constant-time alternatives to ML-KEM rejection sampling are possible but impose a performance penalty.
First, we explore constant-time alternatives to ML-KEM rejection sampling, but as one might expect, such methods impose a performance penalty on ML-KEM.
-
Tempo's security is shown in the UC framework assuming ML-KEM security under adversarially chosen seeds, justified by a new Oracle-MLWE assumption.
assuming ML-KEM security under adversarially chosen seeds. We justify this assumption via a new hardness assumption, which we call Oracle-MLWE
For builders
If you build PAKE-protected ML-KEM key exchange on a chain or wallet, keep the seed public and encrypt only the rest of the key so unmodified constant-time-audited ML-KEM code can be used.
Limits
Abstract-only read; full text not reviewed. Security rests on a new Oracle-MLWE assumption in the random oracle model; performance numbers not given in abstract.
Topics: kem implementation-sidechannel hybrid-schemes cryptanalysis