Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor to avoid explicit delete in BER_Decoder | Jack Lloyd | 2017-09-22 | 2 | -26/+12 |
| | |||||
* | Avoid new/delete in BearSSL ECDSA code | Jack Lloyd | 2017-09-22 | 1 | -17/+10 |
| | | | | Especially storing private key that way was bad, wasn't zeroed. | ||||
* | LZMA - there is no reason for new or delete here | Jack Lloyd | 2017-09-22 | 1 | -6/+6 |
| | |||||
* | RAII for Power_Mod class | Jack Lloyd | 2017-09-22 | 2 | -26/+11 |
| | |||||
* | More RAII - death to explicit delete | Jack Lloyd | 2017-09-22 | 4 | -18/+7 |
| | |||||
* | Use RAII, avoid explicit delete | Jack Lloyd | 2017-09-22 | 2 | -16/+4 |
| | |||||
* | Avoid explicit delete | Jack Lloyd | 2017-09-22 | 2 | -5/+5 |
| | |||||
* | Avoid creating hash objects directly in TSS code | Jack Lloyd | 2017-09-22 | 1 | -8/+7 |
| | |||||
* | Reject very small inputs to the package transform | Jack Lloyd | 2017-09-22 | 1 | -0/+3 |
| | | | | Causes breakage - #825 | ||||
* | Update cryptobox decryption | Jack Lloyd | 2017-09-22 | 2 | -39/+77 |
| | |||||
* | Cryptobox code modernization | Jack Lloyd | 2017-09-22 | 4 | -44/+58 |
| | | | | Only encrypt so it's easy to verify everything still works. | ||||
* | Avoid including HMAC directly | Jack Lloyd | 2017-09-22 | 1 | -3/+2 |
| | | | | Doing it this way allows using OpenSSL etc | ||||
* | Small header cleanups | Jack Lloyd | 2017-09-22 | 2 | -2/+3 |
| | |||||
* | Slight improvements to RNG tests | Jack Lloyd | 2017-09-22 | 1 | -2/+2 |
| | |||||
* | Improve compression tests slightly | Jack Lloyd | 2017-09-22 | 1 | -0/+6 |
| | | | | | | Fix a bug that affected bzip2 - the bzip2 library does not like being called with avail_in == 0 and BZ_RUN, it returns PARAM_ERROR. Just return in that case and ignore the call. | ||||
* | Apply final annotations to the library also | Jack Lloyd | 2017-09-22 | 153 | -242/+243 |
| | | | | | Done by a perl script which converted all classes to final, followed by selective reversion where it caused compilation failures. | ||||
* | Drop MinGW from fd_unix | Jack Lloyd | 2017-09-21 | 1 | -1/+0 |
| | | | | It compiles there but is probably not too useful | ||||
* | Another missing header | Jack Lloyd | 2017-09-21 | 1 | -0/+1 |
| | |||||
* | Add a test of Pipe io on Unix file descriptors | Jack Lloyd | 2017-09-21 | 1 | -8/+10 |
| | |||||
* | Another missing include | Jack Lloyd | 2017-09-21 | 1 | -0/+1 |
| | | | | Again hitting on Kullo OS X | ||||
* | Another missing include | Jack Lloyd | 2017-09-21 | 1 | -0/+1 |
| | | | | For whatever reason only seen on the Kullo OS X build | ||||
* | Add missing header includes | Jack Lloyd | 2017-09-21 | 2 | -0/+2 |
| | |||||
* | Add missing mutex.h include | Jack Lloyd | 2017-09-21 | 1 | -0/+1 |
| | |||||
* | Merge GH #1219 Implement System_RNG on macOS/iOS using arc4random | Jack Lloyd | 2017-09-21 | 1 | -6/+3 |
|\ | |||||
| * | Supposedly iOS has arc4random, so maybe this works... | Jack Lloyd | 2017-09-21 | 1 | -6/+3 |
| | | |||||
* | | Fix for minimized build | Jack Lloyd | 2017-09-21 | 1 | -0/+1 |
| | | |||||
* | | Move Doxygen mainpage content to types.h | Jack Lloyd | 2017-09-21 | 1 | -2/+55 |
| | | |||||
* | | Deprecate botan/botan.h header | Jack Lloyd | 2017-09-21 | 1 | -57/+13 |
| | | | | | | | | No actual reason for this header to exist. | ||||
* | | De-inline TLS::Text_Policy | Jack Lloyd | 2017-09-21 | 4 | -122/+302 |
| | | | | | | | | | | Getting a little large to be all defined in a header, and sticking it in a source file allows removing several includes from tls_policy.h | ||||
* | | More include header cleanups | Jack Lloyd | 2017-09-21 | 98 | -103/+84 |
| | | |||||
* | | Header file cleanups | Jack Lloyd | 2017-09-21 | 85 | -83/+83 |
| | | | | | | | | Some help from include-what-you-use | ||||
* | | Clean up header includes | Jack Lloyd | 2017-09-21 | 33 | -53/+27 |
|/ | | | | | | | Avoid including build.h or assert.h directly, instead always take them though types.h Avoid math.h in favor of cmath | ||||
* | Merge GH #1218 Change SM2 ciphertext encoding to match most recent standard | Jack Lloyd | 2017-09-21 | 2 | -27/+32 |
|\ | |||||
| * | 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). | ||||
* | | Improve support for IBM XLC | Jack Lloyd | 2017-09-21 | 2 | -2/+2 |
|/ | | | | | A uint128 type is available but is apparently broken, causes problems with x25519 | ||||
* | Correct an error in SHACAL2 x86 code in unrolled case | Jack Lloyd | 2017-09-20 | 1 | -3/+3 |
| | | | | [ci skip] | ||||
* | Merge GH #1212 Add support for 'raw' PSS signatures | Jack Lloyd | 2017-09-20 | 3 | -51/+167 |
|\ | |||||
| * | Clear return value, and verify 'raw' hash matches expected size | Jack Lloyd | 2017-09-16 | 1 | -1/+7 |
| | | |||||
| * | Support PSSR_Raw | Jack Lloyd | 2017-09-16 | 3 | -51/+161 |
| | | | | | | | | | | | | | | Allows PSS-signing a raw hash while also still specifying the salt length. GH #1211 | ||||
* | | 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 | 352 | -704/+704 |
| | | | | | | | | | | | | ISO C++ reserves names with double underscores in them Closes #512 | ||||
* | | Use dword for bigint_divop if available | Jack Lloyd | 2017-09-20 | 1 | -0/+5 |
| | | | | | | | | | | | | Results in FPE being about 5x faster See #494 | ||||
* | | Export CurveGFp_Repr to avoid UBSan error | Jack Lloyd | 2017-09-20 | 1 | -1/+1 |
| | | | | | | | | GH #453 | ||||
* | | Add additional ids for AltiVec enabled POWER processors | Jack Lloyd | 2017-09-19 | 1 | -3/+5 |
| | | | | | | | | Taken from a patch to 1.10 in Debian | ||||
* | | Complete the final annotation changes | Jack Lloyd | 2017-09-19 | 20 | -98/+106 |
| | | |||||
* | | More annotations | Jack Lloyd | 2017-09-19 | 12 | -304/+327 |
| | | |||||
* | | Move the annotations to compiler.h since the user shouldn't modify | Jack Lloyd | 2017-09-19 | 1 | -0/+23 |
| | | |||||
* | | Add API stability annotations. | Jack Lloyd | 2017-09-19 | 255 | -671/+673 |
| | | | | | | | | | | Defined in build.h, all equal to BOTAN_DLL so ties into existing system for exporting symbols. | ||||
* | | Merge GH #1215 Deprecate package transform | Jack Lloyd | 2017-09-19 | 1 | -0/+2 |
|\ \ | |||||
| * | | Deprecate package transform | Jack Lloyd | 2017-09-19 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | Unclear what's up with #825 but in any case this function is funky and I don't care enough to try to debug/fix it... |