aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add SHAKE-128 as stream cipherJack Lloyd2016-10-199-106/+3619
| | | | | Updates NewHope to use that instead of the hard-coded SHAKE-128, and adds toggle for BoringSSL compat mode using AES-128/CTR + SHA-256.
* Add proper SHA-3Jack Lloyd2016-10-1912-120/+1551
| | | | | | | | | | Kind of a copy and paste of Keccak, but only a single copy of the permutation at least. Keccak depends on SHA-3 instead of the reverse, so that SHA-3 can be enabled without also bringing in an unapproved hash function. Updates newhope code and removes API function newhope_hash which was an unofficial SHA-3-256.
* Fix pubkey tests when EMEs are disabled.Jack Lloyd2016-10-181-30/+14
| | | | | Test assumed EME was always there and would fail. This caused failures with BSI policy which disables PKCS1v1.5
* Just one BSI build is probably okJack Lloyd2016-10-181-1/+4
|
* configure: A missing file should be an errorJack Lloyd2016-10-181-1/+1
|
* Add BSI specific Travis buildJack Lloyd2016-10-182-2/+5
| | | | | | Unfortunately something that is enabled in BSI but not 'modern' policy takes ages to run under qemu and causes Travis timeouts, so revert back to the old policy for the ARM builds. GH #667
* Maintainer mode fixesJack Lloyd2016-10-174-15/+12
|
* 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-1783-89/+342
|\
| * Add ISA annotations to functions using SIMD, AES, etcJack Lloyd2016-10-1411-1/+62
| | | | | | | | | | | | | | | | 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-1220-6/+39
| |
| * Add IncludeOS target. Make filesystem support optional.Jack Lloyd2016-10-1019-18/+67
| |
* | Merge GH #667 Update AppVeyor configsJack Lloyd2016-10-171-21/+62
|\ \ | | | | | | | | | | | | | | | Adds MSVC debug checks while keeping CI runtimes reasonable. Closes #666
| * | 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
| |
* | Doc updates [ci skip]Jack Lloyd2016-10-152-0/+4
| |
* | Update readmeJack Lloyd2016-10-141-2/+2
| | | | | | | | | | | | | | | | After Travis upgrade to 14.04, earliest Clang tested in CI is Clang 3.5 s/McEliece/NewHope/ for those concerned about QC [ci skip]
* | 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-132-6/+38
| | | | | | | | | | | | | | | | | | | | Turns out decompressing a point is ~50x slower than checking (x,y) is on the curve. Update relnote accordingly.
* | | | configure: Sort the generated makefile lists [ci skip]Jack Lloyd2016-10-111-0/+1
| | | |
* | | | 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
|/ / / /
* | | | Merge GH #660 Add Doxygen mainpage [ci skip]Jack Lloyd2016-10-102-0/+58
|\ \ \ \ | |_|_|/ |/| | |
| * | | Add doxygen mainpageRené Korthaus2016-10-102-0/+58
|/ / / | | | | | | | | | Adds a Crypto++-like doxygen mainpage. Replaces the formerly empty mainpage.
* | | Update relnotesJack Lloyd2016-10-102-5/+42
| | | | | | | | | | | | [ci skip]
* | | 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.
* | | | Add missing news item for 1.11.32Jack Lloyd2016-10-091-0/+3
| | | | | | | | | | | | | | | | [ci skip]
* | | | Update todoJack Lloyd2016-10-091-2/+4
| | | | | | | | | | | | | | | | [ci skip]
* | | | Fix Clang warningsJack Lloyd2016-10-092-4/+2
| | | |
* | | | The other half of 55b8fb5Jack Lloyd2016-10-091-7/+9
| | | | | | | | | | | | | | | | GH #656