Accelerating the Final Exponentiation in the Computation of the Tate Pairings

Taechan Kim, Sungwook Kim, Jung Hee CheonIACR ePrint 2012

Introduction

Pairing-based cryptography has become a cornerstone of modern cryptographic protocols, enabling advanced features such as identity-based encryption (IBE), short signatures, and zero-knowledge proofs. At the heart of these protocols lies the computation of the Tate pairing, a bilinear map that is computationally intensive. The computation is typically divided into two distinct phases: the Miller step and the final exponentiation. While the Miller step has seen extensive optimization over the last two decades, the final exponentiation remains a significant computational bottleneck.

In this paper, Taechan Kim, Sungwook Kim, and Jung Hee Cheon from Seoul National University propose a novel method to accelerate this final step. By leveraging lattice reduction techniques, specifically the Lenstra–Lenstra–Lovász (LLL) algorithm, the authors demonstrate a systematic way to reduce the number of squarings required during exponentiation, offering performance gains for a wide variety of pairing-friendly elliptic curves.

The Final Exponentiation Bottleneck

The Tate pairing $e(P, Q)$ involves raising a field element to the power of $(q^k - 1)/r$, where $q$ is the field characteristic, $k$ is the embedding degree, and $r$ is the group order. This exponentiation is usually split into an "easy part" and a "hard part." The hard part involves raising the element to the power $\lambda = \Phi_k(q)/r$, where $\Phi_k$ is the $k$-th cyclotomic polynomial.

The computational cost of this hard part is dominated by the number of squarings and multiplications in the extension field $\mathbb{F}_{q^k}$. Specifically, the number of squarings is tied to the bit-length of the coefficients when $\lambda$ is expressed in a $q$-ary representation. For many ordinary elliptic curves, this step can account for 40% to 50% of the total pairing computation time.

Lattice-Based Exponent Optimization

The authors' primary contribution is the realization that the standard exponent $\lambda$ is not the only viable choice. In the context of cryptographic pairings, any exponent that is a multiple of $\lambda$ (say, $m\lambda$) is acceptable, provided that the integer $m$ is relatively prime to the group order $r$. This ensures the pairing remains non-degenerate and maintains its cryptographic properties.

This "extra degree of freedom" allows for the search for an integer $m$ that minimizes the coefficients of the $q$-ary representation of $m\lambda$. The authors frame this search as a Shortest Vector Problem (SVP) within a $d$-dimensional lattice. By constructing a specific lattice and applying the LLL algorithm, they can efficiently find a value for $m$ that results in a significantly more computationally efficient exponent.

Theoretical Bounds and "FE-Friendly" Curves

Beyond the lattice optimization, the paper provides a theoretical analysis of what makes a curve "Final-Exponentiation Friendly" (FE-friendly). They establish a theoretical lower bound for the number of squarings based on the curve's embedding degree $k$ and the $\rho$-value (the ratio of the field size to the group order).

This analysis reveals that certain popular curves, such as Barreto-Naehrig (BN) curves, are already near-optimal. Their parameters were originally chosen in a way that naturally results in small coefficients for the final exponentiation. The authors use the Minkowski bound to show that there is a fundamental limit to how much these exponents can be compressed. Consequently, their method is most impactful for curves that were not specifically designed with final exponentiation efficiency in mind.

Experimental Results

The proposed method was tested across several families of pairing-friendly curves, yielding the following results:

  • DEM (Dupont-Enge-Morain) Curves: These curves saw the most significant improvements. For $k=5$, the method reduced squarings by 12% and multiplications by 18.6%. For $k=10$, squarings were reduced by 12.5% and multiplications by 7.6%.
  • Park-Lee Curves: These curves achieved a 4.5% reduction in squarings.
  • BN (Barreto-Naehrig) Curves: As predicted by the theoretical analysis, the gains here were negligible. The lattice reduction only reduced the coefficient size from 192 bits to 190 bits, confirming that BN curves are already highly optimized for final exponentiation.

Conclusion

The research provides a powerful, generalized tool for optimizing pairing-based cryptography. While specialized curves like BN curves may not see drastic improvements, the lattice-based approach provides a significant speedup for other classes of curves, such as DEM and Park-Lee curves. By turning an exponentiation problem into a geometric lattice problem, the authors have provided a robust method to increase the efficiency of the final exponentiation step, ultimately improving the performance of modern cryptographic protocols.

Summary updated

BibTeX
@article{kim2012accelerating,
  author = {Taechan Kim and Sungwook Kim and Jung Hee Cheon},
  title = {{Accelerating the Final Exponentiation in the Computation of the Tate Pairings}},
  journal = {IACR Cryptol. ePrint Arch.},
  year = {2012},
}
Figure