Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor option parsing in cli and test code | Jack Lloyd | 2017-10-24 | 18 | -947/+1133 |
| | | | | Allows cleaning up header includes, also somewhat smaller binaries. | ||||
* | Fix typo | Jack Lloyd | 2017-10-23 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | Update news | Jack Lloyd | 2017-10-22 | 1 | -3/+27 |
| | |||||
* | Merge GH #1263 Support FFDHE negotiation in TLS | Jack Lloyd | 2017-10-22 | 15 | -36/+371 |
|\ | |||||
| * | Remove check for negotiated DH group in TLS client | René Korthaus | 2017-10-20 | 1 | -29/+0 |
| | | | | | | | | | | | | | | The server may not support the supported groups extension and choose an arbitrary group. RFC 7919 permits clients to continue if the group is acceptable under local policy, which we do now. | ||||
| * | Fall back to default group if client does not send any DH groups | René Korthaus | 2017-10-20 | 2 | -2/+19 |
| | | |||||
| * | Add allowed values for allowed groups | René Korthaus | 2017-10-18 | 1 | -3/+13 |
| | | |||||
| * | Add supported groups TLS extension (RFC 7919) | René Korthaus | 2017-10-17 | 16 | -35/+372 |
| | | |||||
* | | Merge GH #1271 Deprecate some exception types | Jack Lloyd | 2017-10-22 | 1 | -3/+3 |
|\ \ | |||||
| * | | deprecate exceptions | Daniel Neus | 2017-10-21 | 1 | -3/+3 |
| | | | |||||
* | | | Merge GH #1270 Support verification of PSS X.509 objects | Jack Lloyd | 2017-10-22 | 239 | -11/+9131 |
|\ \ \ | |/ / |/| | | |||||
| * | | review changes | Daniel Neus | 2017-10-21 | 4 | -235/+235 |
| | | | |||||
| * | | X.509 RSA-PSS verification | Daniel Neus | 2017-10-20 | 239 | -10/+9130 |
| | | | |||||
* | | | Fix for 32-bit Windows | Jack Lloyd | 2017-10-20 | 1 | -4/+4 |
| | | | | | | | | | | | | The buffer is not aligned :/ | ||||
* | | | Add ability to print fingerprint in cert_info cli | Jack Lloyd | 2017-10-20 | 1 | -1/+4 |
| | | | | | | | | | | | | [ci skip] | ||||
* | | | Allow setting CTR width via string | Jack Lloyd | 2017-10-20 | 5 | -6/+39 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Prohibit very small counter widths (under 4 bytes), since they lead to trivial keystream reuse. Add tests. Fix clone which always returned an object with a block-wide counter. | ||||
* | | | Remove redundant check | Jack Lloyd | 2017-10-20 | 1 | -3/+0 |
| | | | | | | | | | | | | | | | | | | CBC mode already has this same size check. [ci skip] | ||||
* | | | Add GHASH using SSSE3 | Jack Lloyd | 2017-10-20 | 5 | -3/+106 |
| | | | | | | | | | | | | About 30% faster than scalar on Skylake | ||||
* | | | Update news | Jack Lloyd | 2017-10-20 | 1 | -2/+2 |
| | | | |||||
* | | | Update side channel notes | Jack Lloyd | 2017-10-20 | 1 | -8/+5 |
| | | | |||||
* | | | Merge GH #1269 Use base CBC to implement TLS-CBC ciphersuites | Jack Lloyd | 2017-10-20 | 3 | -49/+36 |
|\ \ \ | |||||
| * | | | Use base CBC modes to implement TLS CBC ciphersuites | Jack Lloyd | 2017-10-19 | 3 | -49/+36 |
|/ / / | | | | | | | | | | | | | This reduces code and also lets TLS make use of parallel decryption which it was not doing before. | ||||
* | | | Remove unused variable | Jack Lloyd | 2017-10-19 | 1 | -1/+1 |
| | | | |||||
* | | | In speed flush the output stream after each result | Jack Lloyd | 2017-10-19 | 1 | -1/+1 |
| | | | |||||
* | | | Undeprecate these exceptions | Jack Lloyd | 2017-10-19 | 2 | -5/+7 |
| | | | | | | | | | | | | Cannot figure out how to get MSVC to shut up | ||||
* | | | Another attempt at silencing MSVC warning | Jack Lloyd | 2017-10-19 | 2 | -6/+2 |
| | | | |||||
* | | | Appease Sonar | Jack Lloyd | 2017-10-19 | 1 | -1/+1 |
| | | | |||||
* | | | Add a destructor to Policy_Violation | Jack Lloyd | 2017-10-19 | 1 | -3/+4 |
| | | | | | | | | | | | | | | | MSVC produces a deranged warning that the compiler generated destructor is deprecated, try to shut it up. | ||||
* | | | Ignore BOTAN_DEPRECATED in Doxygen config | Jack Lloyd | 2017-10-19 | 1 | -0/+1 |
|/ / | | | | | | | Fixes #1266 | ||||
* | | Merge GH #1262 GCM and CTR optimizations | Jack Lloyd | 2017-10-19 | 13 | -436/+789 |
|\ \ | |||||
| * | | PMULL optimizations | Jack Lloyd | 2017-10-18 | 3 | -61/+192 |
| | | | |||||
| * | | Further optimizations, and split out GHASH reduction code | Jack Lloyd | 2017-10-18 | 3 | -87/+57 |
| | | | |||||
| * | | GCM and CTR optimizations | Jack Lloyd | 2017-10-18 | 11 | -372/+624 |
| |/ | | | | | | | | | | | | | | | | | | | | | In CTR, special case for counter widths of special interest. In GHASH, uses a 4x reduction technique suggested by Intel. Split out GHASH to its own source file and header. With these changes GCM is over twice as fast on Skylake and about 50% faster on Westmere. | ||||
* | | Merge GH #1265 Handle conditional includes correctly in amalgamation (see ↵ | Jack Lloyd | 2017-10-19 | 3 | -20/+77 |
|\ \ | | | | | | | | | | also #1264) | ||||
| * | | Use conditional include in demaphore.h | Simon Warta | 2017-10-19 | 1 | -1/+1 |
| | | | |||||
| * | | Only skip includes that have been incuded unconditionally before | Simon Warta | 2017-10-19 | 1 | -10/+19 |
| | | | |||||
| * | | Allow trailing comments for include matchers | Simon Warta | 2017-10-19 | 2 | -3/+14 |
| | | | |||||
| * | | Rename method to AmalgamationHelper.is_unconditional_std_include and test | Simon Warta | 2017-10-19 | 2 | -8/+45 |
| | | | |||||
| * | | Use __file__ to detect project root | Simon Warta | 2017-10-19 | 1 | -1/+1 |
|/ / | | | | | | | otherwise the module "configure" cannot be imported by the tests anymore | ||||
* / | GMAC test fixes | Jack Lloyd | 2017-10-18 | 2 | -2/+2 |
|/ | | | | [ci skip] | ||||
* | Simplify speed cmdlet, make summary optional, add JSON output | Jack Lloyd | 2017-10-16 | 1 | -501/+455 |
| | |||||
* | Correct usage of std::aligned_storage | Jack Lloyd | 2017-10-15 | 1 | -6/+6 |
| | | | | This ended up allocating 256 KiB! | ||||
* | Additional final annotations | Jack Lloyd | 2017-10-15 | 27 | -44/+44 |
| | |||||
* | GMAC optimization | Jack Lloyd | 2017-10-15 | 3 | -22/+34 |
| | | | | | Avoid copying inputs needlessly, on Skylake doubles performance (from 1 GB/s -> 2 GB/s) | ||||
* | Merge GH #1257 Use std::aligned_storage for AES T-table | Jack Lloyd | 2017-10-15 | 1 | -32/+56 |
|\ | |||||
| * | Use overaligned storage for AES T-Table | Jack Lloyd | 2017-10-14 | 1 | -32/+56 |
| | | | | | | | | | | This improves performance by ~ .5 cycle/byte. Also it ensures that our cache reading countermeasure works as expected. | ||||
* | | Merge GH #1255 Use a single T-table in AES | Jack Lloyd | 2017-10-15 | 1 | -127/+78 |
|\| | |||||
| * | Reduce AES to using a single T-table | Jack Lloyd | 2017-10-13 | 1 | -127/+78 |
| | | | | | | | | | | | | | | | | | | Should have significantly better cache characteristics, though it would be nice to verify this. It reduces performance somewhat but less than I expected, at least on Skylake. I need to check this across more platforms to make sure t won't hurt too badly. | ||||
* | | De-inline bodies of exception classes | Jack Lloyd | 2017-10-15 | 3 | -67/+133 |
|/ | | | | | | | | | This leads to a rather shocking decrease in binary sizes, especially the static library (~1.5 MB reduction). Saves 60KB in the shared lib. Since throwing or catching an exception is relatively expensive these not being inlined is not a problem in that sense. It had simply not occured to me that it would take up so much extra space in the binary. | ||||
* | Optimizations for SM4 | Jack Lloyd | 2017-10-13 | 2 | -36/+95 |
| | | | | | | | | | Using a larger table helps quite a bit. Using 4 tables (ala AES T-tables) didn't seem to help much at all, it's only slightly faster than a single table with rotations. Continue to use the 8 bit table in the first and last rounds as a countermeasure against cache attacks. |