Compact-slicing: a fast software implementation for linear permutation on IoT devices
Year: 2026
Type: article
Abstract: In resource-constrained IoT devices, large amounts of sensitive data must be protected by cryptographic algorithms, making implementation efficiency a critical factor under limited computational and memory resources. As a key component of cryptographic algorithms, bit-level linear permutations are efficiently implemented in hardware, but their software implementations are not satisfactory. To further reduce resource consumption and shorten the execution time of cryptographic algorithms, we propose a new approach called compact-slicing. Unlike traditional bit slicing, which allocates an independent register for each slice, the compact-slicing approach leverages the operational consistency of linear permutations to merge slices with the same operation into the same register. Furthermore, it exploits the periodicity of the linear permutation to decompose multiple rounds of linear permutations into a composite operation of several simple permutations that can be completed in low clock cycles. It effectively reduces register overhead, improves register reuse efficiency, and reduces reliance on memory accesses. We evaluate compact-slicing on Cortex-M3 using PRESENT (inter-slice) and GIFT-64 (intra-slice). With round keys pre-processed, compact-slicing halves the number of constantly occupied registers and reduces peak register usage by 33.3% and 38.5% relative to the two-round unrolled bit-sliced and fix-slicing, respectively. The linear permutation and total cycle counts of PRESENT decrease by 56.3% and 35.0%, whereas the total cycle count of GIFT-64 increases by only 0.6%. With the round key update, total cycle counts decrease by 14.9–21.2% for PRESENT and 16.1–24.1% for GIFT-64, depending on the key-scheduling strategy. These results highlight its suitability for resource-constrained single-block processing.
Authors: Wen Chen, Ying Guo, Wenfen Liu, Bin Yu, Yuehua Huang
Institution: Guilin University of Electronic Technology
Language: English
Subfield: Hardware and Architecture
Field: Computer Science
Domain: Physical Sciences
Open Access status: gold
Estimated APC paid: $1,990
OpenAlex ID: W7238839249
