Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge GH #669 Add SHA-3, SHAKE-128, and BoringSSL-mode NewHope | Jack Lloyd | 2016-10-20 | 20 | -215/+5161 |
|\ | |||||
| * | Update policy files for SHA-3 | Jack Lloyd | 2016-10-19 | 2 | -1/+3 |
| | | | | | | | | BSI drops Keccak in favor of SHA-3. Modern adds SHA-3 and SHAKE-128. | ||||
| * | 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. | ||||
* | | Merge GH #671 Allow eme_raw in BSI mode | Jack Lloyd | 2016-10-20 | 1 | -1/+0 |
|\ \ | |||||
| * | | we do the padding ourself so eme_raw is fine | Daniel Neus | 2016-10-20 | 1 | -1/+0 |
| |/ | | | | | | | So it shouldn't be prohibited in the module policy | ||||
* | | Merge GH #670 Improve Doxygen coverage | Jack Lloyd | 2016-10-20 | 93 | -142/+882 |
|\ \ | |/ |/| | |||||
| * | Reorganize anon namespace code to fix last doxygen warn [ci skip] | René Korthaus | 2016-10-20 | 1 | -8/+8 |
| | | |||||
| * | Predefine some variables for doxygen [ci skip] | René Korthaus | 2016-10-20 | 1 | -1/+8 |
| | | |||||
| * | Remove obsolete doxygen tag [ci skip] | René Korthaus | 2016-10-19 | 1 | -1/+0 |
| | | |||||
| * | Fix doxygen warnings [ci skip] | René Korthaus | 2016-10-19 | 39 | -58/+101 |
| | | |||||
| * | Minor doxygen fixes [ci skip] | René Korthaus | 2016-10-19 | 10 | -10/+10 |
| | | |||||
| * | Improve pubkey doxygen [ci skip] | René Korthaus | 2016-10-19 | 15 | -17/+251 |
| | | |||||
| * | Improve tls doxygen [ci skip] | René Korthaus | 2016-10-19 | 9 | -0/+99 |
| | | |||||
| * | Improve stream doxygen [ci skip] | René Korthaus | 2016-10-19 | 4 | -7/+26 |
| | | |||||
| * | Improve rng doxygen [ci skip] | René Korthaus | 2016-10-19 | 6 | -11/+82 |
| | | |||||
| * | Improve pkcs11 doxygen [ci skip] | René Korthaus | 2016-10-19 | 3 | -13/+49 |
| | | |||||
| * | Improve pk_pad doxygen [ci skip] | René Korthaus | 2016-10-19 | 6 | -5/+13 |
| | | |||||
| * | Improve pbkdf doxygen [ci skip] | René Korthaus | 2016-10-19 | 1 | -4/+54 |
| | | |||||
| * | Improve modes doxygen [ci skip] | René Korthaus | 2016-10-19 | 9 | -8/+104 |
| | | |||||
| * | Improve misc doxygen [ci skip] | René Korthaus | 2016-10-19 | 2 | -0/+18 |
| | | |||||
| * | Improve mac doxygen [ci skip] | René Korthaus | 2016-10-19 | 1 | -4/+6 |
| | | |||||
| * | Improve kdf doxygen [ci skip] | René Korthaus | 2016-10-19 | 8 | -8/+54 |
| | | |||||
| * | Improve hash doxygen [ci skip] | René Korthaus | 2016-10-19 | 2 | -4/+13 |
| | | |||||
| * | Improve block doxygen [ci skip] | René Korthaus | 2016-10-19 | 1 | -3/+6 |
|/ | |||||
* | 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 | ||||
* | Just one BSI build is probably ok | Jack Lloyd | 2016-10-18 | 1 | -1/+4 |
| | |||||
* | configure: A missing file should be an error | Jack Lloyd | 2016-10-18 | 1 | -1/+1 |
| | |||||
* | Add BSI specific Travis build | Jack Lloyd | 2016-10-18 | 2 | -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 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 | 83 | -89/+342 |
|\ | |||||
| * | Add ISA annotations to functions using SIMD, AES, etc | Jack Lloyd | 2016-10-14 | 11 | -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 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 | 20 | -6/+39 |
| | | |||||
| * | Add IncludeOS target. Make filesystem support optional. | Jack Lloyd | 2016-10-10 | 19 | -18/+67 |
| | | |||||
* | | Merge GH #667 Update AppVeyor configs | Jack Lloyd | 2016-10-17 | 1 | -21/+62 |
|\ \ | | | | | | | | | | | | | | | | Adds MSVC debug checks while keeping CI runtimes reasonable. Closes #666 | ||||
| * | | 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 |
| | | |||||
* | | Doc updates [ci skip] | Jack Lloyd | 2016-10-15 | 2 | -0/+4 |
| | | |||||
* | | Update readme | Jack Lloyd | 2016-10-14 | 1 | -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 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. |