Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add some KDF2 values from Bouncy Castle | Jack Lloyd | 2017-11-02 | 1 | -0/+19 |
| | |||||
* | Format tweaks | Jack Lloyd | 2017-11-02 | 1 | -2/+2 |
| | |||||
* | Avoid using semicolon at and of do { } while(0) macro block. | Jack Lloyd | 2017-11-02 | 2 | -19/+19 |
| | | | | Clearly I have a tic for this. | ||||
* | Avoid saving a session to SQL database with empty hostname | Jack Lloyd | 2017-11-02 | 1 | -0/+3 |
| | | | | This happens if the hostname is unknown or specified as an IP. | ||||
* | Minor SIV/CMAC optimizations | Jack Lloyd | 2017-11-02 | 2 | -13/+17 |
| | |||||
* | speed: simplify some code | Jack Lloyd | 2017-11-02 | 1 | -167/+60 |
| | |||||
* | Merge GH #1282 Use simple non-cryptographic PRNG for tests | Jack Lloyd | 2017-10-30 | 4 | -123/+114 |
|\ | |||||
| * | Use a simple PRNG for the tests | Jack Lloyd | 2017-10-29 | 4 | -123/+114 |
|/ | | | | | | | | | | | Not cryptographically secure, but fast! Cuts several seconds off the test suite even on a very fast machine. Probably even more effective for 32-bit systems since the default for HMAC_DRBG is SHA-384. Also it means deterministic tests are used regardless of build configuration which is nice. Improve output for --test-runs which was useful for me when debugging SM2 encryption issue. | ||||
* | Update news | Jack Lloyd | 2017-10-29 | 1 | -1/+2 |
| | |||||
* | Merge GH #1281 CRC24 optimizations | Jack Lloyd | 2017-10-29 | 2 | -67/+213 |
|\ | |||||
| * | CRC24 performance improvement (32 bits in parallel) | Krzysztof Kwiatkowski | 2017-10-29 | 2 | -67/+213 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Algorithm uses 4 tables of precalculated CRC24 values, thanks to which it can process in parallel 32 bits of data. This tric doubles performance Further improvements are possible. Results - (tested with RNP) processing 1GB armor data ``` OLD: rnp --enarmor=msg /tmp/1gb.rnd --output 4.48s user 0.89s system 98% cpu 5.429 total NEW: rnp --enarmor=msg /tmp/1gb.rnd --output 2.38s user 0.86s system 79% cpu 4.089 total OLD: rnp --dearmor out.xxx --output out.d 5.58s user 0.65s system 98% cpu 6.338 total NEW: rnp --dearmor out.xxx --output out.d 3.28s user 0.84s system 96% cpu 4.275 total ``` | ||||
* | | Another todo | Jack Lloyd | 2017-10-29 | 1 | -0/+5 |
| | | |||||
* | | Include <memory> in base type headers | Jack Lloyd | 2017-10-29 | 4 | -0/+4 |
|/ | | | | Needed for the create calls | ||||
* | Remove needless virtual on GMAC destructor | Jack Lloyd | 2017-10-26 | 1 | -1/+1 |
| | |||||
* | Update news | Jack Lloyd | 2017-10-26 | 1 | -0/+4 |
| | |||||
* | Merge GH #1279 Verify key is set before processing data | Jack Lloyd | 2017-10-26 | 40 | -30/+287 |
|\ | |||||
| * | Add checks that keyed algorithms are actually keyed before use | Jack Lloyd | 2017-10-26 | 40 | -30/+287 |
|/ | | | | | Previously calling update or encrypt without calling set_key first would result in invalid outputs or else crashing. | ||||
* | Update news | Jack Lloyd | 2017-10-26 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | Add more SipHash tests | Jack Lloyd | 2017-10-26 | 1 | -0/+187 |
| | | | | Generated by ref implementation | ||||
* | Fix build on 32-bit | Jack Lloyd | 2017-10-26 | 1 | -1/+1 |
| | |||||
* | Avoid invalid iterator woes | Jack Lloyd | 2017-10-26 | 1 | -8/+18 |
| | |||||
* | Blake2b optimizations | Jack Lloyd | 2017-10-26 | 3 | -133/+94 |
| | | | | | Nothing major but does improve perf for large buffers from 910 MB/s to 970 MB/s on Skylake. | ||||
* | Merge GH #1275 Avoid needless throw/catch during TLS handshake | Jack Lloyd | 2017-10-26 | 1 | -1/+2 |
|\ | |||||
| * | Added missing include. | Frank Schoenmann | 2017-10-25 | 1 | -0/+1 |
| | | |||||
| * | Perform OIDS lookup before to prevent a guaranteed exception in EC_Group. | Frank Schoenmann | 2017-10-25 | 1 | -1/+1 |
| | | |||||
* | | Avoid sending OCSP status request on resumption client hello | Jack Lloyd | 2017-10-25 | 1 | -2/+0 |
| | | | | | | | | | | | | | | Causes the connection to break for some servers. Fixes GH #1276 Also avoid setting the same extension twice in the initial connection case. The extensions code dedups it so this wasn't a problem, but confusing. | ||||
* | | Round block cipher buffer sizes to multiple of block size | Jack Lloyd | 2017-10-25 | 1 | -2/+12 |
|/ | | | | | | Previously --buf-size was taken as a multiple of the block size, ie --buf-size=5 tested over 5 blocks (rather than 5 bytes, as the output claimed.) | ||||
* | Merge GH #1274 Improve bswap for ARMv7 and Windows 64-bit | Jack Lloyd | 2017-10-25 | 2 | -34/+15 |
|\ | |||||
| * | Skip ARM32 specific byteswap code, enable MSVC byteswap intrinsics | Jack Lloyd | 2017-10-24 | 2 | -34/+15 |
|/ | | | | | | | | | | While older versions of GCC did very badly with __builtin_bswap on ARM, I checked GCC 4.8 and it behaves correctly, emitting either rev or else the same optimal sequence as was used in the inline asm (depending on if ARMv7 is enabled or not.) Enable MSVC byteswap intrinsics, which (hopefully) work on all platforms. Drop the x86-32 specific asm for byteswap. | ||||
* | Fix botan-test --help | Jack Lloyd | 2017-10-24 | 3 | -36/+48 |
| | | | | [ci skip] | ||||
* | Update http:// links in the docs | Jack Lloyd | 2017-10-24 | 4 | -12/+12 |
| | | | | [ci skip] | ||||
* | Convert http:// links to https:// where possible | Jack Lloyd | 2017-10-24 | 17 | -21/+21 |
| | |||||
* | Add header for std::min | Jack Lloyd | 2017-10-24 | 1 | -0/+1 |
| | |||||
* | Tweak help output a bit | Jack Lloyd | 2017-10-24 | 4 | -35/+53 |
| | |||||
* | Inline Test::run_test into only caller | Jack Lloyd | 2017-10-24 | 3 | -45/+21 |
| | |||||
* | Merge GH #1273 Refactor test and cli runner code | Jack Lloyd | 2017-10-24 | 18 | -973/+1156 |
|\ | |||||
| * | Avoid using namespace, other cleanups | Jack Lloyd | 2017-10-24 | 1 | -27/+24 |
| | | |||||
| * | 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. | ||||
* | | In cipher tests count IV setup as part of the message cost | Jack Lloyd | 2017-10-24 | 1 | -10/+2 |
| | | | | | | | | Splitting this out gives a misleading perf measurement. | ||||
* | | Avoid "using namespace" in test code | Jack Lloyd | 2017-10-24 | 3 | -64/+51 |
|/ | |||||
* | 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 |
|\ \ \ | |/ / |/| | |