Paper 2026/2350
Optimized NEON Implementation of MAYO on Apple M1
Abstract
MAYO is one of nine third-round candidates in NIST’s process for additional post-quantum signatures. Its third-round specification of August 2026 changed the level-1 parameters and added a hash-derived linear term Λ to the verification equation, so earlier optimised implementations no longer match it. We present an optimised NEON implementation of MAYO Round 3 for the Apple M1 and compare it with the upstream NEON code on the same machine. A generator emits the sixteen GF(16) kernels of each parameter set as assembly whose output is byte-identical to that of the upstream intrinsics. Apart from the Λ kernel, the large kernels reach 86–96% of the speed an operation-count model predicts. A transposed constant-time echelon form needs 55–70% fewer cycles than the upstream one. An eight-way interleaved AES expands the public matrices at 0.18 instead of 0.43 cycles per byte. The linear term is expanded with NEON; with our changes off, its portable-C AES derivation takes 10–22% of signing and 18–37% of verification. As medians over seven function alignments, compact-key signing is 1.99–2.12 times faster than upstream on all four sets, and verification 2.11–2.62 times. A constant-time campaign with matched null runs finds the linear-algebra tests indistinguishable from their nulls, at 25% power for a twofold dispersion. The MAYO₂ signature test differs. Verification, which holds no secret, shows a key-fixed timing effect on public data, upstream as well; the signature test does not separate it from a secret one. All measurements are on one M1 Pro.
Metadata
- Available format(s)
-
PDF
- Category
- Implementation
- Publication info
- Preprint.
- Keywords
- MAYOPost-quantum signaturesARMv8 NEONApple M1Constant-time implementation
- Contact author(s)
-
minunejip @ gmail com
minjoos9797 @ gmail com
shuraatum @ gmail com
hwajeong84 @ gmail com - History
- 2026-10-07: approved
- 2026-10-05: received
- See all versions
- Short URL
- https://ia.cr/2026/2350
- License
-
CC0
BibTeX
@misc{cryptoeprint:2026/2350,
author = {Minwoo Lee and Minjoo Sim and Siwoo Eum and Hwajeong Seo},
title = {Optimized {NEON} Implementation of {MAYO} on Apple M1},
howpublished = {Cryptology {ePrint} Archive, Paper 2026/2350},
year = {2026},
url = {https://eprint.iacr.org/2026/2350}
}