Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix some misc additional clang-tidy warnings | Jack Lloyd | 2022-02-06 | 7 | -27/+48 |
| | |||||
* | Use C++17's concat namespace feature | Jack Lloyd | 2022-02-06 | 51 | -241/+51 |
| | |||||
* | Remove static from data in anonymous namespaces | Jack Lloyd | 2022-02-06 | 8 | -13/+13 |
| | |||||
* | Use msgless static_assert instead of empty string | Jack Lloyd | 2022-02-06 | 1 | -1/+1 |
| | |||||
* | Clean up early conditions of Lucas primality check | Jack Lloyd | 2022-02-06 | 1 | -6/+3 |
| | |||||
* | Constify these variables | Jack Lloyd | 2022-02-06 | 1 | -3/+3 |
| | |||||
* | Avoid function-like macro in GOST | Jack Lloyd | 2022-02-06 | 1 | -30/+37 |
| | |||||
* | Compile fix | Jack Lloyd | 2022-02-06 | 1 | -1/+1 |
| | |||||
* | Some fixes for modernize-loop-convert | Jack Lloyd | 2022-02-06 | 19 | -101/+107 |
| | |||||
* | Fix clang-tidy readability-named-parameter | Jack Lloyd | 2022-02-06 | 53 | -113/+116 |
| | |||||
* | More perf fixes | Jack Lloyd | 2022-02-06 | 5 | -6/+6 |
| | |||||
* | Fix clang-tidy readability-container-size-empty warnings | Jack Lloyd | 2022-02-06 | 55 | -115/+120 |
| | |||||
* | Fix clang-tidy performance warnings | Jack Lloyd | 2022-02-06 | 55 | -113/+114 |
| | |||||
* | Apply fixes for clang-analyzer | Jack Lloyd | 2022-02-04 | 7 | -27/+9 |
| | |||||
* | Text_Policy ignores 25519 if unsupported by build | Hannes Rantzsch | 2022-02-01 | 1 | -0/+5 |
| | | | | Co-authored-by: René Meusel <[email protected]> | ||||
* | Avoid uses of volatile deprecated in C++20 | Jack Lloyd | 2022-01-27 | 6 | -9/+10 |
| | |||||
* | Fix some Clang warnings | Jack Lloyd | 2022-01-27 | 9 | -15/+14 |
| | | | | See GH #2886 | ||||
* | Check OSXSAVE and AVX flags before enabling AVX2 support. | Alexander Bluhm | 2022-01-12 | 1 | -2/+8 |
| | | | | | | | OpenBSD on i386 architecture does not save the extended FPU state and does not set this feature in the CPU. In this case AVX2 instructions cause an illegal instruction exception. Botan must also check the flags set by the OS in the CPU. | ||||
* | No need for a conditional here | Jack Lloyd | 2022-01-10 | 1 | -4/+1 |
| | |||||
* | SystemRNG update for macOs. | David CARLIER | 2021-12-23 | 1 | -0/+24 |
| | | | | | | | | | From Yosemite, there is a new native API, the little potential issue with arc4random is possible errors (even tough most of the time unlikely happening) are ignored. The `__builtin_available` would be another way to detect its availability if preferred. | ||||
* | In zfec avoid inversion if not necessary | Jack Lloyd | 2021-12-22 | 1 | -4/+15 |
| | |||||
* | Various ZFEC inprovements | Jack Lloyd | 2021-12-21 | 4 | -111/+137 |
| | | | | | | | * New encoding API * Express SSE2 version using SIMD_4x32 * Remove useless callback param * Rewrite some awkward code in the matrix inversion | ||||
* | Add missing include | Jack Lloyd | 2021-12-18 | 1 | -0/+1 |
| | |||||
* | Merge pull request #2864 from reneme/fix/emscripten | René Meusel | 2021-12-17 | 1 | -2/+0 |
|\ | | | | | Improve emscripten build target | ||||
| * | FIX: m_mutex is not used in Certificate_Store_In_SQL | René Meusel | 2021-12-16 | 1 | -2/+0 |
| | | | | | | | | Co-Authored-By: Hannes Rantzsch <[email protected]> | ||||
* | | Add a zfec-compatible forward error correction implementation | Jack Lloyd | 2021-12-16 | 7 | -0/+1426 |
| | | | | | | | | Based on https://github.com/randombit/fecpp | ||||
* | | Merge GH #2862 Fix GH #2861 | Jack Lloyd | 2021-12-14 | 1 | -0/+3 |
|\ \ | |||||
| * | | Fix GH #2861 Anything under 512 bits == 0 security | Jack Lloyd | 2021-12-13 | 1 | -0/+3 |
| |/ | | | | | | | CADO NFS can factor 512 bit RSA keys in under a day. | ||||
* | | Merge GH #2860 Cleanup SHA-3 Clang workaround | Jack Lloyd | 2021-12-14 | 3 | -198/+132 |
|\ \ | |/ |/| | |||||
| * | Add header guard | Jack Lloyd | 2021-12-11 | 1 | -0/+5 |
| | | |||||
| * | Cleanup SHA-3 Clang workaround | Jack Lloyd | 2021-12-11 | 3 | -198/+127 |
| | | |||||
* | | Merge GH #2755 Check TLS record type immediately on receipt | Jack Lloyd | 2021-12-11 | 1 | -6/+26 |
|\ \ | |||||
| * | | Check the TLS record type immediately on decoding | Jack Lloyd | 2021-12-11 | 1 | -6/+26 |
| |/ | | | | | | | | | | | | | We would have rejected this later on anyway but there is no reason not to immediately close. GH #2754 | ||||
* / | Minor format tweaks [ci skip] | Jack Lloyd | 2021-12-11 | 1 | -6/+6 |
|/ | |||||
* | Merge GH #2827 Remove OpenSSL provider | Jack Lloyd | 2021-12-11 | 25 | -1749/+12 |
|\ | |||||
| * | Remove the OpenSSL provider | Jack Lloyd | 2021-10-28 | 25 | -1749/+12 |
| | | | | | | | | | | | | | | | | Starting in OpenSSL 3.0, most of the functionality which we need to implement the OpenSSL provider is deprecated. Rather than reimplement the whole provider in order to allow it to continue to work in the future, just remove it. Efforts would be better spent doing more optimization work rather than chasing OpenSSL's API changes. | ||||
* | | Merge pull request #2854 from tenzap/master-cstdlib | René Meusel | 2021-11-23 | 1 | -0/+1 |
|\ \ | | | | | | | add missing header: cstdlib | ||||
| * | | add missing header: cstdlib | tenzap | 2021-11-23 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | for compilation on older systems (like macos 10.11) Needed for std::free() & std::calloc() on older systems [1] That file is included indirectly on newer systems. [1] https://en.cppreference.com/w/cpp/memory/c/free | ||||
* | | | Fix compilation issue on older mac (< 10.12) | tenzap | 2021-11-17 | 1 | -0/+4 |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | Error was: In file included from src/lib/entropy/getentropy/getentropy.cpp:13: /usr/include/sys/random.h:37:32: error: unknown type name 'u_int' void read_random(void* buffer, u_int numBytes); ^ /usr/include/sys/random.h:38:33: error: unknown type name 'u_int' void read_frandom(void* buffer, u_int numBytes); ^ /usr/include/sys/random.h:39:33: error: unknown type name 'u_int' int write_random(void* buffer, u_int numBytes); ^ | ||||
* | | Merge pull request #2831 from reneme/fix/potential_segfault | René Meusel | 2021-11-16 | 9 | -33/+62 |
|\ \ | | | | | | | FIX: potential segfault in TLS::Ciphersuite::to_string() | ||||
| * | | FIX: review comment | René Meusel | 2021-11-15 | 1 | -1/+1 |
| | | | | | | | | | | | | Co-Authored-By: Hannes Rantzsch <[email protected]> | ||||
| * | | detect unknown ciphers when parsing TLS session | René Meusel | 2021-10-29 | 1 | -1/+9 |
| | | | |||||
| * | | remove default c'tor from TLS::Ciphersuite | René Meusel | 2021-10-28 | 3 | -22/+22 |
| | | | |||||
| * | | Ciphersuite::by_id() ::from_name() return a std::optional | René Meusel | 2021-10-28 | 8 | -20/+41 |
| | | | |||||
* | | | Remove OS::get_cpu_total and make OS::get_cpu_available more resiliant | Jack Lloyd | 2021-10-28 | 2 | -18/+21 |
| |/ |/| | | | | | GH #2830 | ||||
* | | FIX: amalgamation build (SHA3 BMI2) | René Meusel | 2021-10-28 | 1 | -2/+2 |
|/ | |||||
* | Merge GH #2822 Disable OpenSSL support for algos deprecated in OpenSSL 3.0 | Jack Lloyd | 2021-10-20 | 2 | -32/+0 |
|\ | |||||
| * | Disable OpenSSL support for algorithms deprecated in OpenSSL 3.0 | Jack Lloyd | 2021-10-20 | 2 | -32/+0 |
| | | | | | | | | | | Alternately we could enable the legacy provider but as a library, we don't want to do this since doing so would have a global affect. | ||||
* | | Merge GH #2803 Workaround miscompilation of SHA-3 in Clang 12 + XCode 13 | Jack Lloyd | 2021-10-20 | 2 | -10/+56 |
|\ \ | |/ |/| | |||||
| * | workaround a miscompilation issue in clang 12 (XCode 13) | René Meusel | 2021-10-19 | 2 | -10/+56 |
| | |