| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
./configure.py --amal --mini --enable-modules=pkcs11
would fail to build because the guarded includes of pk_keys.h
ended up hiding the declaration entirely. This is really a bug in
how the amalgamation is generated but may be hard to fix in the
general case.
|
| |
|
|
|
|
| |
Hide CurveGFp with an eye for eventual removal
|
|
|
|
| |
Introduced when support for 1.1.0 API was added in #1056
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Previously calling update or encrypt without calling set_key first
would result in invalid outputs or else crashing.
|
|
|
|
|
|
| |
Fixes #1235
[ci skip]
|
|
|
|
|
| |
Gentoo-Bug: https://bugs.gentoo.org/633468
Signed-off-by: Alon Bar-Lev <[email protected]>
|
|
|
|
| |
[ci skip]
|
|
|
|
| |
Gentoo bug https://bugs.gentoo.org/633468
|
|
|
|
| |
Sonar
|
|
|
|
| |
Fixes the build with Xcode 8 and earlier.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Especially storing private key that way was bad, wasn't zeroed.
|
|
|
|
|
| |
Done by a perl script which converted all classes to final, followed
by selective reversion where it caused compilation failures.
|
| |
|
|
|
|
| |
Some help from include-what-you-use
|
|
|
|
|
|
|
| |
Avoid including build.h or assert.h directly, instead always take
them though types.h
Avoid math.h in favor of cmath
|
|
|
|
|
|
| |
ISO C++ reserves names with double underscores in them
Closes #512
|
| |
|
|
|
|
|
| |
Defined in build.h, all equal to BOTAN_DLL so ties into existing
system for exporting symbols.
|
| |
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| | |
Based on feedback from @securitykernel on the PR.
|
| |
| |
| |
| |
| |
| |
| | |
This commit implements the feedback from @securitykernel on the
PR and also changes the EC Group comparison to use the OID, akin
to OpenSSL. The EC Group comparison was needed before GH #1093
was merged, but now we can go use the OpenSSL variant.
|
| |
| |
| |
| |
| | |
Without the specific extern "C" declaration for the includes the
C functions might get C++'d so the linking stage fails.
|
| |
| |
| |
| |
| |
| | |
This commit adds support for ECDSA using BearSSL as a backend. This
means we can test BearSSL's ECDSA algorithms using the extensive
Botan testsuite.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
BearSSL is an implementation of the SSL/TLS protocol in C aiming
to be correct and secure, small and highly portable. Thus making
it nicer to be included in a rather sparse bootloader. This commit
adds support for BearSSL's hash routines only, with more stuff
coming up in following commits. The goal is to be able to test
BearSSL using Botan's extensive testsuite.
|
|\ \
| | |
| | |
| | | |
maintainer build
|
| |/ |
|
|\ \
| | |
| | |
| | | |
to use it
|
| |/ |
|
|/ |
|
|
|
|
| |
Constify some member functions
|
|
|
|
|
|
| |
Add some #ifdef LIBRESSL_VERSION_NUMBER in addition to the
OPENSSL_VERSION_NUMBER switch. Narrow down API compatiblity between
LibreSSL and OpenSSL version in docs.
|
| |
|
|
|
|
|
| |
Implement RSA private key generation with RSA_generate_key_ex().
Make PK_Key_Generation_Test iterate over all providers.
|
|\
| |
| |
| | |
call fails
|
| |
| |
| |
| |
| | |
Checking for all failures helps to find problems early. The
OpenSSL_Error() exception provides the OpenSSL error string.
|
|/
|
|
|
|
| |
The function ERR_load_crypto_strings() should be called by the
program or during library initializeation. Remove it from
get_openssl_enc_pad(), this looks like an accident.
|
|
|
|
|
|
| |
Use the OpenSSL provider to implement AES CBC mode. Also pass down
the provider to the encryption layer if there is no matching OpenSSL
mode. Add a test with empty nonce.
|
|
|
|
|
|
|
|
|
| |
* fixes for deprecated constructions in c++11 and later (explicit rule of 3/5 or implicit rule of 0 and other violations)
* `default` specifier instead of `{}` in some places(probably all)
* removal of unreachable code (for example `return` after `throw`)
* removal of compilation unit only visible, but not used functions
* fix for `throw()` specifier - used instead `BOTAN_NOEXCEPT`
* removed not needed semicolons
|