aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge GH #1537 Add missing XMSS signature length checkJack Lloyd2018-04-124-23/+183
|\
| * Adds missing XMSS signature length check.Matthias Gierlings2018-04-124-23/+183
| | | | | | | | | | | | | | | | - Fixes out of bounds read in `XMSS_Signature` constructor when the raw signature data supplied as arguments is shorter than the signature size defined by the XMSS parameter set encoded in the `XMSS_PublicKey`. - Fixes valid signatures with arbitrary appended data to be verified as correct signature.
* | In XMSS_Tools::bench_threads only call hardware_concurrency onceJack Lloyd2018-04-121-7/+9
| | | | | | | | | | Getting this value will typically require either a system call or a cpuid call, both of which are fairly expensive.
* | Add missing override [ci skip]Jack Lloyd2018-04-121-1/+1
| |
* | Clarify log message [ci skip]Jack Lloyd2018-04-121-2/+2
| |
* | Correct name of script [ci skip]Jack Lloyd2018-04-121-1/+1
| |
* | Allow year up to 2200 in ASN1 time objectsJack Lloyd2018-04-124-5/+100
| | | | | | | | | | | | Also tighten up checking of days Fixes GH #1536
* | Lint fixesJack Lloyd2018-04-121-3/+8
| |
* | Some makefile simplificationsJack Lloyd2018-04-112-13/+5
| |
* | Merge GH #1535 Don't create solib symlinks on OpenBSDJack Lloyd2018-04-113-1/+4
|\ \
| * | Do not create shared library symlinks on OpenBSD.Alexander Bluhm2018-04-123-1/+4
| |/ | | | | | | | | | | | | | | Symlinks to shared libraries confuse the OpenBSD dynamic linker. We need one file with two numbers. The problem became apparent when the abi_rev and the OpenBSD ports shared libs numbers diverged. Add a new conditional variable symlink_shared_lib to suppress the symlink in the makefile.
* | Update newsJack Lloyd2018-04-111-0/+3
| |
* | Merge GH #1534 Optimize EC doubling for curves with a == 0 and a == -3Jack Lloyd2018-04-114-10/+61
|\ \
| * | Optimize EC point doubling for a == 0 and a == -3Jack Lloyd2018-04-114-10/+61
| |/
* / Fix indentation [ci skip]Jack Lloyd2018-04-111-5/+5
|/
* Fix the botan-test --verbose flag, which did nothingJack Lloyd2018-04-119-24/+30
| | | | It used to do something, then I broke it.
* Merge GH #1533 Use mkstemp for temp files in testsJack Lloyd2018-04-113-1/+42
|\
| * Move mkstemp to Test::temp_file_nameJack Lloyd2018-04-113-8/+40
| |
| * Use mkstemp(3) to create file for test.Alexander Bluhm2018-04-101-1/+10
| | | | | | | | | | | | Creating a temporary file in the current directory may fail due to permissions. Use POSIX mkstemp(3) to create a temporary file in a secure way for the filter test.
* | Add EC_Group::a_is_zeroJack Lloyd2018-04-113-1/+19
| |
* | Merge GH #1532 Add missing include for muslJack Lloyd2018-04-111-0/+1
|\ \
| * | Add missing errno.h include to entropy/dev_randomfwsGonzo2018-04-111-0/+1
|/ /
* | Bump version to 2.7.0Jack Lloyd2018-04-102-1/+4
| |
* | Update for 2.6.0 release2.6.0Jack Lloyd2018-04-102-4/+10
| |
* | Add security advisoryJack Lloyd2018-04-101-0/+11
| |
* | Add missing overrideJack Lloyd2018-04-091-1/+1
|/
* Add DL_Group::exponent_bitsJack Lloyd2018-04-094-7/+25
| | | | Just a useful helper
* Add a Montgomery exponentiation that takes variable timeJack Lloyd2018-04-094-8/+54
| | | | | | | | In the case of RSA encryption/verification the public exponent is... public. So we don't need to carefully guard against side channels that leak the exponent. Improves RSA verification performance by 50% or more.
* Remove redundant access specifierJack Lloyd2018-04-091-1/+0
|
* Fix incorrect macro checkJack Lloyd2018-04-091-2/+2
|
* Remove extra trailing ;Jack Lloyd2018-04-091-1/+1
|
* Fix bug that broke session decryption (and thus resumption)Jack Lloyd2018-04-093-1/+55
| | | | Introduced in 3657639ab. Add a test that would have caught this
* Add a data file for RISC-V 64Jack Lloyd2018-04-091-0/+1
| | | | Debian has a build target for this.
* Update newsJack Lloyd2018-04-091-2/+2
|
* Fix off by one when decoding TLS-CBC ciphertextsJack Lloyd2018-04-096-28/+196
|
* Update newsJack Lloyd2018-04-081-0/+6
|
* Fix interop bug in TLS serverJack Lloyd2018-04-083-0/+33
| | | | | The connection would fail if the client advertised any signature algorithm we did not support (eg RSA/SHA-224)
* Square is always positiveJack Lloyd2018-04-081-0/+1
|
* Rename test data file to match the test nameJack Lloyd2018-04-082-1/+1
|
* Add BigInt::square plus a speed test for BigInt multiplyJack Lloyd2018-04-084-8/+72
|
* Convert comba script to Python3Jack Lloyd2018-04-082-27/+27
|
* Merge GH #1528 Add sanitizer-specific optimization flagsJack Lloyd2018-04-073-3/+20
|\
| * Add sanitizer-specific optimization flagsJack Lloyd2018-04-073-3/+20
| |
* | Merge GH #1527 Add functions getting Cipher_Mode/AEAD_Mode returning unique_ptrJack Lloyd2018-04-0721-98/+165
|\ \
| * | Work around unique_ptr conversion bug in older GCCJack Lloyd2018-04-071-1/+1
| | |
| * | Update docs [ci skip]Jack Lloyd2018-04-071-1/+1
| | |
| * | Add RAII versions of get_cipher_mode and get_aeadJack Lloyd2018-04-0720-96/+163
| | | | | | | | | | | | See also #1526
* | | Avoid a warning when building under Clang [ci skip]Jack Lloyd2018-04-071-0/+1
| |/ |/|
* | Merge GH #1525 Allow tests to run cleanly under UbSan by defaultJack Lloyd2018-04-077-10/+26
|\ \ | |/ |/|
| * Moves UBSAN macros from test files to Test_OptionsMatthias Gierlings2018-04-074-13/+9
| | | | | | | | | | | | | | | | | | | | | | | | To keep the code more readable change the behavior of `Test_Options::no_avoid_undefined_behavior()`, instead of the conditionals inside the tests. `Test_Options::no_avoid_undefined_behavior()` will always return `true` if UBSAN is inactive. This way all tests, including those that cause undefined behaviour, will run. Once botan is compiled with UBSAN those tests will be automatically skipped unless the `--no-avoid-undefined` is passed to the test-bench.