Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Shuffle things around. Add NIST X.509 test to build. | lloyd | 2014-01-01 | 47 | -4596/+0 |
| | |||||
* | Include <cstdint> in types.h and include uintX_t in namespace, use for our ↵ | lloyd | 2014-01-01 | 1 | -23/+12 |
| | | | | typedefs | ||||
* | On x86-64, prefer calling cpuid directly vs using cpuid.h | lloyd | 2013-12-31 | 1 | -11/+11 |
| | |||||
* | Add CPUID::print | lloyd | 2013-12-31 | 2 | -0/+29 |
| | |||||
* | Make Boost easier to disable with minimal feature loss | lloyd | 2013-12-28 | 4 | -29/+106 |
| | |||||
* | Clean up GCM. Add CLMUL support. | lloyd | 2013-12-27 | 1 | -4/+4 |
| | |||||
* | Remove global_rng calls for setting up blinding, instead require a RNG | lloyd | 2013-12-25 | 1 | -3/+3 |
| | | | | | | be passed to the engine. Currently pubkey.cpp just passes along the global_rng but eventually we'll break this API and require a RNG to the constructor. | ||||
* | Add CPUID check for AVX-512 | lloyd | 2013-12-25 | 2 | -2/+9 |
| | |||||
* | Fix gcc cpuid call | lloyd | 2013-12-21 | 1 | -13/+9 |
| | |||||
* | Fixes for alamgamation build | lloyd | 2013-12-20 | 1 | -3/+3 |
| | |||||
* | Blind fix attempt for Visual C++ 2013 (github issue #5) | lloyd | 2013-12-20 | 1 | -1/+1 |
| | |||||
* | Add cpuid support for new x86 feature flags like AVX2 and RDSEED | lloyd | 2013-12-14 | 2 | -86/+113 |
| | |||||
* | Make it possible to remove Boost dependency by disabling a few modules | lloyd | 2013-12-14 | 1 | -0/+4 |
| | | | | (though including X.509 and TLS). | ||||
* | Make SIMD_Scalar a template | lloyd | 2013-12-10 | 1 | -0/+5 |
| | |||||
* | Add simple config reader | lloyd | 2013-12-10 | 3 | -11/+131 |
| | |||||
* | Remove timeout from HTTP | lloyd | 2013-11-29 | 2 | -23/+16 |
| | |||||
* | Fix URL parsing | lloyd | 2013-11-28 | 1 | -7/+15 |
| | |||||
* | Support HTTP POST (many OCSP responders don't like GET-based requests) | lloyd | 2013-11-28 | 6 | -132/+243 |
| | |||||
* | Give everything setting a feature test macro in build.h a version code | lloyd | 2013-11-28 | 3 | -3/+3 |
| | | | | | | so application code can check for the specific API it expects without having to keep track of what versions APIs x,y,z changed. Arbitrarily set all current API versions to 20131128. | ||||
* | Add a simple HTTP 1.0 GET using asio (for CRLs and OCSP) | lloyd | 2013-11-27 | 3 | -0/+132 |
| | |||||
* | Enable all the GCC warning flags, as we now require at least GCC 4.7 anyway | lloyd | 2013-11-16 | 1 | -1/+1 |
| | | | | Fix a few nullptr and cast warnings. | ||||
* | Assertion failure is not always an internal error | lloyd | 2013-09-05 | 1 | -1/+1 |
| | |||||
* | Move CBC to Transformation API | lloyd | 2013-08-15 | 1 | -12/+0 |
| | |||||
* | No need for librt in util anymore (was for clock_gettime) | lloyd | 2013-08-13 | 1 | -4/+0 |
| | |||||
* | Avoid undefined operation in rotation operations | lloyd | 2013-07-31 | 1 | -0/+4 |
| | |||||
* | Merge mp_word64 into mp_generic | lloyd | 2013-07-30 | 2 | -3/+1 |
| | | | | | | Now 64-bit limbs can be used regardless of processor, though we continue to use 32-bit unless we know the processor natively supports 64-bit operations. | ||||
* | Add a generic 64x64->128 multiplication op. | lloyd | 2013-07-30 | 2 | -0/+124 |
| | | | | | | | Use it to merge mp_msvc64 (was using MSVC _umul128 intrinsic) and mp_asm64 (was using inline asm) into mp_word64, which calls the new mul64x64_128 function. That function wraps any available compiler intrinsics or CPU instructions. | ||||
* | Change same_mem to use XORs instead of equality operators. | lloyd | 2013-06-13 | 1 | -3/+3 |
| | | | | | | Potentially less prone to optimizer trickery wrt early exits, especially as it encourages a SIMD approach which modern compilers tend to prefer if they think they can get away with it. | ||||
* | Always include modules requiring ISA extensions as long as the | lloyd | 2013-04-17 | 1 | -7/+0 |
| | | | | | | | | | | | compiler and target platform might support it. For instance the AES SSSE3 code is now always in any x86 build, with just that specific file being compiled with -mssse3. Since we'll only call that code if cpuid confirms it works at runtime, we don't have portability issues, and it can be safely included in generic builds (eg for distributions). Tweak how machine specific compiler flags are generated to be a bit easier to maintain. | ||||
* | Kill workaround for GCC 3.x | lloyd | 2013-04-12 | 1 | -4/+0 |
| | |||||
* | Add erase_chars and replace_chars | lloyd | 2013-04-10 | 2 | -7/+47 |
| | |||||
* | Avoid silly warning under GCC | lloyd | 2013-03-27 | 1 | -1/+1 |
| | |||||
* | Move std::vector operator^= to xor_buf | lloyd | 2013-03-15 | 1 | -0/+12 |
| | | | | Some prep work for parallel encrypt | ||||
* | Move assert.h from internal to very public (included in types.h) | lloyd | 2013-03-13 | 5 | -8/+9 |
| | | | | | | This reduces friction to writing an assert, so hopefully there will be more of them as a result. And we can use asserts in public headers now, very useful for templates. | ||||
* | src/utils/semaphore.h was marked both public and internal, which broke | lloyd | 2013-03-09 | 1 | -1/+0 |
| | | | | | the amalgamation build. Add a check that warns if we do this again, and some more logging in the amalgamation generator. | ||||
* | Set the release type (unreleased, released, snapshot) in | lloyd | 2013-03-04 | 1 | -8/+11 |
| | | | | | botan_version.py via the release script, and propagate it to version.cpp via build.h | ||||
* | Add BOTAN_ASSERT_IMPLICATION macro | lloyd | 2013-03-01 | 1 | -0/+13 |
| | |||||
* | Add Threaded_Fork, which acts like a normal Fork filter except that | lloyd | 2013-02-02 | 3 | -1/+77 |
| | | | | | | | | | | each subchain of filters will run in its own thread. Written and contributed by Joel Low. A thread on botan-devel contains the original patch and some discussion: http://lists.randombit.net/pipermail/botan-devel/2013-January/001699.html | ||||
* | Move memory zeroing to a compiled function in a new source file. Cast | lloyd | 2012-11-12 | 3 | -11/+38 |
| | | | | | | | | the pointer to volatile before writing to it. At least for various versions of GCC, Clang, and ICC on x86-64, this does cause the compiler to emit a simple byte-at-a-time loop, and at least in non-LTO builds the compiler won't optimize the call away. For dealing with LTO, probably would have to do some kind of complicated side-effect. | ||||
* | Move to_u32bit to source file. Add map_remove_if helper | lloyd | 2012-11-02 | 3 | -2/+19 |
| | |||||
* | Add parens to BOTAN_ASSERT_EQUALS, otherwise low precedence ops could | lloyd | 2012-10-13 | 1 | -3/+3 |
| | | | | cause problems. | ||||
* | Build the return value of version_string at compile time instead of at | lloyd | 2012-09-14 | 1 | -16/+17 |
| | | | | runtime so it's easy to find in a binary with strings. | ||||
* | This should be inline | lloyd | 2012-09-07 | 1 | -1/+1 |
| | |||||
* | Add support for key material export | lloyd | 2012-09-07 | 1 | -0/+7 |
| | |||||
* | Remove BigInt(NumberType type, size_t n) and replace it with a static | lloyd | 2012-08-01 | 1 | -1/+1 |
| | | | | BigInt function power_of_2. (Power2 was the only available NumberType) | ||||
* | Doxygen warning fixes | lloyd | 2012-07-09 | 1 | -1/+2 |
| | |||||
* | The messages for assertion checks were done both ways, both "assertion | lloyd | 2012-07-09 | 1 | -3/+5 |
| | | | | | | X is true" and "assertion X is false". Convert all of them to the form "assertion X is true" thus making it clear what it is that we are attempting to assert by testing the expression provided. | ||||
* | Remove BOTAN_ASSERT_FUNCTION, use __func__ which is now standard in C++11 | lloyd | 2012-07-09 | 2 | -41/+35 |
| | |||||
* | Add TLS::Session_Manager_Noop which just ignores all save requests. | lloyd | 2012-06-29 | 3 | -3/+3 |
| | | | | | | | Rename the sqlite module to sqlite3 as sometimes plain 'sqlite' is used to refer to sqlite2. Reduce the password check bits to 16 which is plenty. | ||||
* | Add support (decoding only) for the CRL Distribution Point extension. | lloyd | 2012-06-13 | 2 | -2/+19 |
| |