Foxtail+: A Learning with Errors-based Authentication Protocol for Resource-Constrained Devices

Matthieu Monteiro, Kumara Kahatapitiya, Hassan Jameel Asghar, Kanchana Thilakarathna, Thierry Rakotoarivelo, Dali Kaafar, Shujun Li, Ron Steinfeld, Josef PieprzykIACR ePrint 2020

Introduction

The Internet of Things (IoT) ecosystem is characterized by billions of devices with severe resource constraints, including limited battery life, minimal memory, and low-power CPUs. While standard cryptographic protocols like AES provide robust security, they can be computationally intensive for the simplest sensors. Lightweight alternatives, such as the HB+ protocol based on the Learning Parity with Noise (LPN) problem, often suffer from high communication overhead due to the large number of rounds required to ensure security. In Low-Power Wide-Area Networks (LPWANs) like LoRa, the radio transceiver is the primary source of energy depletion. Consequently, reducing communication rounds is critical for extending device lifespan. This paper presents Foxtail+, an authentication protocol designed to provide robust security with significantly reduced communication overhead.

The Foxtail+ Protocol

Foxtail+ is an evolution of a protocol originally designed for human mental computation, adapted for machine-to-machine authentication. At its core is the Foxtail Function, a deterministic operation that computes the dot product of a secret vector and a challenge vector, followed by a "rounding" operation (a floor function).

The security of Foxtail+ is mathematically grounded in the Learning with Rounding (LWR) problem, a variant of the Learning with Errors (LWE) problem frequently used in post-quantum cryptography. Unlike the original Foxtail, Foxtail+ incorporates a "blinding" step to defend against active adversaries who might inject malicious messages. By using deterministic rounding instead of the probabilistic noise found in HB+, Foxtail+ eliminates false rejections and allows for a more efficient authentication process with fewer communication rounds.

Experimental Methodology

To validate the protocol's performance, the researchers implemented Foxtail+ on actual LoRa hardware and compared it against established benchmarks.

Experimental testbed for measuring Foxtail+ performance on LoRa hardware.

The experimental setup, as shown in the figure above, utilized a LoRa NAMote (915MHz) as the client device and a Kerlink Wirnet Station as the gateway. A Monsoon Power Monitor was employed to capture real-time power consumption data. The protocol was benchmarked against HB+ and AES-128/256 implementations on the same hardware to ensure a fair comparison of execution time, energy consumption, and data overhead.

Key Results and Insights

The study highlights that for IoT devices on networks like LoRa, the energy cost of data transmission far outweighs the computational cost of the underlying mathematics. Foxtail+ addresses this bottleneck effectively:

  • Efficiency Gains: Foxtail+ outperforms the HB+ protocol by a factor of 10 in communication volume and 20 in total energy consumption.
  • Comparison with AES: Through parallelization—bundling multiple challenges into a single packet—Foxtail+ achieved energy consumption levels very close to highly optimized block ciphers like AES. This demonstrates that LWR-based protocols are practical alternatives for IoT security.
  • Security Robustness: Using algebraic analysis (Gröbner basis algorithms), the authors established that for a 128-bit secret, the protocol remains secure for millions of authentication rounds before requiring a key refresh.

Limitations and Future Work

Despite its advantages, Foxtail+ faces practical challenges. The protocol requires the generation of "blinds" (random numbers), yet many low-cost IoT chips lack high-quality hardware True Random Number Generators (TRNG). Additionally, the current security model is detection-based; while it can identify and terminate a session under attack, it does not necessarily prevent the initial malicious interaction.

Future research will focus on exploring the "gate complexity" of Foxtail+ to determine if it offers manufacturing cost advantages over AES. Furthermore, extending the underlying algebraic theory from finite fields to commutative rings remains an open theoretical challenge.

Summary updated

BibTeX
@article{monteiro2020foxtail,
  author = {Matthieu Monteiro and Kumara Kahatapitiya and Hassan Jameel Asghar and Kanchana Thilakarathna and Thierry Rakotoarivelo and Dali Kaafar and Shujun Li and Ron Steinfeld and Josef Pieprzyk},
  title = {{Foxtail+: A Learning with Errors-based Authentication Protocol for Resource-Constrained Devices}},
  journal = {IACR Cryptol. ePrint Arch.},
  year = {2020},
}
Figure