Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Add support for XMSS X.509 certificates | René Korthaus | 2019-10-21 | 8 | -30/+91 | |
| | | ||||||
* | | Merge GH #2178 FreeBSD build fix | Jack Lloyd | 2019-10-24 | 1 | -0/+2 | |
|\ \ | ||||||
| * | | FreeBSD build fix. | David Carlier | 2019-10-24 | 1 | -0/+2 | |
| | | | ||||||
* | | | Change limit to 2^24 to properly support 32 bit platforms | René Korthaus | 2019-10-24 | 2 | -26/+27 | |
| | | | ||||||
* | | | Add check for upper bound of reseed_interval | René Korthaus | 2019-10-23 | 1 | -0/+10 | |
|/ / | ||||||
* / | Avoid situation where is_active and is_closed could both return true | Jack Lloyd | 2019-10-22 | 1 | -0/+2 | |
|/ | | | | GH #2171 | |||||
* | Merge GH #2169 Fix some warnings | Jack Lloyd | 2019-10-20 | 10 | -3/+16 | |
|\ | ||||||
| * | silence trivial warnings | Nuno Goncalves | 2019-10-20 | 10 | -3/+16 | |
| | | | | | | | | Signed-off-by: Nuno Goncalves <[email protected]> | |||||
* | | trick coverity by starting with sizeof-1 | Nuno Goncalves | 2019-10-20 | 1 | -4/+4 | |
| | | | | | | | | Signed-off-by: Nuno Goncalves <[email protected]> | |||||
* | | split public interface and recursive implementation | Nuno Goncalves | 2019-10-20 | 1 | -2/+8 | |
|/ | | | | Signed-off-by: Nuno Goncalves <[email protected]> | |||||
* | Merge GH #2166 Prefix macro with BOTAN_ | Jack Lloyd | 2019-10-19 | 1 | -4/+4 | |
|\ | ||||||
| * | prefix macro with BOTAN_ | Nuno Goncalves | 2019-10-19 | 1 | -4/+4 | |
| | | | | | | | | Signed-off-by: Nuno Goncalves <[email protected]> | |||||
* | | Suppress unused warning. | Tom | 2019-10-18 | 1 | -0/+1 | |
|/ | ||||||
* | Avoid Coverity warning about unreachable code | Jack Lloyd | 2019-10-18 | 1 | -2/+4 | |
| | ||||||
* | Fix arm32 NEON target attribute syntax | Jack Lloyd | 2019-10-18 | 1 | -3/+7 | |
| | ||||||
* | Fix some MSVC warnings | Jack Lloyd | 2019-10-18 | 3 | -4/+6 | |
| | ||||||
* | Attempt to address some LGTM warnings in Roughtime | Jack Lloyd | 2019-10-17 | 2 | -2/+7 | |
| | ||||||
* | Fix error message | Jack Lloyd | 2019-10-17 | 1 | -6/+6 | |
| | ||||||
* | Fix coprimality check during prime generation | Jack Lloyd | 2019-10-17 | 1 | -27/+21 | |
| | ||||||
* | When generating prime, avoid Lucas test if prob < 32 | Jack Lloyd | 2019-10-17 | 1 | -4/+6 | |
| | | | | | | | This improves strong prime generation slightly as otherwise we perform two (redundant) Lucas checks on q, first when generating q with weak probability and then a second time when doing the strong confirmation of q if 2*q+1 shows to be prime. | |||||
* | Merge GH #2158 Include high rest timestamp in RNG additional_data even if ↵ | Jack Lloyd | 2019-10-16 | 1 | -3/+4 | |
|\ | | | | | | | RDRAND is available | |||||
| * | Always include a high res timestamp in the RNG additional_data | Jack Lloyd | 2019-10-16 | 1 | -3/+4 | |
| | | | | | | | | | | 128 bits of RDRAND output is plenty, and including a timestamp means the AD changes even in RDRAND gets stuck as in the buggy AMD CPUs. | |||||
* | | Merge GH #2157 Handle new RoughtimeError type | Jack Lloyd | 2019-10-16 | 3 | -0/+5 | |
|\ \ | ||||||
| * | | fix missing ErrorType::RoughtimeError on switches | Nuno Goncalves | 2019-10-16 | 3 | -0/+5 | |
| |/ | | | | | | | Signed-off-by: Nuno Goncalves <[email protected]> | |||||
* | | Merge GH #2156 Avoid a warning on x86-32 with GCC 4.9 | Jack Lloyd | 2019-10-16 | 1 | -1/+1 | |
|\ \ | |/ |/| | ||||||
| * | Avoid an ABI warning with GCC 4.9 | Jack Lloyd | 2019-10-16 | 1 | -1/+1 | |
| | | | | | | | | GH #2153 | |||||
* | | Merge GH #2143 Add Roughtime | Jack Lloyd | 2019-10-16 | 12 | -11/+1305 | |
|\ \ | ||||||
| * | | roughtime: decode integer values properly also on big endian arch (fix #2137) | Nuno Goncalves | 2019-10-14 | 1 | -2/+30 | |
| | | | | | | | | | | | | Signed-off-by: Nuno Goncalves <[email protected]> | |||||
| * | | Add roughtime protocol | Nuno Goncalves | 2019-10-14 | 4 | -0/+605 | |
| | | | | | | | | | | | | Signed-off-by: Nuno Goncalves <[email protected]> | |||||
| * | | Add UDP client | Nuno Goncalves | 2019-10-14 | 3 | -0/+412 | |
| | | | | | | | | | | | | Signed-off-by: Nuno Goncalves <[email protected]> | |||||
| * | | Add URI class to parse IPv4, IPv6 and domain names together with port number | Nuno Goncalves | 2019-10-14 | 2 | -0/+232 | |
| | | | | | | | | | | | | Signed-off-by: Nuno Goncalves <[email protected]> | |||||
| * | | Style fix | Nuno Goncalves | 2019-10-14 | 1 | -11/+5 | |
| | | | | | | | | | | | | | | | * remove always false ec check * make write and read some similar: use asio member functions and anonymous lambda in both | |||||
| * | | Add missing define of _WINSOCKAPI_ to avoid unintentional of winsock | Nuno Goncalves | 2019-10-14 | 1 | -0/+1 | |
| | | | | | | | | | | | | Signed-off-by: Nuno Goncalves <[email protected]> | |||||
| * | | Add additional typecast and several static_asserts | Nuno Goncalves | 2019-10-14 | 1 | -0/+22 | |
| |/ | | | | | | | Signed-off-by: Nuno Goncalves <[email protected]> | |||||
* | | Merge GH #2147 Add constant-time gcd computation | Jack Lloyd | 2019-10-16 | 3 | -16/+52 | |
|\ \ | ||||||
| * | | Add constant-time gcd | Jack Lloyd | 2019-10-12 | 3 | -16/+52 | |
| | | | | | | | | | | | | | | | Previous version leaked some (minimal) information from the loop bounds. | |||||
* | | | Merge GH #2148 Improve RSA key generation performance | Jack Lloyd | 2019-10-16 | 1 | -31/+65 | |
|\ \ \ | ||||||
| * | | | Improve speed of prime generation especially for RSA keygen | Jack Lloyd | 2019-10-12 | 1 | -31/+65 | |
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In RSA keygen we have to verify that p-1 and e are coprime. But this is expensive to compute. So first do a single round of Miller-Rabin primality test; only if that passes do we test coprimality. Improves RSA keygen times notably. All times averaged over many keygens: 1024-bit 21.74 ms -> 10.78 ms 2048-bit 94.93 ms -> 62.80 ms 3072-bit 296.79 ms -> 198.12 ms 4096-bit 738.07 ms -> 499.10 ms | |||||
* | | | Merge GH #2149 Fix a leak in TPM interface | Jack Lloyd | 2019-10-16 | 2 | -5/+7 | |
|\ \ \ | |_|/ |/| | | ||||||
| * | | TPM : Making policy as member of the consumer class. | David Carlier | 2019-10-13 | 2 | -5/+7 | |
| |/ | ||||||
* | | Update DLIES in the same way | Jack Lloyd | 2019-10-13 | 1 | -10/+6 | |
| | | | | | | | | GH #2050 | |||||
* | | Add a more explicit exception to catch cases where app doesn't set IV | Jack Lloyd | 2019-10-13 | 1 | -0/+5 | |
| | | ||||||
* | | Always try to use an IV with ECIES | Jack Lloyd | 2019-10-13 | 1 | -8/+3 | |
| | | | | | | | | | | | | | | | | If the mode requires an IV, and the user did not set an IV with set_initialization_vector, then previously some hard to understand errors would occur. GH #2150 | |||||
* | | Fix CCM bug | Jack Lloyd | 2019-10-13 | 1 | -0/+8 | |
|/ | | | | | | It would accept finish() even if no nonce was set GH #2150 | |||||
* | Enable SSE2 for RDSEED | Jack Lloyd | 2019-10-09 | 1 | -0/+1 | |
| | | | | Fixes #2139 | |||||
* | Improve Doxygen front page references | Jack Lloyd | 2019-10-07 | 1 | -2/+2 | |
| | ||||||
* | Fix warning in XTS | Jack Lloyd | 2019-10-06 | 1 | -1/+1 | |
| | ||||||
* | Throw if you attempt to use GOST 34.10-2012 with invalid params | Jack Lloyd | 2019-10-06 | 2 | -6/+26 | |
| | | | | It can only be used with 256 or 512 bit params, so enforce that. | |||||
* | fix for botan issue #2128: klocwork warning - get_affine_x() and | Martin Ostertag | 2019-10-02 | 2 | -6/+6 | |
| | | | | get_affine_y() | |||||
* | Have Clang print the deprecated message | Jack Lloyd | 2019-10-01 | 1 | -1/+1 | |
| | | | | | | | | | | | I cannot figure out exactly when Clang started supporting a message on the deprecated attribute. It is documented as supporting such for 3.9. But in 3.8.0 and all earlier versions of the reference, the deprecated attribute isn't mentioned at all. Just enable it for all versions. If there happens to be a version of Clang which both doesn't support messages on deprecated attributes but can otherwise sucessfully compile the library, someone will probably tell us about it. |