You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Variable-length arrays are kind of annoying not to have. We might extend compat.h with a macro that implements VLAs on platforms that support them, and uses alloca on platforms that don't. See also for example sphincs/sphincsplus#26.
Of course, that might be prohibitive for any applications that don't have alloca. But the way we currently work around VLAs in SPHINCS+ is extremely terrible for legibility as well.
Do we want to allow VLAs, using a macro so that they will work on MSVC?
Variable-length arrays are kind of annoying not to have. We might extend
compat.hwith a macro that implements VLAs on platforms that support them, and usesallocaon platforms that don't. See also for example sphincs/sphincsplus#26.Of course, that might be prohibitive for any applications that don't have
alloca. But the way we currently work around VLAs in SPHINCS+ is extremely terrible for legibility as well.Do we want to allow VLAs, using a macro so that they will work on MSVC?