Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add SHAKE-128 as stream cipher | Jack Lloyd | 2016-10-19 | 9 | -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-3 | Jack Lloyd | 2016-10-19 | 12 | -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 Lloyd | 2016-10-18 | 1 | -30/+14 |
| | | | | | Test assumed EME was always there and would fail. This caused failures with BSI policy which disables PKCS1v1.5 | ||||
* | Add BSI specific Travis build | Jack Lloyd | 2016-10-18 | 1 | -2/+4 |
| | | | | | | 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 fixes | Jack Lloyd | 2016-10-17 | 4 | -15/+12 |
| | |||||
* | In TLS::Session_Keys return values by reference | Jack Lloyd | 2016-10-17 | 1 | -6/+6 |
| | |||||
* | Update SRP6 version | Jack Lloyd | 2016-10-17 | 1 | -1/+1 |
| | | | | API changed in 227d59d88 but did not bump the version. | ||||
* | Indent include so amalgamation works correctly | Jack Lloyd | 2016-10-17 | 1 | -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 optional | Jack Lloyd | 2016-10-17 | 82 | -89/+332 |
|\ | |||||
| * | Add ISA annotations to functions using SIMD, AES, etc | Jack Lloyd | 2016-10-14 | 10 | -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 fixes | Jack Lloyd | 2016-10-12 | 5 | -0/+12 |
| | | |||||
| * | Fix mutex in oids.cpp | Jack Lloyd | 2016-10-12 | 3 | -9/+7 |
| | | | | | | | | Remove bogus includes for TLS tests | ||||
| * | Abstract out mutex type. Make threads optional. | Jack Lloyd | 2016-10-12 | 30 | -62/+162 |
| | | |||||
| * | configure - Better handling of filesystem feature bit | Jack Lloyd | 2016-10-12 | 19 | -1/+39 |
| | | |||||
| * | Add IncludeOS target. Make filesystem support optional. | Jack Lloyd | 2016-10-10 | 18 | -18/+62 |
| | | |||||
* | | AppVeyor: Implement 8 job build matrix | Simon Warta | 2016-10-17 | 1 | -21/+57 |
| | | |||||
* | | AppVeyor: Whitelist branches to avoid testing feature branches twice | Simon Warta | 2016-10-16 | 1 | -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 20f7e4ec | Jack Lloyd | 2016-10-16 | 2 | -7/+7 |
| | | | | | | | | Turns out MSVC 2013 doesn't have constexpr at all (!!) | ||||
* | | Build for ARM using BSI policy. GH #667 | Jack Lloyd | 2016-10-16 | 1 | -2/+2 |
| | | |||||
* | | Increase slop size in FFI test | Jack Lloyd | 2016-10-14 | 1 | -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 uses | Jack Lloyd | 2016-10-13 | 3 | -31/+9 |
| | | | | | | | | Remove unused and empty get_byte.h | ||||
* | | Change Certificate_Store_in_SQL to take RNG as argument. | Jack Lloyd | 2016-10-13 | 5 | -15/+20 |
| | | | | | | | | | | Previously it created a new AutoSeeded_RNG in each function, sometimes without even using it. | ||||
* | | ffi: Avoid deprecated PK constructors. | Jack Lloyd | 2016-10-13 | 1 | -4/+4 |
| | | | | | | | | The system rng is already a hard requirement for FFI anyway. | ||||
* | | Merge GH #659 TLS CBC is optional | Jack Lloyd | 2016-10-13 | 7 | -2/+23 |
|\ \ | |||||
| * | | Make TLS CBC optional | Jack Lloyd | 2016-10-08 | 7 | -2/+23 |
| | | | |||||
* | | | Merge GH #646 Fix MSVC debug configurations. Add debug builds to AppVeyor | Jack Lloyd | 2016-10-13 | 2 | -3/+21 |
|\ \ \ | |||||
| * | | | Diable static_assert in secure_allocator in MSVC debug | Simon Warta | 2016-10-13 | 1 | -0/+9 |
| | | | | |||||
| * | | | AppVeyor config: add debug configuration | Simon Warta | 2016-10-03 | 1 | -1/+10 |
| | | | | |||||
| * | | | AppVeyor config: use simplified --amalgamation parameter | Simon Warta | 2016-10-03 | 1 | -2/+2 |
| | | | | |||||
* | | | | Add OS2ECP benchmark. | Jack Lloyd | 2016-10-13 | 1 | -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 docs | Jack Lloyd | 2016-10-11 | 1 | -1/+38 |
|\ \ \ \ | |||||
| * | | | | Improve compression doc [ci skip] | René Korthaus | 2016-10-11 | 1 | -1/+38 |
| | | | | | |||||
* | | | | | Merge GH #662 Doxygen comments | Jack Lloyd | 2016-10-11 | 12 | -146/+395 |
|\ \ \ \ \ | |||||
| * | | | | | Improve cert doxygen [ci skip] | René Korthaus | 2016-10-11 | 12 | -146/+395 |
| |/ / / / | |||||
* / / / / | Improve base doxygen [ci skip] | René Korthaus | 2016-10-11 | 3 | -1/+22 |
|/ / / / | |||||
* | | / | Add doxygen mainpage | René Korthaus | 2016-10-10 | 2 | -0/+58 |
| |_|/ |/| | | | | | | | | Adds a Crypto++-like doxygen mainpage. Replaces the formerly empty mainpage. | ||||
* | | | Merge GH #655 Fix Win32 CryptoAPI source | Jack Lloyd | 2016-10-10 | 1 | -1/+1 |
|\ \ \ | |||||
| * | | | The implicit constructor does not specify a provider. | slaviber | 2016-10-07 | 1 | -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 warnings | Jack Lloyd | 2016-10-09 | 2 | -4/+2 |
| | | | | |||||
* | | | | The other half of 55b8fb5 | Jack Lloyd | 2016-10-09 | 1 | -7/+9 |
| | | | | | | | | | | | | | | | | GH #656 | ||||
* | | | | OpenSSL EC: Correctly handle OpenSSL not supporting the curve | Jack Lloyd | 2016-10-09 | 2 | -6/+6 |
| | | | | | | | | | | | | | | | | GH #656 | ||||
* | | | | Shell is not my favorite language | Jack Lloyd | 2016-10-09 | 1 | -1/+1 |
| | | | | |||||
* | | | | This happening is actually a user error (eg, wrong key type) | Jack Lloyd | 2016-10-09 | 1 | -7/+14 |
| | | | | |||||
* | | | | Make pk_ops.h internal | Jack Lloyd | 2016-10-08 | 17 | -49/+125 |
| | | | | | | | | | | | | | | | | Some fixes for missing system_rng in ECIES and tests. | ||||
* | | | | Add missing try/catch blocks. | Jack Lloyd | 2016-10-07 | 4 | -13/+82 |
| | | | | | | | | | | | | | | | | Document that create_*_op is public but not for public consumption. | ||||
* | | | | OpenSSL fixes | Jack Lloyd | 2016-10-07 | 2 | -4/+4 |
| | | | | |||||
* | | | | Revert PK_Verifier change (don't require RNG there). | Jack Lloyd | 2016-10-07 | 40 | -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 Lloyd | 2016-10-07 | 73 | -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 build | Jack Lloyd | 2016-10-07 | 2 | -13/+20 |
|\ \ \ | |||||
| * | | | Another try at ppc64el tests | Jack Lloyd | 2016-10-07 | 2 | -13/+20 |
| |/ / |