There is a newer version of this record available.

Conference paper Open Access

# A Lightweight Implementation of NTRUEncrypt for 8-bit AVR Microcontrollers

Cheng, H.; Großschädl, J.; Rønne, P.; Ryan, P.

### Dublin Core Export

<?xml version='1.0' encoding='utf-8'?>
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
<dc:creator>Cheng, H.</dc:creator>
<dc:creator>Großschädl, J.</dc:creator>
<dc:creator>Rønne, P.</dc:creator>
<dc:creator>Ryan, P.</dc:creator>
<dc:date>2020-07-16</dc:date>
<dc:description>Introduced in 1996, NTRUEncrypt is not only one of the earliest but also one of the most scrutinized lattice-based cryptosystems and a serious contender in NIST’s ongoing Post-Quantum Cryptography (PQC) standardization project. An important criterion for the assessment of candidates is their computational cost in various hardware and software environments. This paper contributes to the evaluation of NTRUEncrypt on the ATmega class of AVR microcontrollers, which belongs to the most popular 8-bit platforms in the embedded domain. More concretely, we present AvrNtru, a carefully-optimized implementation of NTRUEncrypt that we developed from scratch with the goal of achieving high performance and resistance to timing attacks. AvrNtru complies with version 3.3 of the EESS#1 specification and supports recent product-form parameter sets like ees443ep1, ees587ep1, and ees743ep1. A full encryption operation (including mask generation and blindingpolynomial generation) using the ees443ep1 parameters takes 834,272 clock cycles on an ATmega1281 microcontroller; the decryption is slightly more costly and has an execution time of 1,061,683 cycles. When choosing the ees743ep1 parameters to achieve a 256-bit security level, 1,539,829 clock cycles are cost for encryption and 2,103,228 clock cycles for decryption. We achieved these results thanks to a novel hybrid technique for multiplication in truncated polynomial rings where one of the operands is a sparse ternary polynomial in product form. Our hybrid technique is inspired by Gura et al’s hybrid method for multiple-precision integer multiplication (CHES 2004) and takes advantage of the large register file of the AVR architecture to minimize the number of load instructions. A constant-time multiplication in the ring specified by the ees443ep1 parameters requires only 210,827 cycles, which sets a new speed record for the arithmetic component of a lattice-based cryptosystem on an 8-bit microcontroller.</dc:description>
<dc:identifier>https://zenodo.org/record/3947856</dc:identifier>
<dc:identifier>10.5281/zenodo.3947856</dc:identifier>
<dc:identifier>oai:zenodo.org:3947856</dc:identifier>
<dc:language>eng</dc:language>
<dc:relation>info:eu-repo/grantAgreement/EC/H2020/779391/</dc:relation>
<dc:relation>doi:10.5281/zenodo.3947855</dc:relation>
<dc:relation>url:https://zenodo.org/communities/futuretpm-h2020</dc:relation>
<dc:rights>info:eu-repo/semantics/openAccess</dc:rights>
<dc:subject>Post-Quantum Cryptography</dc:subject>
<dc:subject>NTRU</dc:subject>
<dc:subject>Polynomial Arithmetic</dc:subject>
<dc:subject>Product- Form Polynomials</dc:subject>
<dc:subject>Constant-Time Implementation</dc:subject>
<dc:title>A Lightweight Implementation of NTRUEncrypt for 8-bit AVR Microcontrollers</dc:title>
<dc:type>info:eu-repo/semantics/conferencePaper</dc:type>
<dc:type>publication-conferencepaper</dc:type>
</oai_dc:dc>

44
48
views