Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix more MSVC warnings | Jack Lloyd | 2019-06-14 | 1 | -2/+2 |
| | |||||
* | Officially deprecate headers | Jack Lloyd | 2019-06-07 | 1 | -0/+7 |
| | | | | | | | | | | Create BOTAN_DEPRECATED_HEADER so we can warn about this consistently. Shuffle around the filter headers so all of the concrete filters are defined in filters.h instead of being spread across many headers. Document which headers are deprecated as well as a list of headers which will be made internal-only in a future major release. | ||||
* | Revert part of #1744 making Exception constructors protected | Jack Lloyd | 2019-05-30 | 1 | -1/+11 |
| | | | | This broke SoftHSM build | ||||
* | Add a DatabaseError type, set the sqlite return code in exception | Jack Lloyd | 2019-05-23 | 4 | -62/+79 |
| | |||||
* | Merge GH #1962 Add getauxval replacement for older Android | Jack Lloyd | 2019-05-22 | 1 | -3/+26 |
|\ | |||||
| * | tweak | David Carlier | 2019-05-22 | 1 | -2/+5 |
| | | |||||
| * | Providing little getauxval implementation for Android<18 | David Carlier | 2019-05-21 | 1 | -3/+23 |
| | | | | | | | | tested with armv7 and ndk 16. | ||||
* | | add --boost-library-name configure option | René Meusel | 2019-05-22 | 1 | -2/+1 |
|/ | |||||
* | OpenBSD MAP_CONCEAL new flag support | David Carlier | 2019-05-15 | 1 | -0/+4 |
| | |||||
* | Fix some warnings with Clang 8 | Jack Lloyd | 2019-05-08 | 2 | -5/+4 |
| | | | | | | Notably several from the new -Wdefaulted-function-deleted Also remove some compat macro checks for MSVC 2013 | ||||
* | append .lib suffix for boost on windows | Tim Oesterreich | 2019-05-07 | 1 | -1/+2 |
| | |||||
* | Merge GH #1839 Add TLS asio stream wrapper | Jack Lloyd | 2019-05-01 | 2 | -0/+61 |
|\ | |||||
| * | review: unit tests and public api version | Hannes Rantzsch | 2019-04-29 | 1 | -1/+2 |
| | | |||||
| * | use ErrorType instead of TLS::error and remove convert_exceptions header | Hannes Rantzsch | 2019-04-23 | 2 | -0/+60 |
| | | |||||
* | | Document get_auxval | Jack Lloyd | 2019-04-23 | 1 | -1/+9 |
| | | |||||
* | | Warning compile fix for OpenBSD | David Carlier | 2019-04-23 | 1 | -0/+1 |
| | | |||||
* | | Fix some Doxygen errors | Jack Lloyd | 2019-04-22 | 1 | -2/+2 |
| | | |||||
* | | Avoid C++ style comments in headers that may be parsed as C | Jack Lloyd | 2019-04-19 | 1 | -2/+2 |
| | | | | | | | | | | Also remove the TLS declarations from ffi.h for now since that isn't supported at all. | ||||
* | | Make the ISA list a list | Jack Lloyd | 2019-04-17 | 1 | -1/+3 |
| | | |||||
* | | Provides auxiliary vector support for FreeBSD. | David Carlier | 2019-04-15 | 4 | -13/+24 |
|/ | | | | somewhat similar to Linux's counterpart but mainly for cpu features. | ||||
* | Fix a few warnings in Boost specific code | Jack Lloyd | 2019-04-13 | 1 | -1/+1 |
| | |||||
* | Remove tab characters | Jack Lloyd | 2019-04-10 | 1 | -2/+2 |
| | |||||
* | Using available cores rather than total for the pools. | David Carlier | 2019-04-07 | 3 | -1/+38 |
| | | | | | | Issue with the C++ api it might not reflect the reality of the H/W, and on Android, in battery saving mode for example, might be more reasonable to use what the system really offers. | ||||
* | Add some more todos for Memory_Pool | Jack Lloyd | 2019-03-28 | 1 | -0/+20 |
| | |||||
* | Merge GH #1864 Use thread pool for XMSS signatures | Jack Lloyd | 2019-03-28 | 1 | -0/+2 |
|\ | |||||
| * | Use the global thread pool for XMSS signatures | Jack Lloyd | 2019-03-26 | 1 | -0/+2 |
| | | | | | | | | | | | | | | * i7-6700K (4 core w/SMT): 10% improvements * Ryzen 7 2700 (8 core w/SMT): 25% improvement except SHA-256 which is over twice as fast. * POWER8 (160 cores w/SMT): between 25 and 60% faster | ||||
* | | Rename 'darwin' target to 'macos' | Jack Lloyd | 2019-03-27 | 4 | -9/+9 |
|/ | | | | | Both because that's the more common term, and because iOS/watchOS also uses the Darwin kernel, but we have a distinct target for mobile. | ||||
* | Avoid a warning when building in single file amalgamation mode | Jack Lloyd | 2019-03-13 | 1 | -1/+1 |
| | |||||
* | Fix Coverity warnings | Jack Lloyd | 2019-03-07 | 2 | -20/+38 |
| | | | | | | | | Checking a ptr against null after dereferencing it. Allowing exception throw to escape a noexcept function. Both harmless. | ||||
* | Prevent a warning with old GCC | Jack Lloyd | 2019-02-27 | 1 | -4/+5 |
| | | | | GCC 4.8 seems to dislike returns_nonnull attribute, GCC 5 is ok. | ||||
* | Add additional annotations for malloc functions | Jack Lloyd | 2019-02-17 | 1 | -1/+1 |
| | | | | May help codegen slightly. | ||||
* | Build fixes for GNU/Hurd | Jack Lloyd | 2019-02-04 | 1 | -0/+1 |
| | | | | Thanks to @noloader for testing this and the relevant info. | ||||
* | Merge GH #1819 Add Thread_Pool and use it for running tests | Jack Lloyd | 2019-01-31 | 5 | -14/+212 |
|\ | |||||
| * | Add a thread pool | Jack Lloyd | 2019-01-31 | 5 | -14/+212 |
| | | |||||
* | | Have set_mem only work for bytes | Jack Lloyd | 2019-01-31 | 1 | -4/+3 |
|/ | | | | It is (mildly) dangerous with larger types, and we don't need it. | ||||
* | Refactor CPUID to make it thread safe | Jack Lloyd | 2019-01-30 | 6 | -48/+76 |
| | | | | | | | | | | Needed for #1819 and unfortunately Windows does not allow thread local data to be stored as a member of a DLL exported class. So hide it behind an accessor function instead. This slows down CPUID test somewhat and I would like to address that but it seems hard without breaking the CPUID API, which is for better or worse public. | ||||
* | Compile fix | Jack Lloyd | 2019-01-30 | 2 | -2/+2 |
| | |||||
* | Use std::mutex instead of mutex_type here | Jack Lloyd | 2019-01-30 | 4 | -8/+8 |
| | | | | | std::condition_variable only works with std::mutex anyway, and this module is not enabled on systems without threads. | ||||
* | Make the Memory_Pool MMU operations a compile time option | Jack Lloyd | 2019-01-22 | 1 | -4/+16 |
| | | | | | | Previously the calls were commented out as this has a substantial performance impact. Allow enabling them via a build.h toggle, and enable it by default when debug asserts are turned on. | ||||
* | Rename Integrity_Failure to Invalid_Authentication_Tag | Jack Lloyd | 2019-01-18 | 2 | -5/+22 |
| | | | | | | | | | This makes the meaning and usage more clear. Add a specific error type so invalid tags can be distinguished without having to catch that specific type. See also #1813 | ||||
* | Remove use of std::filesystem / boost::filesystem | Jack Lloyd | 2019-01-17 | 2 | -69/+8 |
| | | | | | | | | | 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_CONSTEXPR | Jack Lloyd | 2019-01-17 | 4 | -8/+25 |
| | | | | This lets us avoid some warnings under VC++ 2017 | ||||
* | Merge GH #1808 Add sandbox feature to CLI | Jack Lloyd | 2019-01-14 | 1 | -0/+1 |
|\ | |||||
| * | Sandboxing feature from CLI pov. | David Carlier | 2019-01-14 | 2 | -24/+0 |
| | | | | | | | | | | No resources to free with actual OS features but might be of use for later. | ||||
| * | Proposal of sandboxing feature. | David Carlier | 2019-01-06 | 2 | -0/+25 |
| | | | | | | | | For now only used by the TLS server. | ||||
* | | Remove unused fields | Jack Lloyd | 2019-01-13 | 1 | -3/+0 |
| | | |||||
* | | Remove trailing whitespace | Jack Lloyd | 2019-01-13 | 1 | -1/+1 |
|/ | |||||
* | Revert #1798 | Jack Lloyd | 2019-01-05 | 1 | -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 things | Jack Lloyd | 2019-01-05 | 2 | -78/+89 |
| | |||||
* | Split up allocations into pages | Jack Lloyd | 2019-01-05 | 6 | -169/+188 |
| |