| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Not actually useful for the most part but it ensures everything builds
in a no-filesystem environment which is useful.
Add a OS feature for atomic operations since these aren't necessarily
available.
|
|
|
|
| |
Needed for old iOS and maybe other things GH #2045
|
|
|
|
|
| |
We need a distinct flag for this because Haiku is mostly POSIX
but does not support mlock.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Derive the fact that shared libs are not supported from the lack of
information about shared object names. If soname_suffix and co are
not set -> shared libs are disabled.
Disable stack protector by default on OSes where it has proven a problem
namely AIX and Haiku. Add --with-stack-protector option to force turning
it on.
|
|
|
|
|
| |
We are unlikely to ever use gettimeofday or memset_s going forward.
Also MinGW had the wrong flag for VirtualLock
|
|
|
|
|
|
| |
Based on compiling on AIX 7.1
[ci skip]
|
|
|
|
|
|
|
|
|
|
|
|
| |
Cleans up so object naming since most of the time (across Unix)
we follow the exact same naming scheme; just make it the default
if only the so suffix is specified in the file.
Also updates include header dir to be botan-${major}
Changes behavior when shared lib not supported; instead of making
the user explicitly try again with --disable-shared, just assume it
and continue running.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Provides an easier way for an application to configure a list of
entropy sources they'd like to use, or add a custom entropy source to
their seeding.
Exposes some toggles for the global/default entropy sources to build.h
Adds basic entropy tests which runs the polls and does sanity checking
on the results, including compression tests if available. These are
less useful for the CSPRNG outputs but a good check for the ones
producing plain ASCII like the /proc reader.
|
|
|
|
|
| |
It is added to all OS that use getsid currently, so it must be available
there.
|
|
|
|
|
|
|
| |
which architectures the OS supported shared libs on; in all cases it
was either all or none. Replace with new config build_shared [yes|no],
which defaults to yes but is set to no for MinGW and Cygwin since
shared libs don't seem to be working well there.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
QueryPerformanceCounter, into an entropy source hres_timer. Its
results, if any, do not count as contributing entropy to the poll.
Convert the other (monotonic/fixed epoch) timers to a single function
get_nanoseconds_clock(), living in time.h, which statically chooses
the 'best' timer type (clock_gettime, gettimeofday, std::clock, in
that order depending on what is available). Add feature test macros
for clock_gettime and gettimeofday.
Remove the Timer class and timer.h. Remove the Timer& argument to the
algorithm benchmark function.
|
|
|
|
|
| |
Pretty much useless and unused, except for listing the module names in
build.h and the short versions totally suffice for that.
|
|
such in configure.py. Paul Clark reported on the list having problems with
it otherwise because of CVS droppings being picked up and subsequently
errored on when parsing them as build info files (of course) failed.
|