Answers are grounded in this paper and cite their sources.
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.
No takes yet. Share an insight, caveat, or question.
Chen et al. (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: