Abstract

We study the synthesis of small functions used as building blocks in lightweight cryptographic designs in terms of hardware implementations. This phase most notably appears during the ASIC implementation of cryptographic primitives. The quality of this step directly affects the output circuit, and while general tools exist to carry out this task, most of them belong to proprietary software suites and apply heuristics to any size of functions. In this work, we focus on small functions (4- and 8-bit mappings) and look for their optimal implementations on a specific weighted instructions set which allows fine tuning of the technology. We propose a tool named LIGHTER, based on two related algorithms, that produces optimized implementations of small functions. To demonstrate the validity and usefulness of our tool, we applied it to two practical cases: first, linear permutations that define diffusion in most of SPN ciphers; second, non-linear 4-bit permutations that are used in many lightweight block ciphers. For linear permutations, we exhibit several new MDS diffusion matrices lighter than the state-of-the-art, and we also decrease the implementation cost of several already known MDS matrices. As for non-linear permutations, LIGHTER outperforms the area-optimized synthesis of the state-of-the-art academic tool ABC. Smaller circuits can also be reached when ABC and LIGHTER are used jointly.

Highlights

  • Pervasive computing is becoming increasingly important in many applications of our daily life

  • We apply LIGHTER to search for area-optimized implementations of several 4-bit Sboxes and we show that our tool outperforms the state-of-the-art synthesis tool ABC almost all the time

  • We present the results of our search on linear layer consisting of maximum distance separable (MDS) matrices

Read more

Summary

Introduction

Pervasive computing is becoming increasingly important in many applications of our daily life. Lightweight devices such as RFID tags and wireless sensor nodes might manipulate sensitive data and usually require some security. Lightweight cryptography has become an extremely active research topic in the recent years, with several new lightweight symmetric-key primitives being proposed, e.g., [BJK+16, SIH+11, BKL+07, SMMK13, BSS+13]. In this context, there have been many advances in finding the best possible and in particular the most lightweight building bricks to design a symmetric-key primitive. Diffusion matrices [KPPY14, SKOP15, LS16, LW16, BKL16] and Sboxes [UDCI+11, Osv00, Saa, Can, CDL16] were thoroughly scrutinized as they are considered classical components of modern SPN ciphers

Objectives
Results
Conclusion
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call