| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
As long as we support DSS ciphersuites, we should test them,
even if they're deprecated.
|
|
|
|
| |
Equivalent to an 8 byte all-zero IV, same handling as Salsa.
|
|\
| |
| |
| | |
OS::get_high_resolution_clock
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Now let it return 0 if we have no hardware timestamp, and add
OS::get_high_resolution_clock for best available clock.
This is mainly because it's confusing for get_processor_timestamp to return
something that is not a processor timestamp and because it simplifies adding
cycles/byte output if we know that something is or is not a cycle counter.
Also adds Windows SEH version of run_cpu_instruction_probe. Untested, uncompiled.
|
|/
|
|
| |
Tested on qemu-aarch64
|
|
|
|
|
|
| |
Values take from the NESSIE submission package.
[ci skip]
|
|
|
|
| |
It assumed if ECC was included then ECDH and ECDSA was also
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Based on build output sent by @noloader.
If RLIMIT_MEMLOCK is not defined, assume regular user is not able to
call mlock. This probably also affected Clang/GCC on Solaris.
Work around resolution issue in SIMD_4x32 where it finds ambiguity
between arg taking uint32_t and __m128i. This is probably some
artifact of how SunCC represents vector types, and seems highly bogus
in general but is easy to work around here. Change constructor taking
a single value to instead be `SIMD_4x32::splat` function. The SIMD
class is internal, so no API implications.
Fix various warnings about lambda functions that were missing return
types and which were not a single return statement. AIUI C++11 doesn't
guarantee that lambda return type will be deduced in that situation,
though in practice every compiler including SunCC seems to handle it.
Disable AVX2 usage, since SunCC's intrinsics seem to be broken - its
_mm_loadu_si256 takes non-const pointer.
Rename a few variables in the tests to avoid shadowed var warnings.
|
| |
|
|
|
|
| |
Instead just let the individual tests that need the RNG fail.
|
| |
|
| |
|
|
|
|
|
| |
Mainly driven by missing test for OS::run_cpu_instruction_probe.
Currently only works on x86 and ARM. Tested on x86-64 native and aarch64 qemu.
|
| |
|
|
|
|
| |
Just use in-memory sqlite DB instead
|
| |
|
|
|
|
|
|
|
|
| |
When compiled by GCC 4.8 on AIX 7.1 ppc32, the TLS policy tests
fail because the exception thrown from the TLS policy check ends up
not being caught at runtime by the test if the catch statement
is for `std::exception&` or even `Botan::Exception&` but only
if the actually thrown type `Botan::TLS::TLS_Exception` is caught.
|
| |
|
|
|
|
| |
Found by Coverity scanner
|
|
|
|
| |
GH #713
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Currently untested by TLS crosstalk tests because it is not
supported on the server side.
Exposes the rest of TLS message types to application.
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This lets us upgrade the FFI version over time and still allow
applications to reliably detect if the current library binary
supports their version.
As an example, it would be useful to be able to add features to FFI
sometime in 2.x. In that case, we would increase the value of the
FFI API version, even though anything calling the old API would still
work perfectly. Applications can verify at runtime the API they want to
use is supported using this new call.
|
|/
|
|
| |
GH #798
|
|
|
|
| |
because there there is no system_rng on ios
|
| |
|
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | | |
to avoid test failures
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Removes complicated extra variable "dev", which was calculated
incorrectly: if ratio = 0.0 then dev = 0.0, resulting in a test success.
|
| |/ |
|
|/ |
|
|
|
|
|
|
|
| |
Compiles, but basically untested as my machine with a working TPM
suffered a fatal logic board failure some time ago. If TPM is compiled
in but creating the TPM context fails, test assumes no hardware is
available and returns.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Fix a bug in Pipe::check_available that must date back 15 years...
Add destructors to compression filter so unique_ptr destructor runs
without user having to include an extra header for the owned type.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Moves BSI policy file to test data dir where it can be compared with
what the hardcoded class outputs.
|