Speed up over the Rainbow
Speeds up Rainbow (multivariate signature, NIST Round-2) using AVX512 and GF-NI on Ice Lake, plus a variant using a different GF(2^8) representation.
Schemes: Rainbow
Findings (quotes checked against the source text)
-
Using AVX512 and GF-NI on Intel Ice Lake gives speedups of 2.43x/3.13x/0.64x for Rainbow key generation/signing/verifying.
We achieved a speedup of 2.43x/3.13x/0.64x for key generation/signing/verifying, respectively.
-
A Rainbow variant using a different GF(2^8) representation, claimed to have equivalent security, gives speedups of 2.44x/4.7x/2.1x for key generation/signing/verifying.
We also propose a variation of Rainbow, with equivalent security, using a different representation of GF(2^8).
-
Rainbow's computations rely heavily on GF(2^8) arithmetic, and the original submission used AVX2 shuffle and permute instructions.
Its computations rely heavily on GF(2^8) arithmetic and the Rainbow submission optimizes the code by using AVX2 shuffle and permute instructions.
Numbers (as extracted, not quote-checked)
- Rainbow key generation speedup (AVX512/GF-NI): 2.43x
- Rainbow signing speedup (AVX512/GF-NI): 3.13x
- Rainbow verification speedup (AVX512/GF-NI): 0.64x
- Rainbow variant key generation speedup: 2.44x
- Rainbow variant signing speedup: 4.7x
- Rainbow variant verification speedup: 2.1x
For builders
Rainbow is a NIST Round-2 multivariate candidate that was later dropped, so treat these results as implementation-level data points rather than a signature choice for a chain.
Limits
Based on the abstract only; full text was not read. Speedups are for Ice Lake hardware, and the verify result is a slowdown (0.64x).