Provably Secure Three-party Password Authenticated Key Exchange Protocol Based On Ring Learning With Error

Dongqing Xu, Debiao He, Kim-Kwang Raymond Choo, Jianhua Chen

TL;DR

This paper presents the first three-party password-authenticated key exchange (3PAKE) protocol built on lattice-based cryptography. By leveraging the Ring Learning With Errors (RLWE) problem, the authors provide a post-quantum secure method for two clients to establish a session key via a trusted server using only simple passwords, outperforming traditional elliptic curve methods by nearly two orders of magnitude.

What Problem Does This Paper Address?

Password-Authenticated Key Exchange (PAKE) is a cornerstone of modern security, allowing users to turn low-entropy passwords into high-entropy session keys. While two-party PAKE is common, it doesn't scale well; in a network of $n$ users, every user would need to manage $n-1$ passwords. Three-party PAKE (3PAKE) solves this by introducing a trusted server that shares a unique password with each client, acting as a bridge to help them establish a direct key.

The looming threat of quantum computing makes current 3PAKE protocols—which rely on the hardness of factoring or discrete logarithms (RSA, ECC)—obsolete. While some "post-quantum" attempts exist, they often rely on the "ideal cipher model" (a very strong, sometimes unrealistic assumption) or lack formal security proofs. This paper aims to fill that gap by creating a 3PAKE protocol that is both efficient and resilient to quantum attacks.

Methods

The authors construct their protocol using Lattice-based cryptography, specifically the Ring Learning With Errors (RLWE) problem. RLWE is considered a "hard" problem even for quantum computers.

Key technical components include:

  • RLWE-PAK Foundation: The protocol builds upon previous work in two-party lattice-based PAKE.
  • Reconciliation Functions: Because lattice-based schemes involve "noise" (the "Error" in RLWE), the parties won't naturally arrive at the exact same value. The authors use specific functions called Cha (a characteristic function) and Mod2 to help the clients "reconcile" their values and agree on the same bit string without leaking the key.
  • Random Oracle Model: The authors provide a formal security proof using a sequence of "games" to demonstrate that an adversary cannot distinguish the session key from a random string, even if they can intercept messages or guess passwords.

Datasets

As a theoretical and implementation-focused cryptography paper, it does not use a traditional "dataset." Instead, it evaluates performance through:

  • LatticeCrypto Library: A C-based library used to implement the proposed RLWE-3PAKE.
  • MIRACL Library: Used to implement a benchmark ECC-based 3PAKE protocol for comparison.
  • Parameter Settings: The implementation used $n = 1024$ and $q = 12289$, providing a security level equivalent to 3072-bit RSA.

Key Insights and Ideas

  • Lattices are Fast: The "aha moment" here is the sheer speed of lattice operations. Unlike Elliptic Curve Cryptography (ECC), which requires heavy point multiplications, lattice-based schemes mostly involve polynomial addition and multiplication, which are extremely efficient on modern CPUs.
  • Parallelism with ECC: The authors designed the protocol to be "parallel analogous" to ECC-based 3PAKE. This makes the transition easier for engineers familiar with traditional 3PAKE architectures.
  • Noise as a Feature, Not a Bug: The protocol successfully manages the inherent errors of RLWE through clever reconciliation, ensuring that the "fuzziness" of lattice math doesn't prevent the two clients from reaching a perfectly synchronized session key.

Key Results

The implementation results show a massive performance leap over traditional methods:

  • Total Execution Time: The proposed RLWE-3PAKE took only 0.259 ms for a full exchange.
  • Comparison: The benchmark ECC-based protocol took 53.302 ms.
  • Efficiency: The new protocol is roughly 205 times faster than the ECC-based equivalent while providing post-quantum security.
  • Security: The protocol is provably secure against both online and offline dictionary attacks and provides "weak perfect forward secrecy" (meaning past keys remain safe even if a password is leaked later).

Limitations and Future Work

  • Quantum Random Oracle Model (QROM): The security proof is conducted in the standard Random Oracle Model. The authors acknowledge that a more robust proof in the Quantum Random Oracle Model (which assumes the adversary has a quantum computer to query hash functions) is a necessary next step.
  • Group PAKE: The current work is limited to three parties (two clients and one server). The authors suggest extending this logic to "Group PAKE" settings involving many more participants.
  • Active Quantum Adversaries: While the underlying math is quantum-resistant, the security model used for the proof is classical. Future research is needed to ensure the protocol holds up against an active adversary equipped with a quantum computer during the exchange itself.

Summary updated

BibTeX
@article{xu2017provably,
  author = {Dongqing Xu and Debiao He and Kim-Kwang Raymond Choo and Jianhua Chen},
  title = {{Provably Secure Three-party Password Authenticated Key Exchange Protocol Based On Ring Learning With Error}},
  journal = {IACR Cryptol. ePrint Arch.},
  year = {2017},
  url = {https://openreview.net/forum?id=J65JNLi6TW},
}
Figure