一种寻找二次向量布尔函数至9维的轻量(与,异或)实现的新工具
A New Tool to Find Lightweight (And, Xor) Implementations of Quadratic Vectorial Boolean Functions up to Dimension 9
AI总结:
提出一种新工具,用于高效实现最多9位的二次向量布尔函数,优化AND门数量,提升计算效率。
摘要:
寻找给定函数的最小电路的问题是电子学中最古老的问题之一。它已知是NP难的。然而,许多工具仍可用于找到实现函数的次优电路。在电子学中,这些工具被称为综合器。然而,这些综合器旨在实现非常大的函数(整个电子芯片)。在密码学中,关注的是小函数,因此需要新的专用工具来处理小函数。已有几种工具可以实现小函数。它们的区别在于算法方法(一些基于Ullrich在2011年引入的深度优先搜索,一些基于SAT求解器,如Stoffelen在2016年设计的工具,一些非通用工具使用子域分解)以及优化标准(一些优化电路大小,其他优化电路深度,还有一些优化侧信道保护实现)。然而,这些工具仅限于操作少于5位的函数,有时是6位的二次函数,或仅限于非常简单的函数。限制在于计算时间过长。我们提出了一种新工具(该工具随IEEE文章一起提供,通过CodeOcean和https://github.com/seduval/implem-quad-sbox),用于实现最多9位的二次函数,AND深度为1,最小化AND门的数量。该工具比以前的工具更高效,允许在6位或更少的实现上探索更大的实现,并允许达到更大的规模,最多到9位。
英文摘要:
The problem of finding a minimal circuit to implement a given function is one of the oldest in electronics. It is known to be NP-hard. Still, many tools exist to find sub-optimal circuits to implement a function. In electronics, such tools are known as synthesisers. However, these synthesisers aim to implement very large functions (a whole electronic chip). In cryptography, the focus is on small functions, hence the necessity for new dedicated tools for small functions. Several tools exist to implement small functions. They differ by their algorithmic approach (some are based on Depth-First-Search as introduced by Ullrich in 2011, some are based on SAT-solvers like the tool desgined by Stoffelen in 2016, some non-generic tools use subfield decomposition) and by their optimisation criteria (some optimise for circuit size, others for circuit depth, and some for side-channel-protected implementations). However, these tools are limited to functions operating on less than 5 bits, sometimes 6 bits for quadratic functions, or to very simple functions. The limitation lies in a high computing time. We propose a new tool (The tool is provided alongside the IEEE article with CodeOcean and at https://github.com/seduval/implem-quad-sbox) to implement quadratic functions up to 9 bits within AND-depth 1, minimising the number of AND gates. This tool is more time-efficient than previous ones, allowing to explore larger implementations than others on 6 bits or less and allows to reach larger sizes, up to 9 bits.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。