Efficient software implementations of large finite fields GF(2n) for secure storage applications

  • Authors:
  • Jianqiang Luo;Kevin D. Bowers;Alina Oprea;Lihao Xu

  • Affiliations:
  • Wayne State University, Detroit, MI;RSA Laboratories, Cambridge, MA;RSA Laboratories, Cambridge, MA;Wayne State University, Detroit, MI

  • Venue:
  • ACM Transactions on Storage (TOS)
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

Finite fields are widely used in constructing error-correcting codes and cryptographic algorithms. In practice, error-correcting codes use small finite fields to achieve high-throughput encoding and decoding. Conversely, cryptographic systems employ considerably larger finite fields to achieve high levels of security. We focus on developing efficient software implementations of arithmetic operations in reasonably large finite fields as needed by secure storage applications. In this article, we study several arithmetic operation implementations for finite fields ranging from GF(232) to GF(2128). We implement multiplication and division in these finite fields by making use of precomputed tables in smaller fields, and several techniques of extending smaller field arithmetic into larger field operations. We show that by exploiting known techniques, as well as new optimizations, we are able to efficiently support operations over finite fields of interest. We perform a detailed evaluation of several techniques, and show that we achieve very practical performance for both multiplication and division. Finally, we show how these techniques find applications in the implementation of HAIL, a highly available distributed cloud storage layer. Using the newly implemented arithmetic operations in GF(264), HAIL improves its performance by a factor of two, while simultaneously providing a higher level of security.