| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Where referenced in CI scripts, docs and such
|
|
|
|
|
|
|
| |
Makes it easier to support side by side installs. And for the programmer
it is easier if `import botan2` can always be used to refer to a specific version.
GH #847
|
|
|
|
| |
Install anything found in the python dir instead of assuming botan.py
|
|
|
|
| |
[ci skip]
|
|
|
|
|
|
| |
Doesn't seem to be a problem with the asm, code works fine on physical
hardware (POWER8) but on qemu (on CI) both instructions return zero
and the test fails.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Seen with rarely tested compilers (Sun Studio, Intel, ...) that we are missing
info for. Previously this led to a hard error which is pointless. Instead just
disable the relevant module and warn the user that something was disabled, if
they want to go look into why.
Remove bogus clmul entry in x86_64 - actually we lump both AES and CLMUL flags
under the same ISA ("aesni") since all known CPUs support either both or
neither. Caught by new configure warning.
Add Sun Studio ISA flags from GH #846
|
| |
|
|
|
|
| |
Instead just let the individual tests that need the RNG fail.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Deprecates CPUID::print, mainly to avoid use of ostream in utils.
Main reasoning is some platforms do not have streams at all. If all uses of
streams are for operator<< and operator>> overloads, these can be guarded by a
future BOTAN_HAS_CPP_STREAMS system-feature flag. But when ostreams are
required to use the API (as here), that is not possible.
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of refering to security.rst for how to report a security bug,
just say so in the readme.
Mention the botan-announce list.
Drop mention of gitter.im as place for reporting issues, it is not
good for that. GitHub issues and mailing list are both part of our
infrastructure and have a large audience, gitter.im is kind of
peripheral and not monitored so much.
[ci skip]
|
|
|
|
| |
[ci skip]
|
|
|
|
|
| |
Missing on Android it appears, or at least on Kullo CI NDK.
Not essential by any means.
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Tested for ARM only under qemu-aarch64, need to check hardware before merging.
Changes x86 CPUID bitmasks which does break ABI for 2.1, no API implications.
|
| |
| |
| |
| |
| |
| | |
os_utils.h was missing an include, only noticed on OS X
sigemptyset is a macro on OS X so cannot be called as ::sigemptyset
|
| |
| |
| |
| |
| |
| | |
Needed for ARM detection, also probably useful on PowerPC for AltiVec
Works fine for me on Linux x86-64 testing with ud2 instruction.
|
|/ |
|
|
|
|
| |
Seen on AMD Opteron A1100 running Linux 4.1
|
|\ |
|
| | |
|
| | |
|
|/ |
|
|
|
|
| |
[ci skip]
|
|
|
|
|
|
|
|
|
|
| |
I ran into this after PKCS11 was enabled by default, as my local
build script uses --enable-modules=pkcs11,... this ended up causing
the module to be loaded twice! The result was duplicate entries in
the Makefile.
Would be good for configure to be written more defensively, the
result of this error being a bogus Makefile is lame.
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| | |
The pkcs11 module once required the pkcs11 headers as an external dependency,
but the headers were included a while ago. Still, the module was set to be
load_on vendor. Instead, we can enable the module by default now.
|
|\ \
| |/
|/| |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|/
|
|
| |
As discussed in https://github.com/randombit/botan/pull/832
|
|\ |
|
| | |
|
| |
| |
| |
| | |
[ci skip]
|