microsoft / PQCrypto-SIDH

SIDH Library is a fast and portable software library that implements state-of-the-art supersingular isogeny cryptographic schemes. The chosen parameters aim to provide security against attackers running a large-scale quantum computer, and security against classical algorithms.
MIT License
317 stars 101 forks source link

various nit's and fixes for UBSan/MSan and clang-5.0 compatibility (Linux x86_64) #1

Closed ghost closed 6 years ago

ghost commented 7 years ago

Note: I somehow can't get rid of the CRLF/LF mess (using sublime on windows and git on linux).

Side note: Initializing 3d arrays and structures on the stack using {0} (point_proj_t, f2elm_t) fails the build when using -Wmissing-field-initializers, not to speak of -Wmissing-braces in clang's bitch-mode. This should either be done by using the default {} initializer or a proper memset.