TL;DR
This paper updates Multivariate Public Key Cryptosystems (MPKCs) for the post-quantum era, moving from outdated 80-bit security to a robust 128-bit level. By leveraging modern AVX2 and AESNI instruction sets and introducing constant-time algorithms, the authors demonstrate that MPKC signatures are not only quantum-resistant but also highly competitive with—and often faster than—traditional schemes like RSA and ECC.
What Problem Does This Paper Address?
As quantum computing moves from theory toward reality, traditional public-key cryptography (like RSA and Elliptic Curve Cryptography) faces an existential threat from Shor’s algorithm. Multivariate Public Key Cryptosystems (MPKCs) are a leading candidate for Post-Quantum Cryptography (PQC) because their security relies on the "MQ Problem"—solving systems of multivariate quadratic equations—which is NP-complete and currently resistant to quantum attacks.
However, MPKC implementations from the late 2000s were designed for 80-bit security and older hardware. This paper addresses three main gaps:
- Security Scaling: Updating parameters to meet the modern 128-bit security standard.
- Side-Channel Resilience: Traditional implementations often leak information through "timing attacks" (e.g., how long a CPU takes to look up a value in a table).
- Hardware Utilization: Exploiting modern SIMD (Single Instruction, Multiple Data) instructions like Intel’s AVX2 to maximize throughput.
Methods
The authors focus on optimizing the "big-field" (e.g., pFLASH, HFEv-) and "small-field" (e.g., Rainbow) variants of MPKCs. Their key technical contributions include:
- Constant-Time MQ Evaluation: To prevent cache-timing attacks, they avoid secret-dependent memory access. Instead of loading pre-computed multiplication tables based on secret indices, they "generate" the required tables on-the-fly using SIMD instructions, resulting in only a ~5% performance penalty for security.
- Additive Fast Fourier Transforms (FFT): For "big-field" schemes that require multiplying large polynomials, the authors implement a novel additive FFT. This is particularly useful for platforms lacking the
PCLMULQDQinstruction (used for carry-less multiplication), making the schemes more portable. - Constant-Time Linear Solvers: They implement a version of Gaussian elimination that removes branching (if-then statements) based on zero pivots, using conditional moves instead. This ensures the execution time is independent of the secret data.
- SIMD Parallelism: Extensive use of AVX2 (256-bit registers) allows for 32-way parallelism when processing 8-bit data, significantly speeding up the evaluation of the multivariate polynomials that form the public key.
Datasets
As a systems and cryptography paper, the "datasets" consist of specific parameter sets designed for 128-bit, 192-bit, and 256-bit security levels across various schemes:
- Rainbow: Small-field signatures over $\mathbb{F}_{16}$, $\mathbb{F}_{31}$, and $\mathbb{F}_{256}$.
- pFLASH & HFEv-: Big-field variants.
- Benchmarks: Evaluations were performed on an Intel Xeon E3-1245 v3 (Haswell architecture) @ 3.40GHz.
Key Insights and Ideas
- The Efficiency of $\mathbb{F}_{256}$: The authors find that Rainbow signatures over the field $\mathbb{F}_{256}$ are exceptionally efficient. This is because $\mathbb{F}_{256}$ elements fit perfectly into a single byte, aligning well with CPU architectures and SIMD registers.
- Verification Speed: MPKCs are "asymmetric" in their computational cost. While signing can be intensive, verification (evaluating the public map) is incredibly fast—often taking only a few dozen thousand CPU cycles.
- Side-Channel Security is Affordable: A common myth is that making an algorithm constant-time (to prevent timing leaks) makes it prohibitively slow. This paper proves that with clever SIMD usage, the overhead can be kept to a negligible 5%.
- Competitive with Pre-Quantum Schemes: At 128-bit security, MPKC signatures like Rainbow are faster than Ed25519 (a popular modern ECC scheme) and orders of magnitude faster than RSA-3072 for verification.
Key Results
The authors provide concrete benchmarks for 128-bit secure signatures on the Intel Haswell architecture:
- Rainbow (over $\mathbb{F}_{256}$): Signing takes 47.8k cycles, and verification takes only 18.3k cycles. For comparison, Ed25519 takes roughly 61k cycles for signing.
- Verification Dominance: MPKC verification is significantly faster than RSA-3072 (119.3k cycles) and ECDSA (901.5k cycles).
- Big-Field Performance: While schemes like HFEv- are slower (signing takes ~4.4 million cycles), they are still comparable to RSA-3072 signing (5.2 million cycles) while offering post-quantum security.
Limitations and Future Work
- Key and Signature Size: While MPKCs are fast, they suffer from large public keys (e.g., 94 KB to 899 KB) and larger signatures compared to ECC. This makes them less ideal for bandwidth-constrained environments.
- Hardware Specificity: Much of the performance gain relies on AVX2. Performance on low-end ARM devices or older CPUs without these instructions would be significantly lower.
- Future Directions: The authors suggest further parallelizing the signing process for schemes that require root-finding (like HFEv-) by using different randomness in parallel to find valid signatures faster.
Summary updated