aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add BMI2 variants for SHA-512 and SHA-3Jack Lloyd2019-01-1812-10/+417
| | | | Both about 33% faster on Skylake
* Fix init ordering warningJack Lloyd2019-01-181-1/+1
|
* Merge GH #1814 Drop use of Boost or std filesystem libsJack Lloyd2019-01-184-92/+32
|\
| * Remove use of std::filesystem / boost::filesystemJack Lloyd2019-01-174-92/+32
|/ | | | | | | | | Boost doesn't buy us anything here since we need to maintain Win32 and POSIX implementations for non-Boost builds, and Boost only supports those two APIs anyway. MSVC's implementation of std::filesystem does not help for similar reasons, as we have to maintain a Win32 version for MinGW.
* Define BOTAN_IF_CONSTEXPRJack Lloyd2019-01-174-8/+25
| | | | This lets us avoid some warnings under VC++ 2017
* Fix some warnings from PVS-StudioJack Lloyd2019-01-1712-22/+37
| | | | No real bugs, but pointed out some odd constructs and duplicated logic
* Merge GH #1808 Add sandbox feature to CLIJack Lloyd2019-01-146-0/+82
|\
| * Sandboxing feature from CLI pov.David Carlier2019-01-145-25/+74
| | | | | | | | | | No resources to free with actual OS features but might be of use for later.
| * Proposal of sandboxing feature.David Carlier2019-01-065-0/+33
| | | | | | | | For now only used by the TLS server.
* | Strip botan includes when processing ISA header in amalgamationJack Lloyd2019-01-141-1/+2
| | | | | | | | Fixes #1812
* | Allocate aligned pages in mem pool fuzzerJack Lloyd2019-01-131-11/+68
| | | | | | | | | | | | | | Otherwise the alignment tests can fail. OSS-Fuzz 12412 And also free the pages on exit otherwise OSS-Fuzz detects it as a leak. OSS-Fuzz 12413
* | Remove unused fieldsJack Lloyd2019-01-131-3/+0
| |
* | Remove trailing whitespaceJack Lloyd2019-01-1316-66/+63
| |
* | Ignore trailing whitespace in header guardsJack Lloyd2019-01-131-2/+3
|/ | | | | | | | | | | This is specifically needed to handle CRLF lines in Python2, otherwise the regex for header guards does not match and building the amalgamation fails. This only occured if a header was edited on Windows then later a build using amalgamation attempted on Linux. Closes #1763
* Fix indent [ci skip]Jack Lloyd2019-01-051-7/+7
|
* Update newsJack Lloyd2019-01-051-0/+4
|
* Merge GH #1800 New Memory_Pool implementationJack Lloyd2019-01-058-226/+485
|\
| * Revert #1798Jack Lloyd2019-01-051-4/+14
| | | | | | | | | | | | | | | | The problem in #602 is not the use of mmap but the use of mmap with MAP_SHARED. Using MAP_PRIVATE creates a CoW mapping just like malloc or posix_memalign would. I'm not sure why it took me so long to figure this out ...
| * Add a fast range check and inline some thingsJack Lloyd2019-01-052-78/+89
| |
| * Split up allocations into pagesJack Lloyd2019-01-057-172/+194
| |
| * Update fuzzer for new Memory_Pool behavior and constructorJack Lloyd2019-01-041-7/+26
| |
| * New Memory_Pool implementationJack Lloyd2019-01-044-138/+335
|/ | | | | Quite a bit faster than the old version, and with better properties wrt alignment
* Merge GH #1807 Use sccache for MSVC buildsJack Lloyd2019-01-044-32/+36
|\
| * Use sccache for MSVC buildsJack Lloyd2019-01-044-32/+36
| |
* | Tick version to 2.10.0Jack Lloyd2019-01-042-1/+4
| |
* | Make cpu cycle test a little more laxJack Lloyd2019-01-041-5/+10
| | | | | | | | | | It occasionally fails on AppVeyor, probably due to QueryPerformanceCounter using something other than the hardware cycle counter because <reasons>.
* | Add todoJack Lloyd2019-01-041-0/+1
| |
* | Clarify statements re supportJack Lloyd2019-01-041-9/+10
| |
* | Better output when we can't identify the compiler by macroJack Lloyd2019-01-041-0/+6
|/
* Update for 2.9.0 release2.9.0Jack Lloyd2019-01-042-4/+4
|
* Split up these blocks in appveyor.yml [ci skip]Jack Lloyd2019-01-031-1/+3
|
* Some cleanups in McEliece keygenJack Lloyd2019-01-031-15/+17
| | | | Lots more of this needed in here
* Add cast for MSVCJack Lloyd2019-01-031-1/+4
|
* Use memcpy instead of strcpy here to shut up MSVC warningJack Lloyd2019-01-031-1/+1
| | | | Here the caller is assumed to have provided a buffer of sufficient size.
* Casts to avoid MSVC warningsJack Lloyd2019-01-031-1/+9
|
* Fix bogus macro check that disabled a testJack Lloyd2019-01-031-1/+1
|
* Remove VC2013 support from AppVeyor scriptJack Lloyd2019-01-031-1/+0
|
* Merge GH #1804 Add VC2019 preview build to CIJack Lloyd2019-01-035-3/+10
|\
| * Add VC 2019 preview buildJack Lloyd2019-01-025-3/+10
|/
* Update license yearsJack Lloyd2019-01-011-1/+1
|
* Merge GH #1803 XLC fixesJack Lloyd2019-01-0111-25/+55
|\
| * Fix use of macroJack Lloyd2018-12-311-1/+1
| | | | | | | | Assumed to be 0/1
| * Clean up define for inline asmJack Lloyd2018-12-312-3/+7
| | | | | | | | Also fix xlc macro
| * Update support doc textJack Lloyd2018-12-311-7/+7
| |
| * Use __builtin_bswapN builtins on XLCJack Lloyd2018-12-311-4/+4
| | | | | | | | Recent XLC is based on clang and has these
| * Fixes for XLCJack Lloyd2018-12-313-4/+4
| | | | | | | | | | | | XLC 16 changed which macros are used to identify it. Older versions of XLC didn't work correctly anyway (#1581 #1509 etc), so just drop support for recognizing those versions.
| * Fix generic 32-bit bswapJack Lloyd2018-12-311-2/+6
| | | | | | | | Was broken by removing inclusion of rotate header
| * Add ability to skip a few named testsJack Lloyd2018-12-313-4/+26
| | | | | | | | This is sometimes useful when debugging
* | Fix MSVC warningsJack Lloyd2018-12-312-2/+2
| |
* | Use Test::data_file in these testsJack Lloyd2018-12-311-2/+2
|/