diff options
author | Jack Lloyd <[email protected]> | 2016-01-03 19:56:04 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-01-03 19:56:04 -0500 |
commit | 77b8eb8a4ed5f5b63710afd85766e8f30d0bd2d9 (patch) | |
tree | d17fcc018b990faaedc523dc6025ca655dcd4805 /doc/news.rst | |
parent | 9ec5243e2dc8fba1d024269f1a756af7df0421b8 (diff) |
Use valgrind's memcheck API for checking const time annotations
Has the same effect as using ctgrind, but without requiring a
custom-compiled valgrind binary.
Add ct checking annotations to the SSSE3 AES code.
Diffstat (limited to 'doc/news.rst')
-rw-r--r-- | doc/news.rst | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/doc/news.rst b/doc/news.rst index 89f9aa6de..04996a938 100644 --- a/doc/news.rst +++ b/doc/news.rst @@ -17,10 +17,10 @@ Version 1.11.26, Not Yet Released indicating support for the extended master secret flag, which is needed for proper handling of the extension. -* Root all exceptions thrown by the library in the `Botan::Exception` class. - Previously the library would in many cases throw `std::runtime_error` - or `std::invalid_argument` exceptions which would make it hard to determine - the source of the error in some cases. +* Root all exceptions thrown by the library in the ``Botan::Exception`` class. + Previously the library would in many cases throw ``std::runtime_error`` + or ``std::invalid_argument`` exceptions which would make it hard to + determine the source of the error in some cases. * The command line interface has been mostly rewritten. The syntax of many of the sub-programs has changed, and a number have been @@ -65,7 +65,7 @@ Version 1.11.26, Not Yet Released are corner cases where this can occur, such as pointing to the very end of a buffer. -* The function `RandomNumberGenerator::gen_mask` (added in 1.11.20) +* The function ``RandomNumberGenerator::gen_mask`` (added in 1.11.20) had undefined behavior when called with a bits value of 32 or higher, and was tested to behave in unpleasant ways (such as returning zero) when compiled by common compilers. This function was @@ -73,6 +73,13 @@ Version 1.11.26, Not Yet Released something without a use case to justify it it seemed simpler to remove it. Undefined behavior found by Daniel Neus. +* Support for using ``ctgrind`` for checking const time blocks has + been replaced by calling the valgrind memcheck APIs directly. This + allows const-time behavior to be tested without requiring a modified + valgrind binary. Adding the appropriate calls requires defining + BOTAN_HAS_VALGRIND in build.h. A binary compiled with this flag set + can still run normally (though with some slight runtime overhead). + * Export MGF1 function mgf1_mask GH #380 Version 1.11.25, 2015-12-07 |