Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge GH #1058 Fix for LibreSSL | Jack Lloyd | 2017-05-24 | 4 | -7/+7 |
|\ | |||||
| * | Make Botan compile with LibreSSL again. | Alexander Bluhm | 2017-05-24 | 4 | -7/+7 |
|/ | | | | | | Add some #ifdef LIBRESSL_VERSION_NUMBER in addition to the OPENSSL_VERSION_NUMBER switch. Narrow down API compatiblity between LibreSSL and OpenSSL version in docs. | ||||
* | Update news | Jack Lloyd | 2017-05-22 | 1 | -1/+23 |
| | | | | [ci skip] | ||||
* | Merge GH #1056 Add HashFunction::copy_state and port to OpenSSL 1.1.0 | Jack Lloyd | 2017-05-22 | 47 | -75/+341 |
|\ | |||||
| * | Add copy_state to OpenSSL hash functions, and port to OpenSSL 1.1.0 | Jack Lloyd | 2017-05-22 | 5 | -74/+130 |
| | | |||||
| * | Fix for old GCC and Clang | Jack Lloyd | 2017-05-22 | 2 | -2/+2 |
| | | | | | | | | | | They don't understand unique_ptr<Derived> to unique_ptr<Base> without help https://stackoverflow.com/questions/22018115/converting-stdunique-ptrderived-to-stdunique-ptrbase | ||||
| * | Add HashFunction::copy_state | Jack Lloyd | 2017-05-22 | 42 | -1/+186 |
| | | | | | | | | See GH #1037 | ||||
* | | Merge GH #1054 Add HOTP and TOTP algorithms | Jack Lloyd | 2017-05-22 | 11 | -0/+592 |
|\ \ | |||||
| * | | Doc and 32-bit build fixes | Jack Lloyd | 2017-05-22 | 3 | -7/+11 |
| | | | |||||
| * | | Add HOTP (RFC 4226) and TOTP (RFC 6238) | Jack Lloyd | 2017-05-19 | 10 | -0/+588 |
| | | | |||||
* | | | Merge GH #1055 Add fallback RNG for the tests | Jack Lloyd | 2017-05-22 | 1 | -0/+37 |
|\ \ \ | |||||
| * | | | Add a bogus fallback RNG for the tests | Jack Lloyd | 2017-05-21 | 1 | -0/+37 |
| | | | | | | | | | | | | | | | | This allows all tests to run even if no RNG type enabled in the build | ||||
* | | | | Merge GH #844 Add support for ARMv8 SHA instructions | Jack Lloyd | 2017-05-22 | 12 | -52/+890 |
|\ \ \ \ | |_|_|/ |/| | | | |||||
| * | | | Disable ARMv8 SHA extensions on 32-bit | Jack Lloyd | 2017-05-22 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Works everywhere but Apple Clang. Could handle this with a hack to configure but running ARMv8 in 32-bit mode is rare and suboptimal, and it would be better to deal with this using compile-time feature detection. | ||||
| * | | | Change SHA-2 to use a single convention for CPU extn | Jack Lloyd | 2017-05-20 | 3 | -9/+8 |
| | | | | |||||
| * | | | Set minimum compiler versions for ARMv8 SHA intrinsics | Jack Lloyd | 2017-05-20 | 2 | -0/+10 |
| | | | | |||||
| * | | | Small cleanups for ARM SHA code | Jack Lloyd | 2017-05-20 | 5 | -16/+411 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix for new define syntax, remove old style casts. Add some randomly generated longer SHA-256 vectors, previously had precisely zero multiblock tests. | ||||
| * | | | Add SHA-256 using ARMv8 instructions | Jack Lloyd | 2017-05-20 | 7 | -43/+255 |
| | | | | | | | | | | | | | | | | Based on patch from Jeffrey Walton in GH #841 | ||||
| * | | | Add ARMv8 SHA-1 support | Jack Lloyd | 2017-05-20 | 4 | -0/+222 |
| |/ / | | | | | | | | | | | | | | | | Based on patch from Jeffrey Walton in GH #840 Only tested in qemu so far. | ||||
* | | | Merge GH #1053 Fix path length constraint checking (GH #991) | Jack Lloyd | 2017-05-21 | 14 | -5/+310 |
|\ \ \ | |/ / |/| | | |||||
| * | | fix pathLenConstraint validation | Daniel Neus | 2017-05-19 | 14 | -5/+310 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes GH #991 The problem with the current implementation of the chain validation code is that is runs from the end certificate to the trust cert. @securitykernel and me tried to fix the pathLenConstraint validation within this reverse loop but we were not sure if we missed some edge cases. So we felt safer to use the algorithm listed in RFC 5280 which executes from the top to the bottom. It's probably best to rewrite the code to use the whole algorithm from RFC 5280, i.e. validating the chain from the trust to the end cert. Additionally, we wrote some tests including the one that raised this issue initially. | ||||
* | | | Fix warnings | Jack Lloyd | 2017-05-19 | 2 | -3/+3 |
| |/ |/| | |||||
* | | Fixes for MSVC version detection | Jack Lloyd | 2017-05-19 | 2 | -10/+24 |
| | | | | | | | | | | See comments in https://github.com/randombit/botan/commit/7f019174bfcf3c2b31bda74fe40ce35727db1cef | ||||
* | | Merge GH #826 Add support for Intel SHA instructions | Jack Lloyd | 2017-05-19 | 13 | -2/+485 |
|\ \ | |||||
| * | | Set minimum compiler versions for SHA intrinsics | Jack Lloyd | 2017-05-19 | 2 | -0/+12 |
| | | | |||||
| * | | Add support for Intel SHA-1/SHA-2 instructions | Jack Lloyd | 2017-05-19 | 13 | -2/+473 |
| | | | | | | | | | | | | Based on GH #807 and #808 | ||||
* | | | Add SM3 OIDs and PKCSv1.5 hash prefix | Jack Lloyd | 2017-05-19 | 3 | -1/+16 |
| | | | |||||
* | | | Change clang regex format to just look for major.minor | Jack Lloyd | 2017-05-19 | 1 | -1/+1 |
| | | | | | | | | | | | | Appears that Clang 3.7 doesn't include the patch in -v output | ||||
* | | | Don't error out the build if compiler version does not match expected format | Jack Lloyd | 2017-05-19 | 1 | -2/+3 |
| | | | |||||
* | | | Bump pylint max-module-lines | Jack Lloyd | 2017-05-19 | 1 | -1/+1 |
|/ / | |||||
* | | Merge GH #359 Add botan cli encryption tool | Jack Lloyd | 2017-05-19 | 4 | -0/+355 |
|\ \ | |||||
| * | | Fix 3 space indent | Simon Warta | 2017-04-18 | 1 | -4/+4 |
| | | | |||||
| * | | Add BOTAN_HAS_AEAD_MODES requirement for encryption cli | Simon Warta | 2017-04-18 | 2 | -2/+2 |
| | | | |||||
| * | | Run cli tests on Travis | Simon Warta | 2017-04-18 | 1 | -0/+7 |
| | | | |||||
| * | | Some linting cleanups for cli_tests.py | Simon Warta | 2017-04-18 | 1 | -6/+6 |
| | | | |||||
| * | | Update registration format of "encryption" cli command | Simon Warta | 2017-04-18 | 1 | -2/+2 |
| | | | |||||
| * | | Add more ciphers | Simon Warta | 2017-04-18 | 2 | -13/+71 |
| | | | |||||
| * | | Fix whitespace errors | Simon Warta | 2017-04-18 | 2 | -3/+3 |
| | | | |||||
| * | | Fix bug in vecparser: member must not be static | Simon Warta | 2017-04-18 | 1 | -2/+1 |
| | | | |||||
| * | | Adapt cli command encryption to new cli interface | Simon Warta | 2017-04-18 | 1 | -37/+42 |
| | | | |||||
| * | | Add botan encryption cli app | Simon Warta | 2017-04-18 | 3 | -0/+286 |
| | | | |||||
* | | | Merge GH #1043 Fix CMake generator | Jack Lloyd | 2017-05-19 | 1 | -26/+59 |
|\ \ \ | |||||
| * | | | Fix Style | Ryuhei Mori | 2017-05-07 | 1 | -32/+31 |
| | | | | |||||
| * | | | Fix Styles | Ryuhei Mori | 2017-05-06 | 1 | -11/+13 |
| | | | | |||||
| * | | | Fix CMake Generator for visual studio | Ryuhei Mori | 2017-05-06 | 1 | -16/+48 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | details: -Most of CMake commands accept only unix style path -Visual Stduio Generator allows mutiple configurations (debug;release) -Name collsion of static libary and dynamic libary and exe -Mismatch of dllexport/dllimport -Allows "x86_64:avx2" in isa flags | ||||
* | | | | Merge GH #1052 Add build-time compiler detection | Jack Lloyd | 2017-05-19 | 3 | -21/+108 |
|\ \ \ \ | |||||
| * | | | | Fucking Apple | Jack Lloyd | 2017-05-18 | 1 | -4/+29 |
| | | | | | | | | | | | | | | | | | | | | Map Apple's Clang version back to the LLVM equivalent | ||||
| * | | | | Let modules specify minimum compiler version, add runtime compiler version check | Jack Lloyd | 2017-05-18 | 3 | -21/+83 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This comes up recently to support CPU extensions by Intel (#826) and ARM (#844) since the intrinsic functions were only added in compiler versions more recent than the minimums we generally support, but might actually be useful for all kinds of things in the future since one can add a (new, otherwise optional) C++14 or C++17 module in 2.x branch while continuing to support the current set of supported compiler versions for the main library functionality. Uses RDSEED as the test case, to ensure version detection/comparisons work on all platforms. | ||||
* | | | | | Merge GH #1051 Extensions for PKCSv1.5 signature formatting | Jack Lloyd | 2017-05-19 | 8 | -5/+96 |
|\ \ \ \ \ | |||||
| * | | | | | Accept SHA1 and SHA-1 as aliases for hash_id | Jack Lloyd | 2017-05-18 | 1 | -2/+3 |
| | | | | | |