sphincs / sphincsplus

The SPHINCS+ reference code, accompanying the submission to NIST's Post-Quantum Cryptography project
https://sphincs.org
Other
131 stars 44 forks source link

Variable-length arrays are not compatible with MSVC #20

Closed thomwiggers closed 2 years ago

thomwiggers commented 3 years ago

In the category "Microsoft compilers suck", such as previously seen in #14, the use of variable-length arrays is not supported by Microsoft compilers. This means even the ref implementation doesn't work on Windows.

thomwiggers commented 3 years ago

As used in e.g. https://github.com/thomwiggers/sphincsplus/blob/master/ref/thash_haraka_robust.c#L16-L17