| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
It's deprecated, but still exposed API and still used internally.
|
| |
|
|
|
|
| |
Fixes GH #1380
|
|\ |
|
| |
| |
| |
| | |
Use multiplications instead of shifting directly.
|
| |
| |
| |
| | |
Fixes GH #848
|
|/
|
|
|
| |
If we removed the shared lib first, the symlinks were dangling and
access() would return false. Instead always unlink.
|
|
|
|
| |
FFI requires so this so make sure it's true. GH #1377
|
|
|
|
| |
Due to an error in the test data they ended up being skipped at runtime.
|
|
|
|
|
| |
We don't need it right now but may later and it avoids a scary
warning when configuring the build.
|
|
|
|
|
| |
Was fixed in 2017 SP1. Same bug hit Crypto++ -
https://gihub.com/weidai11/cryptopp/issues/527
|
|
|
|
| |
Just a few bytes but every bit helps.
|
| |
|
|
|
|
| |
In favor of the (new) function that returns the OIDs
|
|
|
|
|
|
| |
Only needed in two headers (cli.h and test.h) not in the main library.
Just change those two uses to not use anonymous namespaces.
|
|
|
|
|
|
| |
Everything works ok on i686 when crosscompiled but it seems things
are badly broken on x86-64 when compiling on Windows. Rather than
fight their broken headers, just disable. No OCSP for you MinGW.
|
|
|
|
|
| |
Needed for mingw which has unames like mingw32_nt-6.3 and thus varies
based on the underlying version. Might be useful elsewhere.
|
|
|
|
|
|
|
|
|
|
| |
Works around a performance problem with applications that use this
as a buffer size.
Longer term fix is to have two different functions, one for the
minimum grain size and another for the optimium buffer size.
GH #1377
|
| |
|
|
|
|
|
| |
The output is not fixed and may change in the future, but changes
should at least be noticed.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Sun Studio gives a strange warning about this. This probably doesn't
help actually compile under Sun Studio. But it doesn't hurt to be
explicit.
|
|
|
|
|
|
|
| |
Newlib hides system functions if __STRICT_ANSI__ is defined, as happens
with -std=c++11. To get access to POSIX APIs you must use a -std=gnu
variant. However doing that in the build is kind of painful, it's
easier to selectively undefine the macro.
|
|
|
|
|
| |
Need to confirm this against another impl but at least this prevents
regressions.
|
| |
|
| |
|
|
|
|
| |
And correct exception message which referred to bcrypt
|
|
|
|
| |
We use the internal util API now
|
|
|
|
|
|
|
|
|
|
| |
Add a test to detect that.
Add test that stream ciphers throw if they are asked to use
a nonce of a size they don't support.
Remove "In = 00...00" blocks since that's implicit in the stream
cipher tests.
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Now the base class ASN1_Formatter parses the data and calls virtuals
to format. This allows custom formatting, or in the case of the fuzzer
skipping the overhead of formatting entirely.
|
|/
|
|
| |
So I can find it and remove it in 3.x
|
| |
|
|
|
|
| |
Apparently these are macros on Cygwin/newlib
|
|\ |
|
| | |
|
|/ |
|
|
|
|
| |
Also use the tag time for the tar timestamps instead of arbitrary 6am
|
| |
|
| |
|
|
|
|
|
|
| |
Calls `Botan::redc_pXXX` directly inside non-capturing lambda function,
which can be converted to `std::function<void (...)>`, instead of passing an
incompatible `void(*)` to `NIST_Curve_Reduction_Tests::random_redc_test`.
|
|
|
|
|
| |
Having the integers be sometimes hex and other times decimal made
the output very hard to interpret correctly. Better to just pick one.
|
|
|
|
|
| |
If we were able to successfully parse ASN.1 data embedded in an
OCTET STRING, we ended up not reporting the OCTET STRING tagging.
|
|
|
|
|
| |
Allows avoiding -pthread on Haiku which doesn't support that flag.
(Even though it has pthreads, go figure...)
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Now the value round trips with Entropy_Source::create
|
| |
|