Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid code that triggers problems under GCC 8 | Jack Lloyd | 2018-03-18 | 1 | -1/+1 |
| | | | | GH #1498 | ||||
* | Fix CPUID::has_cpuid_bit | Jack Lloyd | 2018-03-17 | 1 | -1/+3 |
| | | | | | | It would return true if any bits were set instead of if all the bits were set. It is only currently called with a single bit but that might change in the future. | ||||
* | Avoid creating stringstream unless needed in version check | Jack Lloyd | 2018-03-17 | 1 | -3/+3 |
| | |||||
* | Avoid unused arg warning in PowerPC CPUID code | Jack Lloyd | 2018-03-17 | 1 | -0/+2 |
| | |||||
* | Avoid a problematic construct for AltiVec byteswap | Jack Lloyd | 2018-03-16 | 1 | -3/+8 |
| | | | | Seems to cause problems with GCC 8 on ppc64le. GH #1498 | ||||
* | Use RtlGenRandom instead of CryptoAPI | Jack Lloyd | 2018-03-14 | 1 | -1/+1 |
| | |||||
* | Add a facility for debug-mode assertions | Jack Lloyd | 2018-03-14 | 1 | -6/+17 |
| | | | | | When we want to check something but it is to expensive to do so in normal builds. | ||||
* | Split out the memory pool logic | Jack Lloyd | 2018-03-09 | 6 | -161/+282 |
| | | | | | | Making a clear seperation between the OS specific code to get the pool, the singleton mlock allocator, and the general allocator logic. | ||||
* | Add OS::system_page_size | Jack Lloyd | 2018-03-09 | 2 | -4/+25 |
| | |||||
* | Small fiddly optimizations in locking_allocator | Jack Lloyd | 2018-03-08 | 1 | -5/+6 |
| | |||||
* | Support 1024-bit inputs in poly_double function | Jack Lloyd | 2018-03-06 | 2 | -14/+36 |
| | | | | GH #1477 | ||||
* | Correctly read the POWER cycle counter | Jack Lloyd | 2018-03-06 | 1 | -8/+11 |
| | | | | | | | The upper register can overflow so we need to re-read the upper register to ensure we we not on a boundary. GH #1460 | ||||
* | Ensure exception types are exported from DLL | Jack Lloyd | 2018-03-06 | 1 | -1/+1 |
| | | | | GH #983 | ||||
* | Use BOTAN_DEFAULT_BUFFER_SIZE instead of DEFAULT_BUFFERSIZE | Jack Lloyd | 2018-03-01 | 1 | -5/+0 |
| | |||||
* | Move declaration of word to types.h | Jack Lloyd | 2018-03-01 | 1 | -0/+12 |
| | |||||
* | Fix handling of misaligned loads in AltiVec SIMD wrapper | Jack Lloyd | 2018-02-23 | 1 | -22/+12 |
| | | | | Handling little+big endian is a PITA, easier to bounce though a union here | ||||
* | Do runtime endian check when CPUID is initialized | Jack Lloyd | 2018-02-23 | 1 | -0/+1 |
| | | | | | Otherwise cross-endian builds (ie building big-endian for little-endian) can have massive test breakage but with no hints. | ||||
* | Use GetProcessWorkingSetSize instead of GetProcessWorkingSetSizeEx | Jack Lloyd | 2018-02-23 | 1 | -2/+1 |
| | | | | | The Ex variant is not available in older Wine (including the version in Trusty) and GetProcessWorkingSetSize is sufficient. | ||||
* | Move allocator initializer RAII class to mem_ops.h | Jack Lloyd | 2018-02-19 | 1 | -0/+6 |
| | | | | May be needed elsewhere | ||||
* | Of course they are public member variables, not functions ... | Jack Lloyd | 2018-02-13 | 1 | -1/+1 |
| | |||||
* | Add BOTAN_DEPRECATED_PUBLIC_MEMBER_FUNCTIONS | Jack Lloyd | 2018-02-13 | 1 | -0/+1 |
| | | | | | | Makes such things easier to find in the future. Also adds BOTAN_NO_DEPRECATED which causes them to be private instead. | ||||
* | Enable VirtualLock on MinGW builds | Jack Lloyd | 2018-02-13 | 1 | -2/+2 |
| | | | | | For some reason one of the blocks was guarded to be MSVC only, but it works fine on MinGW also. | ||||
* | Alternate method of forcing allocator initialization | Jack Lloyd | 2018-02-04 | 2 | -0/+12 |
| | | | | That doesn't require a malloc/free every time we call ec_group_data() | ||||
* | Add function to query if filesystem support is enabled. | Jack Lloyd | 2018-01-30 | 2 | -0/+17 |
| | | | | Makes for much simpler code. | ||||
* | Fix documentation of DataSource::end_of_data. | Marcus Brinkmann | 2018-01-19 | 1 | -1/+1 |
| | |||||
* | Move thread utils (barrier and semaphore) to a subpackage of util | Jack Lloyd | 2018-01-12 | 6 | -25/+15 |
| | | | | | | They are not needed except by the filter code so being able to easily remove them from the build is nice; utils is always compiled in so that should be as small as possible. | ||||
* | Merge GH #1391 X25519 cleanups | Jack Lloyd | 2018-01-09 | 1 | -2/+7 |
|\ | |||||
| * | Fix for systems needing 128-bit helper type | Jack Lloyd | 2018-01-07 | 1 | -0/+5 |
| | | |||||
| * | Reformat donna.cpp | Jack Lloyd | 2018-01-06 | 1 | -2/+2 |
| | | | | | | | | | | Was originally kept in the same format as upstream, but upstream is not maintained anymore so no reason to stick with it. | ||||
* | | Merge GH #1393 Add cpuid support for POWER crypto extensions | Jack Lloyd | 2018-01-09 | 3 | -1/+34 |
|\ \ | |||||
| * | | Add support for detecting POWER crypto using getauxval | Jack Lloyd | 2018-01-07 | 3 | -1/+34 |
| |/ | | | | | | | See #1206 | ||||
* | | Merge GH #1378 Use OS feature flags instead of OS name for enabling system ↵ | Jack Lloyd | 2018-01-09 | 8 | -57/+45 |
|\ \ | |/ |/| | | | specific code | ||||
| * | Test OS features by the feature vs the OS name | Jack Lloyd | 2017-12-30 | 8 | -57/+45 |
| | | |||||
* | | Avoid warning with old Clang | Jack Lloyd | 2018-01-01 | 1 | -1/+1 |
| | | | | | | | | Clang defines __GNUG__ so we ended up ignoring the Clang version. | ||||
* | | Enable GCC inline asm under Sun Studio compilers | Jack Lloyd | 2017-12-31 | 1 | -1/+1 |
|/ | | | | Fixes GH #848 | ||||
* | Disable sockets on MinGW | Jack Lloyd | 2017-12-30 | 1 | -3/+3 |
| | | | | | | Everything works ok on i686 when crosscompiled but it seems things are badly broken on x86-64 when compiling on Windows. Rather than fight their broken headers, just disable. No OCSP for you MinGW. | ||||
* | Avoid prefixing siglongjmp or sigsetjmp with :: | Jack Lloyd | 2017-12-28 | 1 | -2/+2 |
| | | | | Apparently these are macros on Cygwin/newlib | ||||
* | Fix socket libs for Solaris | Jack Lloyd | 2017-12-23 | 1 | -0/+1 |
| | |||||
* | Fix build issue on Haiku | Jack Lloyd | 2017-12-23 | 2 | -0/+2 |
| | | | | Undeprecate it since it seems easy enough to support. | ||||
* | Fix some shadow and unused parameter warnings | Jack Lloyd | 2017-12-20 | 1 | -2/+2 |
| | |||||
* | Avoid tying encoding of CRLs to the current system clock | Jack Lloyd | 2017-12-18 | 1 | -1/+2 |
| | |||||
* | Windows has a different return type | Jack Lloyd | 2017-12-17 | 1 | -2/+4 |
| | |||||
* | Merge BSD and Winsock variations together | Jack Lloyd | 2017-12-17 | 1 | -105/+61 |
| | |||||
* | Missing include | Jack Lloyd | 2017-12-17 | 1 | -0/+1 |
| | |||||
* | Add an overall timeout to the HTTP request | Jack Lloyd | 2017-12-17 | 1 | -0/+8 |
| | |||||
* | Expose timeouts to the HTTP API | Jack Lloyd | 2017-12-17 | 2 | -11/+26 |
| | |||||
* | Handle timeouts in BSD sockets | Jack Lloyd | 2017-12-17 | 1 | -5/+61 |
| | |||||
* | Add timeouts to Asio sockets | Jack Lloyd | 2017-12-17 | 6 | -39/+117 |
| | |||||
* | Enable using NEON on Clang | Jack Lloyd | 2017-12-10 | 1 | -14/+15 |
| | | | | | Clang doesn't like the way SIMD shifts were implemented, I guess it fails to inline the constant. Make it a template parameter instead. | ||||
* | Add a new version function returning just the version without extras | Jack Lloyd | 2017-12-06 | 2 | -16/+40 |
| |