Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge GH #1610 Make exponentiation loop independent of exponent size | Jack Lloyd | 2018-06-17 | 11 | -51/+119 |
|\ | |||||
| * | Avoid leaking size of exponent | Jack Lloyd | 2018-06-17 | 11 | -51/+119 |
|/ | | | | See #1606 for discussion | ||||
* | Merge GH #1609 Avoid small side channel in ECC field mul | Jack Lloyd | 2018-06-15 | 1 | -22/+15 |
|\ | |||||
| * | In ECC avoid using significant words to dispatch the mult algo | Jack Lloyd | 2018-06-15 | 1 | -22/+15 |
| | | | | | | | | | | | | Normally all elements will be exact number of limbs as the field. Any situation with short elements is rare and not worth optimizing for, and likely leads to some unfortunate side channel. | ||||
* | | Merge GH #1608 Fix TLS when x25519 is disabled | Jack Lloyd | 2018-06-15 | 6 | -8/+18 |
|\ \ | |||||
| * | | TLS would try to negotiate x25519 even if disabled | Jack Lloyd | 2018-06-15 | 6 | -8/+18 |
| |/ | | | | | | | | | | | | | | | Also reorder ECC groups to actually match performance characteristics. I'm not sure when P-384 was slower than P-521 but it certainly isn't anymore. Fixes #1607 | ||||
* / | Use Botan specific CVE for ECDSA side channel [ci skip] | Jack Lloyd | 2018-06-15 | 2 | -4/+3 |
|/ | |||||
* | Update news | Jack Lloyd | 2018-06-15 | 1 | -0/+2 |
| | |||||
* | Merge GH #1606 Make Montgomery exponentation const time | Jack Lloyd | 2018-06-15 | 7 | -60/+124 |
|\ | |||||
| * | Document leak of exponent size | Jack Lloyd | 2018-06-14 | 1 | -2/+4 |
| | | |||||
| * | Add combined conditional add-or-subtract | Jack Lloyd | 2018-06-14 | 3 | -5/+41 |
| | | |||||
| * | Remove CT annotations from Montgomery reduction | Jack Lloyd | 2018-06-14 | 1 | -8/+0 |
| | | | | | | | | | | The poisons don't stack so the unpoison hid conditional jumps we want to find. | ||||
| * | In Montgomery mul, avoid branching based on sig words of integers | Jack Lloyd | 2018-06-14 | 1 | -13/+21 |
| | | | | | | | | Instead just assume they are the same size as the prime | ||||
| * | Make Karatsuba multiply completely const time | Jack Lloyd | 2018-06-14 | 5 | -36/+62 |
|/ | |||||
* | Fix CLI test | Jack Lloyd | 2018-06-14 | 1 | -0/+1 |
| | |||||
* | Avoid overallocation of memory for EC base point multiples | Jack Lloyd | 2018-06-14 | 1 | -1/+1 |
| | | | | | | | The size is rounded up to next 8 words so there was substantial slack here. No noticable perf difference. | ||||
* | Merge GH #1605 Add 192-bit Suite B TLS policy | Jack Lloyd | 2018-06-14 | 7 | -8/+74 |
|\ | |||||
| * | Add 192-bit Suite B policy | Jack Lloyd | 2018-06-14 | 7 | -8/+74 |
| | | | | | | | | Since 128-bit policy is actually not even allowed since 2015. | ||||
* | | Output order with ec_group_info | Jack Lloyd | 2018-06-14 | 1 | -0/+1 |
| | | |||||
* | | Update news [ci skip] | Jack Lloyd | 2018-06-14 | 1 | -0/+4 |
|/ | |||||
* | Merge GH #1604 Resolve ECDSA/DSA side channel | Jack Lloyd | 2018-06-13 | 5 | -17/+88 |
|\ | |||||
| * | Address DSA/ECDSA side channel | Jack Lloyd | 2018-06-13 | 5 | -17/+88 |
|/ | |||||
* | Merge GH #1603 Unroll Montgomery reduction for specific sizes | Jack Lloyd | 2018-06-11 | 7 | -26/+2784 |
|\ | |||||
| * | Unroll bigint_monty_redc for various sizes | Jack Lloyd | 2018-06-11 | 7 | -26/+2784 |
| | | | | | | | | Speedup of 10 to 30% depending on algo | ||||
* | | Merge GH #1602 Support GCC --sysroot option for embedded cross compiles | Jack Lloyd | 2018-06-11 | 5 | -1/+20 |
|\ \ | |/ |/| | |||||
| * | Corrected error message | Hegedüs Márton Csaba | 2018-06-11 | 1 | -1/+1 |
| | | |||||
| * | Required changes according to the code review | Hegedüs Márton Csaba | 2018-06-11 | 4 | -5/+16 |
| | | |||||
| * | Updated news.rst | Hegedüs Márton Csaba | 2018-06-08 | 1 | -0/+2 |
| | | |||||
| * | Add support for GCC's --sysroot option to configure.py | Hegedüs Márton Csaba | 2018-06-08 | 2 | -2/+8 |
|/ | |||||
* | Merge GH #1601 Fix typos in configure script [ci skip] | Jack Lloyd | 2018-06-08 | 1 | -2/+2 |
|\ | |||||
| * | Fix some typos in configure.py | Felix Yan | 2018-06-09 | 1 | -2/+2 |
|/ | |||||
* | Add missing statement | Jack Lloyd | 2018-06-08 | 1 | -0/+1 |
| | |||||
* | Merge GH #1600 Optimizations in BER decoding | Jack Lloyd | 2018-06-08 | 9 | -102/+252 |
|\ | |||||
| * | Attempt at MSVC 2013 workaround | Jack Lloyd | 2018-06-08 | 1 | -2/+4 |
| | | |||||
| * | Expose BER_Decoder constructor taking BER_Object&& | Jack Lloyd | 2018-06-08 | 2 | -4/+10 |
| | | |||||
| * | Reduce copying/allocations when BER decoding | Jack Lloyd | 2018-06-08 | 2 | -81/+194 |
| | | | | | | | | | | | | | | We are constrained in how far we can go because BER_Object must mandatorily copy its value (due to the public member variable exposting the bytes). But this reduces the number of allocations when parsing a sample X.509 certificate by about 15% | ||||
| * | Allow passing a writer function callback to DER_Encoder | Jack Lloyd | 2018-06-08 | 2 | -10/+18 |
| | | |||||
| * | Declare copy and move constructors on BER_Object | Jack Lloyd | 2018-06-08 | 1 | -0/+8 |
| | | |||||
| * | Constify some local variables | Jack Lloyd | 2018-06-08 | 1 | -2/+2 |
| | | |||||
| * | Improve error reporting on unexpected EOF when decoding ASN | Jack Lloyd | 2018-06-08 | 2 | -5/+18 |
|/ | |||||
* | Doc tweaks [ci skip] | Jack Lloyd | 2018-06-08 | 3 | -21/+6 |
| | |||||
* | Add "info" and "codec" groups for cli commands [ci skip] | Jack Lloyd | 2018-06-07 | 2 | -10/+12 |
| | |||||
* | Merge GH #1599 Fix bug in Barrett reduction of negative numbers | Jack Lloyd | 2018-06-05 | 4 | -30/+45 |
|\ | |||||
| * | Fix a bug in Barrett reduction | Jack Lloyd | 2018-06-05 | 4 | -30/+45 |
|/ | | | | | | -x*n % n would reduce to n instead of zero. Also some small optimizations and cleanups. | ||||
* | Merge GH #1598 Avoid using -j flag when Sphinx does not support it | Jack Lloyd | 2018-06-05 | 1 | -2/+19 |
|\ | |||||
| * | Conditionally use concurrency with sphinx-build. | Daniel Wyatt | 2018-06-04 | 1 | -2/+19 |
|/ | |||||
* | Correct exception message [ci skip] | Jack Lloyd | 2018-06-04 | 1 | -1/+1 |
| | | | | The previous message was both incorrect and very misleading. | ||||
* | Remove stray header in vector file [ci skip] | Jack Lloyd | 2018-06-01 | 1 | -2/+0 |
| | |||||
* | Merge GH #1594 Add EdDSA/X25519 Wycheproof tests | Jack Lloyd | 2018-05-31 | 5 | -1/+831 |
|\ | |||||
| * | Add EdDSA and X25519 tests from Wycheproof | Jack Lloyd | 2018-05-31 | 5 | -1/+831 |
| | |