aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/assert.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove support for Visual C++ 2013Jack Lloyd2018-10-011-12/+12
| | | | Closes GH #1557
* Add BOTAN_STATE_CHECK macroJack Lloyd2018-08-171-0/+12
|
* Add message to BOTAN_ARG_CHECK and use it more widelyJack Lloyd2018-05-131-0/+13
|
* Add a facility for debug-mode assertionsJack Lloyd2018-03-141-6/+17
| | | | | When we want to check something but it is to expensive to do so in normal builds.
* Fix missing headerJack Lloyd2017-11-291-0/+1
| | | | This caused a build failure when compiling with amalgamation + minimized.
* Clean up header includesJack Lloyd2017-09-211-1/+1
| | | | | | | Avoid including build.h or assert.h directly, instead always take them though types.h Avoid math.h in favor of cmath
* Change header guard format to BOTAN_FOO_H_Jack Lloyd2017-09-201-2/+2
| | | | | | ISO C++ reserves names with double underscores in them Closes #512
* Add API stability annotations.Jack Lloyd2017-09-191-1/+1
| | | | | Defined in build.h, all equal to BOTAN_DLL so ties into existing system for exporting symbols.
* Let BOTAN_UNUSED take between 1 and 9 argumentsSimon Warta2017-04-161-2/+26
|
* Cipher_Mode API improvementsJack Lloyd2016-09-011-0/+13
| | | | | | | | | | | | | | | | | | | | The Cipher_Mode::update API is more general than needed to just support ciphers (this is due to it previously being an API of Transform which before 8b85b780515 was Cipher_Mode's base class) Define a less general interface `process` which either processes the blocks in-place, producing exactly as much output as there was input, or (SIV/CCM case) saves the entire message for processing in `finish`. These two uses cover all current or anticipated cipher modes. Leaves `update` for compatability with existing callers; all that is needed is an inline function forwarding to `process`. Removes the return type from `start` - in all cipher implementations, this always returned an empty vector. Adds BOTAN_ARG_CHECK macro; right now BOTAN_ASSERT is being used for argument checking in some places, which is not right at all.
* move noreturn before the function declarationDaniel Neus2016-01-081-2/+2
|
* add BOTAN_NORETURN macro and mark those functions that do not return with itDaniel Neus2016-01-081-1/+1
|
* Fix code that triggers a strange MSVC 'performance warning'git2015-04-081-1/+1
| | | | Github pull 74 from Chris Desjardins
* Ensure all files have copyright and license info.lloyd2015-01-101-1/+1
| | | | | Update license header line to specify the terms and refer to the file, neither of which it included before.
* VC2013 doesn't support __func__. Github #22lloyd2014-05-151-4/+4
|
* Move lib into srclloyd2014-01-101-0/+83