| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Needed for old iOS and maybe other things GH #2045
|
|
|
|
| |
For now only used by the TLS server.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
We need a distinct flag for this because Haiku is mostly POSIX
but does not support mlock.
|
|
|
|
| |
Fixes GH #1404
|
| |
|
|
|
|
|
| |
We are unlikely to ever use gettimeofday or memset_s going forward.
Also MinGW had the wrong flag for VirtualLock
|
|
|
|
|
|
|
| |
We have to rely on non-portable OS calls to convert UTC times,
and they are not available on many systems (including Solaris and MinGW).
But instead there is a simple algorithm due to Howard Hinnant that
does the same job. Woo.
|
|
|
|
| |
[ci skip]
|
|
|
|
|
|
|
|
|
| |
OpenBSD provides the arc4random(3) function in libc for user land
programs that need good random data. Use this to implement the
Botan system random number generator. It has the advantage over
/dev/urandom that it works without file descriptors and in chroot(2)
environment. Internally libc is currently using a ChaCha20 cipher
as PRNG and getentropy(2) to reseed itself automatically.
|
|
|
|
|
| |
Set library name for openbsd to libbotan-2.so.0.0 and do not install
symlinks.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The command line tools' origin as a collection of examples and test
programs glued together led to some unfortunate problems; lots of
hardcoded values, missing parameters, and obsolete crypto.
Adds a small library for writing command line programs of the sort
needed here (cli.h), which cuts the length of many of the commands in
half and makes commands more pleasant to write and extend.
Generalizes a lot of the commands also, eg previously only
signing/verification with DSA/SHA-1 was included!
Removes the fuzzer entry point since that's fairly useless outside of
an instrumented build.
Removes the in-library API for benchmarking.
|
|
|
|
| |
Closes #202
|
|
|
|
|
| |
alternate implementation for Unix and add some feature checks so a
boost-free build of the tests and command line are possible again.
|
|
|
|
|
|
|
| |
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.
|