Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow setting the validation time during PKIX path validation | Jack Lloyd | 2016-10-21 | 3 | -19/+34 |
| | | | | | | | Previously validation asked the system clock which is not always the correct thing (for example when using Roughtime protocol). Had been on the todo list forever, forced into it by some of the test certs expiring today. | ||||
* | Add create_private_key, expose key loading functions in pk_algs.h | Jack Lloyd | 2016-10-20 | 9 | -153/+236 |
| | |||||
* | Tighten up TLS server handshake logic. | Jack Lloyd | 2016-10-20 | 1 | -20/+15 |
| | | | | | | | | | Previously client was allowed to omit the Certificate message, a leftover from supporting SSLv3. In all versions of TLS, an empty message must be sent if the client does not want to use a cert. No known security impact, but nothing we need to allow anymore. Clean up the handshake switch a bit by using return statements. | ||||
* | cli: Add dl_group_info cmdlet | Jack Lloyd | 2016-10-20 | 1 | -0/+24 |
| | |||||
* | Update release notes | Jack Lloyd | 2016-10-20 | 1 | -0/+29 |
| | |||||
* | 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 |
| | |