aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Add -Wdocumentation to default Clang warning flagsJack Lloyd2022-01-271-2/+2
| | |
| * | Fix some Clang warningsJack Lloyd2022-01-2710-16/+15
| | | | | | | | | | | | See GH #2886
* | | Update XCode->Clang version mapJack Lloyd2022-01-271-18/+13
|/ / | | | | | | | | Versions before XCode 10 don't matter to us in this branch, as they didn't support C++17
* | Check OSXSAVE and AVX flags before enabling AVX2 support.Alexander Bluhm2022-01-121-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 hereJack Lloyd2022-01-101-4/+1
| |
* | Disable Python lintJack Lloyd2021-12-281-1/+1
| |
* | Disable concurrency with sphinx-buildJack Lloyd2021-12-261-33/+0
| | | | | | | | Sphinx with -j8 on an 8 core machine is 5 seconds *slower* than -j1 :/
* | SystemRNG update for macOs.David CARLIER2021-12-232-0/+25
|/ | | | | | | | | 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 necessaryJack Lloyd2021-12-221-4/+15
|
* Various ZFEC inprovementsJack Lloyd2021-12-217-130/+160
| | | | | | | * New encoding API * Express SSE2 version using SIMD_4x32 * Remove useless callback param * Rewrite some awkward code in the matrix inversion
* Add missing includeJack Lloyd2021-12-181-0/+1
|
* Merge pull request #2864 from reneme/fix/emscriptenRené Meusel2021-12-179-8/+66
|\ | | | | Improve emscripten build target
| * appease pylintRené Meusel2021-12-161-1/+2
| | | | | | | | Co-Authored-By: Hannes Rantzsch <[email protected]>
| * switch to macOS as ubuntu 20.04 does not provide emscriptenRené Meusel2021-12-161-1/+6
| | | | | | | | Co-Authored-By: Hannes Rantzsch <[email protected]>
| * FIX: m_mutex is not used in Certificate_Store_In_SQLRené Meusel2021-12-161-2/+0
| | | | | | | | Co-Authored-By: Hannes Rantzsch <[email protected]>
| * CI: add a build step for emscription (build only, no tests run)René Meusel2021-12-161-1/+11
| | | | | | | | Co-Authored-By: Hannes Rantzsch <[email protected]>
| * FIX: wasm has a word length of 32René Meusel2021-12-161-1/+1
| | | | | | | | Co-Authored-By: Hannes Rantzsch <[email protected]>
| * support auto-detection of emcc compiler versionRené Meusel2021-12-142-0/+7
| | | | | | | | Co-Authored-By: Hannes Rantzsch <[email protected]>
| * preload test data for emscripten test binaryRené Meusel2021-12-142-1/+6
| | | | | | | | Co-Authored-By: Hannes Rantzsch <[email protected]>
| * add better build info for emscriptenRené Meusel2021-12-144-4/+36
| | | | | | | | Co-Authored-By: Hannes Rantzsch <[email protected]>
* | Add a zfec-compatible forward error correction implementationJack Lloyd2021-12-1613-21/+2466
| | | | | | | | Based on https://github.com/randombit/fecpp
* | Merge GH #2862 Fix GH #2861Jack Lloyd2021-12-141-0/+3
|\ \
| * | Fix GH #2861 Anything under 512 bits == 0 securityJack Lloyd2021-12-131-0/+3
| |/ | | | | | | CADO NFS can factor 512 bit RSA keys in under a day.
* | Merge GH #2860 Cleanup SHA-3 Clang workaroundJack Lloyd2021-12-143-198/+132
|\ \ | |/ |/|
| * Add header guardJack Lloyd2021-12-111-0/+5
| |
| * Cleanup SHA-3 Clang workaroundJack Lloyd2021-12-113-198/+127
| |
* | Merge GH #2755 Check TLS record type immediately on receiptJack Lloyd2021-12-113-8/+31
|\ \
| * | Disable the loose record version testJack Lloyd2021-12-111-0/+2
| | |
| * | Check the TLS record type immediately on decodingJack Lloyd2021-12-112-8/+29
| |/ | | | | | | | | | | | | 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 Lloyd2021-12-111-6/+6
|/
* Merge GH #2827 Remove OpenSSL providerJack Lloyd2021-12-1128-1778/+14
|\
| * Remove the OpenSSL providerJack Lloyd2021-10-2828-1778/+14
| | | | | | | | | | | | | | | | 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 #2848 from reneme/fix/ldflags_orderRené Meusel2021-12-091-6/+7
|\ \ | | | | | | FIX: always state -L${BUILD_DIR} before ${LDFLAGS}
| * | FIX: always state -L${BUILD_DIR} before ${LDFLAGS} (fixes #2847)René Meusel2021-11-151-6/+7
| | | | | | | | | | | | Co-Authored-By: Hannes Rantzsch <[email protected]>
* | | Merge pull request #2854 from tenzap/master-cstdlibRené Meusel2021-11-232-1/+2
|\ \ \ | | | | | | | | add missing header: cstdlib
| * | | add missing header: cstdlibtenzap2021-11-232-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)tenzap2021-11-171-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_segfaultRené Meusel2021-11-1614-52/+102
|\ \ \ | | | | | | | | FIX: potential segfault in TLS::Ciphersuite::to_string()
| * | | FIX: review commentRené Meusel2021-11-151-1/+1
| | | | | | | | | | | | | | | | Co-Authored-By: Hannes Rantzsch <[email protected]>
| * | | detect unknown ciphers when parsing TLS sessionRené Meusel2021-10-292-4/+33
| | | |
| * | | remove default c'tor from TLS::CiphersuiteRené Meusel2021-10-284-23/+23
| | | |
| * | | Ciphersuite::by_id() ::from_name() return a std::optionalRené Meusel2021-10-2813-36/+57
| | | |
* | | | Merge pull request #2817 from reneme/ci/windows_update_boost_1_77Hannes Rantzsch2021-11-151-3/+3
|\ \ \ \ | |_|/ / |/| | | CI: Let AppVeyor use boost 1.77
| * | | AppVeyor uses boost 1.77René Meusel2021-10-121-3/+3
| | | |
* | | | Merge GH #2838 Add amalgamation build to CIJack Lloyd2021-10-301-12/+38
|\ \ \ \
| * | | | Add amalgamation CI build (GH #2836)Jack Lloyd2021-10-281-12/+38
| | |_|/ | |/| | | | | | | | | | | | | | | | | | Also add better error checking to ci_build script Remove some options that were parsed but ignored
* / | | Remove OS::get_cpu_total and make OS::get_cpu_available more resiliantJack Lloyd2021-10-283-22/+24
|/ / / | | | | | | | | | GH #2830
* | / FIX: amalgamation build (SHA3 BMI2)René Meusel2021-10-281-2/+2
| |/ |/|
* | Remove the Travis CI configuration/scriptsJack Lloyd2021-10-202-121/+0
| |
* | Merge GH #2822 Disable OpenSSL support for algos deprecated in OpenSSL 3.0Jack Lloyd2021-10-202-32/+0
|\ \