Paper 2025/2119

Twinkle: A family of Low-latency Schemes for Authenticated Encryption and Pointer Authentication

Jianhua Wang, Shield Lab, Huawei Technologies Co., Ltd., China
Tao Huang, Shield Lab, Huawei International Pte. Ltd., Singapore
Shuang Wu, Shield Lab, Huawei International Pte. Ltd., Singapore
Zilong Liu, HiSilicon Technologies Co. Ltd., China
Abstract

In this paper, we aim to explore the design of low-latency authenticated encryption schemes particularly for memory encryption, with a focus on the temporal uniqueness property. To achieve this, we present the low-latency Pseudo-Random Function (PRF) called $\mathtt{Twinkle}$ with an output up to 1152 bits. Leveraging only one block of $\texttt{Twinkle}$, we developed $\texttt{Twinkle-AE}$, a specialized authenticated encryption scheme with six variants covering different cache line sizes and security requirements. We also propose $\texttt{Twinkle-PA}$, a pointer authentication algorithm, which takes a 64-bit pointer and 64-bit context as input and outputs a tag of 1 to 32 bits. We conducted thorough security evaluations of both the PRFs and these schemes, examining their robustness against various common attacks. The results of our cryptanalysis indicate that these designs successfully achieve their targeted security objectives. Hardware implementations using the FreePDK45nm library show that $\texttt{Twinkle-AE}$ achieves an encryption and authentication latency of 3.83 $ns$ for a cache line. In comparison, $\texttt{AES}$-CTR with WC-MAC scheme and Ascon-128a achieve latencies of 9.78 $ns$ and 27.30 $ns$, respectively. For the pointer authentication scheme $\texttt{Twinkle-PA}$, the latency is 2.04 $ns$, while $\texttt{QARMA-64-}\sigma_0$ has a latency of 5.57 $ns$.

Note: We have revised the security claim and introduced two lightweight point authentication codes.

Metadata
Available format(s)
PDF
Category
Secret-key cryptography
Publication info
A major revision of an IACR publication in CIC 2024
Keywords
Low-latencyAuthenticated EncryptionPointer Authentication
Contact author(s)
wangjianhua @ ucas ac cn
huangtao80 @ huawei com
Wu Shuang @ huawei com
liuzilong5 @ hisilicon com
History
2025-11-21: approved
2025-11-19: received
See all versions
Short URL
https://ia.cr/2025/2119
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2025/2119,
      author = {Jianhua Wang and Tao Huang and Shuang Wu and Zilong Liu},
      title = {Twinkle: A family of Low-latency Schemes for  Authenticated Encryption and Pointer  Authentication},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/2119},
      year = {2025},
      url = {https://eprint.iacr.org/2025/2119}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.