Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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). | ||||
* | Avoid using double underscore in variable names | Jack Lloyd | 2017-09-20 | 3 | -11/+10 |
| | | | | | | | | Reserved identifiers, per C++ standard GH #512 [ci skip] | ||||
* | Change header guard format to BOTAN_FOO_H_ | Jack Lloyd | 2017-09-20 | 65 | -130/+130 |
| | | | | | | ISO C++ reserves names with double underscores in them Closes #512 | ||||
* | Complete the final annotation changes | Jack Lloyd | 2017-09-19 | 7 | -16/+17 |
| | |||||
* | Add API stability annotations. | Jack Lloyd | 2017-09-19 | 38 | -107/+107 |
| | | | | | Defined in build.h, all equal to BOTAN_DLL so ties into existing system for exporting symbols. | ||||
* | Avoid old style casts in Ed25519 | Jack Lloyd | 2017-09-17 | 2 | -270/+262 |
| | |||||
* | Use constant_time_compare instead of same_mem | Jack Lloyd | 2017-09-16 | 4 | -4/+4 |
| | | | | New name, same great operation | ||||
* | Remove inner/outer OID check in EC_PrivateKey ctor | René Korthaus | 2017-09-13 | 1 | -3/+0 |
| | | | | | | | | RFC 5915 mandates that the OID of an ECDSA ECPrivateKey shall be id-ecPublicKey with the named curve as the parameters. ECPrivateKey may contain the named curve OID, too, which is compared to id-ecPublicKey. Such keys could not be loaded. We remove this check and add a test vector from strongswan. | ||||
* | Change SM2 encryption to match updated standard. | Jack Lloyd | 2017-09-10 | 1 | -5/+5 |
| | | | | | | | | Unfortunately it seems the SM2 format changed between 2010 and 2012, now the ciphertext is C1 || C3 || C2. Unfortunate no matter how you slice it, but at least it's easy to convert from one form to another. | ||||
* | Bump version for SM2 | Jack Lloyd | 2017-09-07 | 1 | -1/+1 |
| | | | | | | To reflect support for arbitrary hashes [ci skip] | ||||
* | Support arbitrary hashes for SM2 signatures | Jack Lloyd | 2017-09-06 | 1 | -7/+37 |
| | | | | This is a contribution from Ribose Inc | ||||
* | Remove unused member | Jack Lloyd | 2017-09-06 | 1 | -1/+0 |
| | |||||
* | Support arbitrary hashes for SM2 encryption | Jack Lloyd | 2017-09-05 | 1 | -12/+17 |
| | | | | This is a contribution from Ribose Inc. | ||||
* | Avoid g_ prefix on local variable | Jack Lloyd | 2017-09-03 | 1 | -3/+3 |
| | | | | Reserving it for globals so they are easy to grep for | ||||
* | Clean up use of <limits> header | Jack Lloyd | 2017-09-03 | 7 | -14/+5 |
| | | | | Don't include it where it is not needed, included it where it is used. | ||||
* | More MSVC warnings fixes | Jack Lloyd | 2017-08-31 | 3 | -4/+4 |
| | |||||
* | Fix various MSVC warnings | Jack Lloyd | 2017-08-31 | 4 | -4/+4 |
| | | | | Based on VC2017 output | ||||
* | Slight cleanup in Curve25519_PrivateKey constructor | Jack Lloyd | 2017-08-29 | 1 | -8/+6 |
| | |||||
* | Avoid having variable named m_emsa twice in class hierarchy | Jack Lloyd | 2017-08-29 | 2 | -8/+16 |
| | | | | | | | | In fact the variable was only used if we use deterministic nonces, and just to extract the hash name. So just do that once, and only if we are not using random nonces. Flagged by Sonar | ||||
* | Avoid `throw new Exception` | Jack Lloyd | 2017-08-29 | 1 | -1/+1 |
| | | | | Caught by Sonar, once I managed to wade through the noise. | ||||
* | Newhope cleanups | Jack Lloyd | 2017-08-18 | 2 | -663/+668 |
| | | | | Formatting, use size_t instead of int, etc |