Two-party authenticated key exchange protocol using lattice-based cryptography

Xiaopeng Yang, Wenping MaIACR ePrint 2016

Abstract

As quantum computing advances, traditional cryptographic protocols like RSA and Diffie-Hellman face obsolescence due to Shor’s algorithm. This paper proposes a novel authenticated key exchange (AKE) protocol based on the Ring Learning with Errors (RLWE) problem. The protocol introduces a reconciliation mechanism and utilizes a decoding basis representation to ensure perfectly uniform session keys and significantly reduced communication overhead. Security is established in the Bellare-Rogaway model, demonstrating resistance to quantum attacks and providing weak perfect forward secrecy.

Introduction

The security of modern digital communication relies heavily on the hardness of integer factorization and discrete logarithms. However, these foundations are vulnerable to quantum-enabled adversaries. Lattice-based cryptography, specifically the Ring Learning with Errors (RLWE) variant, has emerged as a robust alternative. Despite its promise, early lattice-based AKE protocols often struggled with statistical bias in session keys and high computational costs due to large moduli. This paper addresses these challenges by refining the reconciliation process and optimizing the underlying mathematical representations.

Problem Statement

Previous attempts at lattice-based AKE protocols exhibited three primary drawbacks that hindered their practical adoption:

  1. Statistical Bias: Generated session keys were not perfectly uniform, providing an adversary with a non-negligible advantage in guessing the key.
  2. Efficiency Constraints: Many protocols required sub-exponential moduli to ensure security, leading to large message sizes and high computational "traffic."
  3. Practical Implementation Gaps: Theoretical models often lacked concrete methods for sampling discrete Gaussian noise from standard hash functions like SHA-2.

Proposed Methodology

The authors construct their protocol over ideal lattices using RLWE. The core of the innovation lies in three areas:

1. Reconciliation Mechanism

To handle the "approximate" commutativity of lattice operations ($s_i \cdot b_j \approx s_j \cdot b_i$), the protocol employs a reconciliation technique inspired by Peikert’s work. As shown in the protocol diagram, Party $j$ computes a reconciliation value $v_j$ using a doubling function ($dbl$), which Party $i$ then uses with a recovery function ($rec$) to synchronize the final secret $\tau$. By expanding the modulus from $q$ to $2q$ during this phase, the authors eliminate the statistical bias found in earlier work.

2. Decoding Basis Representation

The protocol transitions from the standard "power basis" to a "decoding basis" for representing elements in the residue ring $R_q$. This shift allows the protocol to operate with a polynomial-sized modulus $q \approx O(n^2)$, drastically reducing the size of the exchanged messages and the overall computational burden.

3. Concrete Gaussian Sampling

The paper provides an explicit algorithm to map bit strings from standard hash functions to elements following a discrete Gaussian distribution. In the protocol, $H_1$ maps to the noise distribution $\chi_s$, while $H_2$ is used for the final key derivation, bridging the gap between theory and practical implementation.

The proposed RLWE-based authenticated key exchange protocol.

Security and Performance Analysis

The protocol is proven secure in the Bellare-Rogaway model under the RLWE assumption. Key results include:

  • Uniformity: Every bit of the shared session key is proven to be uniformly distributed, removing the bias vulnerabilities of previous designs.
  • Efficiency: The use of a smaller modulus $q$ results in significantly lower communication overhead compared to protocols requiring sub-exponential moduli.
  • Forward Secrecy: The protocol achieves weak Perfect Forward Secrecy (wPFS), protecting past session keys even if long-term static keys are compromised, provided the adversary was passive during the initial exchange.
  • Quantum Resistance: The best-known quantum attacks against this protocol still require exponential time relative to the security parameters.

Conclusion

This research presents a significant step toward practical post-quantum authenticated key exchange. By addressing the issues of key bias and communication efficiency through geometric optimization and refined reconciliation, the proposed protocol offers a viable path for secure communication in the quantum era. Future work will focus on achieving full Perfect Forward Secrecy and establishing standardized parameter sets for various security levels to meet emerging NIST standards.

Summary updated

BibTeX
@article{yang2016two,
  author = {Xiaopeng Yang and Wenping Ma},
  title = {{Two-party authenticated key exchange protocol using lattice-based cryptography}},
  journal = {IACR ePrint},
  year = {2016},
}
Figure