Bitsliced Jasmin Implementation of the Mayo Signature Scheme
Bitsliced Jasmin implementation of Mayo2, an MQ-based signature scheme with ML-DSA-comparable public keys, targeting constant-time code amenable to EasyCrypt verification.
Schemes: Mayo, Mayo2, UOV, ML-DSA
Findings (quotes checked against the source text)
-
Bitsliced Jasmin Mayo2 implementation runs key generation, signing and verification in 10.55 ms, 8.21 ms and 0.17 ms on an Intel i7-13700.
Our Jasmin implementation of Mayo2 takes 10.55 ms for key generation, 8.21 ms for signing and 0.17 ms for verification, based on an average of 1000 runs on a 13th Gen Intel Core i7-13700 processor (maximum turbo frequency 5.2 GHz) with 16 GB RAM.
-
Mayo modifies the UOV map so that public keys are comparable in size to ML-DSA, overcoming UOV's disadvantage.
Mayo overcomes the disadvantage of the Unbalanced Oil and vinegar (UOV) scheme by modifying the UOV map to produce public keys of sizes comparable to ML-DSA.
-
The implementation uses a bitsliced GF(16) representation with four 64-bit bit planes per element, enabling 64 simultaneous field operations, in contrast to the nibble-sliced NIST reference code.
In contrast, our Jasmin implementation adopts a bitsliced representation as in the Round 1 submission, decomposing each GF(16) element across four separate 64-bit bit planes, enabling 64 simultaneous field operations.
-
The Jasmin implementation is designed to support formal verification of constant-time execution, functional correctness and equivalence using EasyCrypt.
This implementation provides a multivariate quadratic-based signature scheme that is amenable to formal verification of constant-time execution, functional correctness and equivalence properties using EasyCrypt.
-
The bitslicing techniques are claimed to transfer to other MQ-based signature schemes, including UOV.
Furthermore, the techniques developed in this work can be extended to other MQ-based signature schemes, including UOV.
Numbers (as extracted, not quote-checked)
- Mayo2 key generation time: 10.55 ms
- Mayo2 signing time: 8.21 ms
- Mayo2 verification time: 0.17 ms
For builders
If a PQ chain adopts Mayo, a bitsliced constant-time Jasmin/EasyCrypt implementation is a verifiable option for signing-side side-channel assurance.
Limits
Based on abstract only; full text not read. Benchmarks are on one Intel desktop CPU; signature and key sizes not stated in the abstract; Mayo is not yet standardized.