aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* In TLS::Session_Keys return values by referenceJack Lloyd2016-10-171-6/+6
|
* Update SRP6 versionJack Lloyd2016-10-171-1/+1
| | | | API changed in 227d59d88 but did not bump the version.
* Indent include so amalgamation works correctlyJack Lloyd2016-10-171-2/+1
| | | | | Otherwise <future> is thrown into the top of botan_all.h which causes problems on IncludeOS
* Merge GH #665 Add IncludeOS target, make filesystem/threads optionalJack Lloyd2016-10-1782-89/+332
|\
| * Add ISA annotations to functions using SIMD, AES, etcJack Lloyd2016-10-1410-1/+52
| | | | | | | | | | | | | | | | Also emit `#pragma GCC target` in the ISA specific amalgamation files. This allows compiling without any special compiler flags, at least with GCC 6.2 and Clang 3.8. The ISA annotations are ignored in MSVC, which just emits whatever instruction the intrinsic requires.
| * More no-filesystem fixesJack Lloyd2016-10-125-0/+12
| |
| * Fix mutex in oids.cppJack Lloyd2016-10-123-9/+7
| | | | | | | | Remove bogus includes for TLS tests
| * Abstract out mutex type. Make threads optional.Jack Lloyd2016-10-1230-62/+162
| |
| * configure - Better handling of filesystem feature bitJack Lloyd2016-10-1219-1/+39
| |
| * Add IncludeOS target. Make filesystem support optional.Jack Lloyd2016-10-1018-18/+62
| |
* | AppVeyor: Implement 8 job build matrixSimon Warta2016-10-171-21/+57
| |
* | AppVeyor: Whitelist branches to avoid testing feature branches twiceSimon Warta2016-10-161-0/+5
| | | | | | | | | | | | (as branch and as pull request). This is only relevant for Jack's PRs since he is the only one creating feature branches in the randombit/botan repository.
* | Remove constexpr use introduced in 20f7e4ecJack Lloyd2016-10-162-7/+7
| | | | | | | | Turns out MSVC 2013 doesn't have constexpr at all (!!)
* | Build for ARM using BSI policy. GH #667Jack Lloyd2016-10-161-2/+2
| |
* | Increase slop size in FFI testJack Lloyd2016-10-141-2/+3
| | | | | | | | | | This is lame but I still cannot repro and random CI failures suck. Eventually I will fix the API.
* | util: Some simple constexpr usesJack Lloyd2016-10-133-31/+9
| | | | | | | | Remove unused and empty get_byte.h
* | Change Certificate_Store_in_SQL to take RNG as argument.Jack Lloyd2016-10-135-15/+20
| | | | | | | | | | Previously it created a new AutoSeeded_RNG in each function, sometimes without even using it.
* | ffi: Avoid deprecated PK constructors.Jack Lloyd2016-10-131-4/+4
| | | | | | | | The system rng is already a hard requirement for FFI anyway.
* | Merge GH #659 TLS CBC is optionalJack Lloyd2016-10-137-2/+23
|\ \
| * | Make TLS CBC optionalJack Lloyd2016-10-087-2/+23
| | |
* | | Merge GH #646 Fix MSVC debug configurations. Add debug builds to AppVeyorJack Lloyd2016-10-132-3/+21
|\ \ \
| * | | Diable static_assert in secure_allocator in MSVC debugSimon Warta2016-10-131-0/+9
| | | |
| * | | AppVeyor config: add debug configurationSimon Warta2016-10-031-1/+10
| | | |
| * | | AppVeyor config: use simplified --amalgamation parameterSimon Warta2016-10-031-2/+2
| | | |
* | | | Add OS2ECP benchmark.Jack Lloyd2016-10-131-0/+36
| | | | | | | | | | | | | | | | | | | | Turns out decompressing a point is ~50x slower than checking (x,y) is on the curve. Update relnote accordingly.
* | | | Merge GH #663 Compression docsJack Lloyd2016-10-111-1/+38
|\ \ \ \
| * | | | Improve compression doc [ci skip]René Korthaus2016-10-111-1/+38
| | | | |
* | | | | Merge GH #662 Doxygen commentsJack Lloyd2016-10-1112-146/+395
|\ \ \ \ \
| * | | | | Improve cert doxygen [ci skip]René Korthaus2016-10-1112-146/+395
| |/ / / /
* / / / / Improve base doxygen [ci skip]René Korthaus2016-10-113-1/+22
|/ / / /
* | | / Add doxygen mainpageRené Korthaus2016-10-102-0/+58
| |_|/ |/| | | | | | | | Adds a Crypto++-like doxygen mainpage. Replaces the formerly empty mainpage.
* | | Merge GH #655 Fix Win32 CryptoAPI sourceJack Lloyd2016-10-101-1/+1
|\ \ \
| * | | The implicit constructor does not specify a provider.slaviber2016-10-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | With no provider specified, Win32_CAPI_EntropySource::poll does not call ::CryptGenRandom and returns 0, leading to subsequent PRNG_Unseeded exceptions.
* | | | Fix Clang warningsJack Lloyd2016-10-092-4/+2
| | | |
* | | | The other half of 55b8fb5Jack Lloyd2016-10-091-7/+9
| | | | | | | | | | | | | | | | GH #656
* | | | OpenSSL EC: Correctly handle OpenSSL not supporting the curveJack Lloyd2016-10-092-6/+6
| | | | | | | | | | | | | | | | GH #656
* | | | Shell is not my favorite languageJack Lloyd2016-10-091-1/+1
| | | |
* | | | This happening is actually a user error (eg, wrong key type)Jack Lloyd2016-10-091-7/+14
| | | |
* | | | Make pk_ops.h internalJack Lloyd2016-10-0817-49/+125
| | | | | | | | | | | | | | | | Some fixes for missing system_rng in ECIES and tests.
* | | | Add missing try/catch blocks.Jack Lloyd2016-10-074-13/+82
| | | | | | | | | | | | | | | | Document that create_*_op is public but not for public consumption.
* | | | OpenSSL fixesJack Lloyd2016-10-072-4/+4
| | | |
* | | | Revert PK_Verifier change (don't require RNG there).Jack Lloyd2016-10-0740-178/+220
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Verification is deterministic and public, so really no RNG is ever needed. Change provider handling - accepts "base", "openssl", or empty, otherwise throws a Provider_Not_Found exception.
* | | | Remove Algo_Registry usage from public key code.Jack Lloyd2016-10-0773-437/+1129
| |_|/ |/| | | | | | | | | | | | | | | | | | | | Instead the key types exposes operations like `create_encryption_op` which will return the relevant operation if the algorithm supports it. Changes pubkey.h interface, now RNG is passed at init time. Blinder previous created its own RNG, now it takes it from app.
* | | Merge GH #654 Fix PPC64le Travis CI buildJack Lloyd2016-10-072-13/+20
|\ \ \
| * | | Another try at ppc64el testsJack Lloyd2016-10-072-13/+20
| |/ /
* | | TLS: Split CBC+HMAC modes to standalone AEAD_ModeJack Lloyd2016-10-078-454/+850
| | | | | | | | | | | | | | | Now record layer only deals with an AEAD, and the weird complications of CBC modes mostly hidden in tls_cbc.cpp
* | | Merge GH #645 TLS compressed pointsJack Lloyd2016-10-0713-9/+159
|\ \ \
| * | | Fix tls_messages testsRené Korthaus2016-10-032-4/+4
| | | |
| * | | Minor improvementsRené Korthaus2016-10-033-25/+7
| | | |
| * | | Support encoding of supported point formats extensionRené Korthaus2016-10-0311-5/+173
| | |/ | |/|