Paper 2026/2666

Efficient SIMD SHAKE through Cost-Aware Permutation Scheduling

Hang Zhang, Institute of Information Engineering, Chinese Academy of Sciences, University of Chinese Academy of Sciences
Ya Shi, Institute of Information Engineering, Chinese Academy of Sciences, University of Chinese Academy of Sciences
Ying Liu, Institute of Information Engineering, Chinese Academy of Sciences, University of Chinese Academy of Sciences
Xianhui Lu, Institute of Information Engineering, Chinese Academy of Sciences, University of Chinese Academy of Sciences
Abstract

Lattice-based cryptography uses SHAKE to expand seeds into byte strings for matrix generation and sampling. SIMD Keccak implementations process multiple hash streams in parallel. Differences in stream lengths and input dependencies can prevent full SIMD utilization. We present a cost-aware method for scheduling Keccak permutations across hash streams during a single execution of a cryptographic algorithm. The method groups ready streams and divides long streams into segments for regrouping. A model of permutation calls, state movement, initialization, and input preparation guides the selection of stream groups, segment lengths, and state placements. We evaluate ML-KEM and HAETAE on an Apple M5, a Cortex-A72, and an Intel Core i5-11500, using Keccak kernels that process two, four, or eight streams per call. ML-KEM achieves speedups of up to $1.31\times$ for encapsulation and $1.44\times$ for decapsulation, while HAETAE achieves up to $1.28\times$ for signing and $1.26\times$ for verification.

Metadata
Available format(s)
PDF
Category
Implementation
Publication info
Preprint.
Keywords
SHAKEPseudorandom generationKeccakSIMDPermutation schedulingML-KEMHAETAE
Contact author(s)
zhanghang2024 @ iie ac cn
shiya @ iie ac cn
liuying @ iie ac cn
luxianhui @ iie ac cn
History
2026-10-28: approved
2026-10-28: received
See all versions
Short URL
https://ia.cr/2026/2666
License
Creative Commons Attribution-NonCommercial-NoDerivs
CC BY-NC-ND

BibTeX

@misc{cryptoeprint:2026/2666,
      author = {Hang Zhang and Ya Shi and Ying Liu and Xianhui Lu},
      title = {Efficient {SIMD} {SHAKE} through Cost-Aware Permutation Scheduling},
      howpublished = {Cryptology {ePrint} Archive, Paper 2026/2666},
      year = {2026},
      url = {https://eprint.iacr.org/2026/2666}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.