Thanks, sorry for the slow response.
Build with gcc
Fix windows build
Merged, sorry to be slow. I also changed the cast in bit_to_mask to be explicit, since otherwise you have to know the C promotion rules to verify correctness ... hope that doesn't break anything in Windows.
Makes sense, but is there a way to just disable C4146, or maybe we should have a bit_to_mask function? That would be preferable to modifying the code. Also, looking at the CMake files, what fails if we re-enable array bounds warnings? Those seem nice to have in security code.
Thanks Johan. This mostly looks good, but the ternary operator is no good because it will cause side-channel problems. Can you change that back to masking?
doc generation
You're welcome, closing.