liboqs/docs/algorithms/sig/rainbow.md
Jason Goertzen 55bc8cb38d
ARMv8 optimized Dilithium (#1194)
* Updated sig templates to add support for arch specific upstreams. Currently behaves as expected, but still need to test (and integrate) dilithium

* Fixed a couple of build errors, and started work on dilithium integration from pqclean. Currently failing kat tests

* Updated templating for both sig and kem to make them look a little better

* Renamed dilithium folders so they are consistent across pqclean and pqcrystals so that copy_from_upstream script will function correctly

* Added arm optimized version of dilithium[2|3|5]

* Updating other signature schemes CMakeLists.txt to be the output of the updated templates

* Arm optimized implementation of dilithium is added, with randomized signing patched into it. copy_from_upstream script is working properly. Still need to update the update_docs scripts before ready to merge

* Finished updating docs scripts and yml files. Builds pass, so should be ready for a merge

* Fixed template issue with multiple compile flags

* Updated doc generation scripts so that all '_' in scheme names are replaced with '\_'
2022-03-09 15:17:42 -05:00

10 KiB

Rainbow

  • Algorithm type: Digital signature scheme.
  • Main cryptographic assumption: multivariable polynomials, unbalanced oil and vinegar.
  • Principal submitters: Jintai Ding.
  • Auxiliary submitters: Ming-Shing Chen, Matthias Kannwischer, Jacques Patarin, Albrecht Petzoldt, Dieter Schmidt, Bo-Yin Yang.
  • Authors' website: https://www.pqcrainbow.org/
  • Specification version: NIST Round 3 submission.
  • Primary Source:
    • Source: 4c9e5a3aa7
    • Implementation license (SPDX-Identifier): CC0-1.0

Usage advice/warning

A practical attack against this algorithm has been published and confirmed. Thus, caution is advised regarding the use of it. Next steps are tracked under liboqs issue #1192.

Parameter set summary

Parameter set Security model Claimed NIST Level Public key size (bytes) Secret key size (bytes) Signature size (bytes)
Rainbow-I-Classic EUF-CMA 1 161600 103648 66
Rainbow-I-Circumzenithal EUF-CMA 1 60192 103648 66
Rainbow-I-Compressed EUF-CMA 1 60192 64 66
Rainbow-III-Classic EUF-CMA 3 882080 626048 164
Rainbow-III-Circumzenithal EUF-CMA 3 264608 626048 164
Rainbow-III-Compressed EUF-CMA 3 264608 64 164
Rainbow-V-Classic EUF-CMA 5 1930600 1408736 212
Rainbow-V-Circumzenithal EUF-CMA 5 536136 1408736 212
Rainbow-V-Compressed EUF-CMA 5 536136 64 212

Rainbow-I-Classic implementation characteristics

Implementation source Identifier in upstream Supported architecture(s) Supported operating system(s) CPU extension(s) used No branching-on-secrets claimed? No branching-on-secrets checked by valgrind? Large stack usage?‡
Primary Source clean All All None True True False

‡For an explanation of what this denotes, consult the Explanation of Terms section at the end of this file.

Rainbow-I-Circumzenithal implementation characteristics

Implementation source Identifier in upstream Supported architecture(s) Supported operating system(s) CPU extension(s) used No branching-on-secrets claimed? No branching-on-secrets checked by valgrind? Large stack usage?
Primary Source clean All All None True True False

Rainbow-I-Compressed implementation characteristics

Implementation source Identifier in upstream Supported architecture(s) Supported operating system(s) CPU extension(s) used No branching-on-secrets claimed? No branching-on-secrets checked by valgrind? Large stack usage?
Primary Source clean All All None True True False

Rainbow-III-Classic implementation characteristics

Implementation source Identifier in upstream Supported architecture(s) Supported operating system(s) CPU extension(s) used No branching-on-secrets claimed? No branching-on-secrets checked by valgrind? Large stack usage?
Primary Source clean All All None True True True

Rainbow-III-Circumzenithal implementation characteristics

Implementation source Identifier in upstream Supported architecture(s) Supported operating system(s) CPU extension(s) used No branching-on-secrets claimed? No branching-on-secrets checked by valgrind? Large stack usage?
Primary Source clean All All None True True True

Rainbow-III-Compressed implementation characteristics

Implementation source Identifier in upstream Supported architecture(s) Supported operating system(s) CPU extension(s) used No branching-on-secrets claimed? No branching-on-secrets checked by valgrind? Large stack usage?
Primary Source clean All All None True True True

Rainbow-V-Classic implementation characteristics

Implementation source Identifier in upstream Supported architecture(s) Supported operating system(s) CPU extension(s) used No branching-on-secrets claimed? No branching-on-secrets checked by valgrind? Large stack usage?
Primary Source clean All All None True True True

Rainbow-V-Circumzenithal implementation characteristics

Implementation source Identifier in upstream Supported architecture(s) Supported operating system(s) CPU extension(s) used No branching-on-secrets claimed? No branching-on-secrets checked by valgrind? Large stack usage?
Primary Source clean All All None True True True

Rainbow-V-Compressed implementation characteristics

Implementation source Identifier in upstream Supported architecture(s) Supported operating system(s) CPU extension(s) used No branching-on-secrets claimed? No branching-on-secrets checked by valgrind? Large stack usage?
Primary Source clean All All None True True True

Explanation of Terms

  • Large Stack Usage: Implementations identified as having such may cause failures when running in threads or in constrained environments.