Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove the unused XMSS-WOTS operations | Jack Lloyd | 2017-12-27 | 11 | -397/+0 |
| | |||||
* | Avoid warnings about unused params in minimal builds [ci skip] | Jack Lloyd | 2017-12-24 | 1 | -1/+5 |
| | |||||
* | Avoid relying on AutoSeeded_RNG in XMSS | Jack Lloyd | 2017-12-23 | 2 | -3/+4 |
| | | | | Just needed for the self-benchmark easier to just use fixed input. | ||||
* | Merge GH #1365 Always set domain encoding correctly when loading an ECC key | Jack Lloyd | 2017-12-19 | 1 | -0/+5 |
|\ | |||||
| * | Always set domain encoding correctly when loading an ECC key | René Korthaus | 2017-12-19 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | When loading an ECC key from file, the domain encoding was always set to explicit instead of depending on the encoded key file read. This resulted in different encodings and therefore different fingerprints of the same key when encoding the same key twice (once after generation, once after re-reading it). | ||||
* | | Add accessors to ASN1_Attribute and AlgorithmIdentifier | Jack Lloyd | 2017-12-19 | 6 | -21/+21 |
|/ | |||||
* | Clean up XMSS self-benchmark | Jack Lloyd | 2017-12-16 | 1 | -6/+4 |
| | | | | Clang complained that the lambda was capturing unnecessary variables. | ||||
* | Avoid using @deprecated annotation here | Jack Lloyd | 2017-12-16 | 1 | -2/+4 |
| | | | | | | Clang's documentation checker complains since it's not actually annotated as deprecated. Change comment to just indicate that it is not a public API function and will be removed in the future. | ||||
* | Fix a bug in PEM decoding | Jack Lloyd | 2017-12-16 | 2 | -31/+21 |
| | | | | | | | | If the label param was set to a non-empty string, the decoding would treat it as part of the label and then end up throwing a decoding error. The key fix here is adding the clear() call in decode. Private bug report by email. Add some basic tests for the PEM decoder. | ||||
* | Add ability to fingerprint public keys | Jack Lloyd | 2017-12-14 | 2 | -19/+55 |
| | |||||
* | Merge GH #1339 Add ability to query supported named groups | Jack Lloyd | 2017-12-06 | 2 | -0/+41 |
|\ | |||||
| * | Add known_named_groups to EC_Group to list known curves. Fixes GX #1338. | J08nY | 2017-12-05 | 2 | -0/+41 |
| | | |||||
* | | Fix signed vs unsigned comparison warning | Jack Lloyd | 2017-12-05 | 1 | -1/+1 |
| | | |||||
* | | Merge GH #1267 Multithreaded signing in XMSS | Jack Lloyd | 2017-12-05 | 28 | -169/+648 |
|\ \ | |/ |/| | |||||
| * | Fixes lambda capture error in MSVC | Matthias Gierlings | 2017-11-23 | 1 | -1/+3 |
| | | | | | | | | | | MSVC seems to not allow defining aliases inside lambda capture expressions. Defining the aliases beforehand, outside the lambda fixes the issue. | ||||
| * | Adds runtime benchmark to guess phys. core count. | Matthias Gierlings | 2017-11-23 | 3 | -3/+122 |
| | | | | | | | | | | | | | | Adds a small runtime benchmark to prevent performance degradation by overprovisioning SMT CPUs with too many threads. This is a temporary workaround until a hardware and OS independent detection of the physical core count through Botan::CPUID is in place. | ||||
| * | Updates documentation, news and copyright notices. | Matthias Gierlings | 2017-11-21 | 27 | -33/+44 |
| | | | | | | | | | | | | - Adds XMSS to the index of supported signature schemes. - Adds XMSS multithreading support to news.rst - Updates copyright notices of edited files. | ||||
| * | Adds guards for environments without threads | Matthias Gierlings | 2017-11-21 | 1 | -1/+7 |
| | | |||||
| * | Implements multithreading support for XMSS | Matthias Gierlings | 2017-11-21 | 26 | -136/+477 |
| | | |||||
* | | Correct definition of FFDHE 4096 group | Jack Lloyd | 2017-11-28 | 1 | -11/+16 |
|/ | | | | Was a copy+paste of FFDHE 3072 | ||||
* | Convert http:// links to https:// where possible | Jack Lloyd | 2017-10-24 | 1 | -2/+2 |
| | |||||
* | Merge GH #1263 Support FFDHE negotiation in TLS | Jack Lloyd | 2017-10-22 | 1 | -0/+146 |
|\ | |||||
| * | Add supported groups TLS extension (RFC 7919) | René Korthaus | 2017-10-17 | 1 | -0/+146 |
| | | |||||
* | | review changes | Daniel Neus | 2017-10-21 | 1 | -2/+3 |
| | | |||||
* | | X.509 RSA-PSS verification | Daniel Neus | 2017-10-20 | 1 | -1/+3 |
|/ | |||||
* | Additional final annotations | Jack Lloyd | 2017-10-15 | 12 | -16/+15 |
| | |||||
* | Address various GCC warnings | Jack Lloyd | 2017-10-06 | 1 | -1/+1 |
| | | | | | Things like -Wconversion and -Wuseless-cast that are noisy and not on by default. | ||||
* | Add wrappers for reinterpret_cast between char* and uint8_t* | Jack Lloyd | 2017-10-03 | 1 | -4/+4 |
| | | | | | | | Generally speaking reinterpret_cast is sketchy stuff. But the special case of char*/uint8_t* is both common and safe. By isolating those, the remaining (likely sketchy) cases are easier to grep for. | ||||
* | Remove unnecessary virtuals from final classes | Jack Lloyd | 2017-10-02 | 5 | -8/+4 |
| | | | | Found with Sonar | ||||
* | Make m_emsa in PK_{Signature,Verification}_with_EMSA private | Jack Lloyd | 2017-10-02 | 2 | -4/+7 |
| | |||||
* | Remove redundant "virtual override" declarations. | Jack Lloyd | 2017-10-02 | 7 | -33/+31 |
| | |||||
* | Use explicit :: or std:: to refer to functions in namespaces | Jack Lloyd | 2017-10-01 | 1 | -1/+1 |
| | |||||
* | Avoid -size_t | Jack Lloyd | 2017-09-30 | 1 | -1/+1 |
| | |||||
* | Use class instead of struct for objects with member functions | Jack Lloyd | 2017-09-30 | 3 | -5/+6 |
| | | | | Flagged by Sonar and quite reasonable | ||||
* | Include pk_keys.h in pkcs8.h and x509_key.h | Jack Lloyd | 2017-09-29 | 2 | -2/+2 |
| | | | | Not strictly required but seems likely to cause problems for applications. | ||||
* | Fixes for MSVC | Jack Lloyd | 2017-09-28 | 1 | -0/+1 |
| | | | | BOTAN_UNUSED "uses" the RNG :/ | ||||
* | Further header cleanups | Jack Lloyd | 2017-09-28 | 3 | -3/+12 |
| | |||||
* | Add variants of PKCS8::load_key that don't require an RNG argument | Jack Lloyd | 2017-09-28 | 2 | -32/+112 |
| | | | | | It's not used and only there for compat with existing callers, but no reason we can't offer a version that doesn't require it. | ||||
* | Header cleanups | Jack Lloyd | 2017-09-28 | 3 | -3/+1 |
| | |||||
* | Missing include | Jack Lloyd | 2017-09-24 | 1 | -0/+1 |
| | |||||
* | Further build/test fixes for restricted configurations | Jack Lloyd | 2017-09-24 | 3 | -0/+11 |
| | |||||
* | More build fixes | Jack Lloyd | 2017-09-24 | 1 | -0/+1 |
| | |||||
* | More header cleanups | Jack Lloyd | 2017-09-23 | 7 | -1/+7 |
| | |||||
* | Fixes for headers missing in certain configurations | Jack Lloyd | 2017-09-23 | 1 | -0/+1 |
| | |||||
* | Apply final annotations to the library also | Jack Lloyd | 2017-09-22 | 43 | -64/+64 |
| | | | | | Done by a perl script which converted all classes to final, followed by selective reversion where it caused compilation failures. | ||||
* | Another missing include | Jack Lloyd | 2017-09-21 | 1 | -0/+1 |
| | | | | For whatever reason only seen on the Kullo OS X build | ||||
* | More include header cleanups | Jack Lloyd | 2017-09-21 | 32 | -30/+29 |
| | |||||
* | Header file cleanups | Jack Lloyd | 2017-09-21 | 3 | -0/+3 |
| | | | | Some help from include-what-you-use | ||||
* | Clean up header includes | Jack Lloyd | 2017-09-21 | 15 | -31/+13 |
| | | | | | | | Avoid including build.h or assert.h directly, instead always take them though types.h Avoid math.h in favor of cmath | ||||
* | Update SM2 to use ASN.1 encoding for ciphertexts | Jack Lloyd | 2017-09-20 | 2 | -27/+32 |
| | | | | | | | | | There are in fact 3 different variations of SM2 standard, first C1||C2||C3, then C1||C3||C2, then (most recently) an ASN.1 encoding. This makes us compatible with GmSSL This work was sponsored by Ribose Inc (@riboseinc). |