3 ms·
Libsodium does this compiler-specific pragmas and attributes (like __attribute__((optimize("O0")))). It's also the cryptographic library mentioned in this study
by photochemsyn 2y ago
Libsodium does this compiler-specific pragmas and attributes (like __attribute__((optimize("O0")))). It's also the cryptographic library mentioned in this study with the smallest number of discovered issues, but:
> "However, we want to note that libsodium is the smallest library that we test with the most limited support for cryptographic primitives. For example, libsodium does not support the elliptic curve secp256; instead,they do all of their elliptic curve operations on curve25519. Therefore, it may be unfair to compare to larger libraries with support for more cryptographic primitives."
- GTP 2y agoThanks, the fact that they still found issues answers my question.
- badmintonbaseba 2y ago"The optimize attribute should be used for debugging purposes only. It is not suitable in production code." https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Common-Function-Attributes.html https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Common-Functio...
- jedisct1 2y ago> Libsodium does this compiler-specific pragmas and attributes (like __attribute__((optimize("O0")))) It doesn't do anything like that.