aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/assert.h
Commit message (Collapse)AuthorAgeFilesLines
* 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