Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Suppress a harmless variable-time optimization by clang in memczero
This has been not been caught by the new constant-time tests because valgrind currently gives us a zero exit code even if finds errors, see #723 (comment) . This commit also simplifies the arithmetic in memczero. Note that the timing leak here was the bit whether a secret key was out of range. This leak is harmless and not exploitable. It is just our overcautious practice to prefer constant-time code even here.
- Loading branch information