aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* Refactor to avoid explicit delete in BER_DecoderJack Lloyd2017-09-222-26/+12
|
* Avoid new/delete in BearSSL ECDSA codeJack Lloyd2017-09-221-17/+10
| | | | Especially storing private key that way was bad, wasn't zeroed.
* LZMA - there is no reason for new or delete hereJack Lloyd2017-09-221-6/+6
|
* RAII for Power_Mod classJack Lloyd2017-09-222-26/+11
|
* More RAII - death to explicit deleteJack Lloyd2017-09-224-18/+7
|
* Use RAII, avoid explicit deleteJack Lloyd2017-09-222-16/+4
|
* Avoid explicit deleteJack Lloyd2017-09-222-5/+5
|
* Avoid creating hash objects directly in TSS codeJack Lloyd2017-09-221-8/+7
|
* Reject very small inputs to the package transformJack Lloyd2017-09-221-0/+3
| | | | Causes breakage - #825
* Update cryptobox decryptionJack Lloyd2017-09-222-39/+77
|
* Cryptobox code modernizationJack Lloyd2017-09-224-44/+58
| | | | Only encrypt so it's easy to verify everything still works.
* Avoid including HMAC directlyJack Lloyd2017-09-221-3/+2
| | | | Doing it this way allows using OpenSSL etc
* Small header cleanupsJack Lloyd2017-09-222-2/+3
|
* Slight improvements to RNG testsJack Lloyd2017-09-221-2/+2
|
* Improve compression tests slightlyJack Lloyd2017-09-221-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 alsoJack Lloyd2017-09-22153-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_unixJack Lloyd2017-09-211-1/+0
| | | | It compiles there but is probably not too useful
* Another missing headerJack Lloyd2017-09-211-0/+1
|
* Add a test of Pipe io on Unix file descriptorsJack Lloyd2017-09-211-8/+10
|
* Another missing includeJack Lloyd2017-09-211-0/+1
| | | | Again hitting on Kullo OS X
* Another missing includeJack Lloyd2017-09-211-0/+1
| | | | For whatever reason only seen on the Kullo OS X build
* Add missing header includesJack Lloyd2017-09-212-0/+2
|
* Add missing mutex.h includeJack Lloyd2017-09-211-0/+1
|
* Merge GH #1219 Implement System_RNG on macOS/iOS using arc4randomJack Lloyd2017-09-211-6/+3
|\
| * Supposedly iOS has arc4random, so maybe this works...Jack Lloyd2017-09-211-6/+3
| |
* | Fix for minimized buildJack Lloyd2017-09-211-0/+1
| |
* | Move Doxygen mainpage content to types.hJack Lloyd2017-09-211-2/+55
| |
* | Deprecate botan/botan.h headerJack Lloyd2017-09-211-57/+13
| | | | | | | | No actual reason for this header to exist.
* | De-inline TLS::Text_PolicyJack Lloyd2017-09-214-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 cleanupsJack Lloyd2017-09-2198-103/+84
| |
* | Header file cleanupsJack Lloyd2017-09-2185-83/+83
| | | | | | | | Some help from include-what-you-use
* | Clean up header includesJack Lloyd2017-09-2133-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 standardJack Lloyd2017-09-212-27/+32
|\
| * Update SM2 to use ASN.1 encoding for ciphertextsJack Lloyd2017-09-202-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 XLCJack Lloyd2017-09-212-2/+2
|/ | | | | A uint128 type is available but is apparently broken, causes problems with x25519
* Correct an error in SHACAL2 x86 code in unrolled caseJack Lloyd2017-09-201-3/+3
| | | | [ci skip]
* Merge GH #1212 Add support for 'raw' PSS signaturesJack Lloyd2017-09-203-51/+167
|\
| * Clear return value, and verify 'raw' hash matches expected sizeJack Lloyd2017-09-161-1/+7
| |
| * Support PSSR_RawJack Lloyd2017-09-163-51/+161
| | | | | | | | | | | | | | Allows PSS-signing a raw hash while also still specifying the salt length. GH #1211
* | Avoid using double underscore in variable namesJack Lloyd2017-09-203-11/+10
| | | | | | | | | | | | | | | | Reserved identifiers, per C++ standard GH #512 [ci skip]
* | Change header guard format to BOTAN_FOO_H_Jack Lloyd2017-09-20352-704/+704
| | | | | | | | | | | | ISO C++ reserves names with double underscores in them Closes #512
* | Use dword for bigint_divop if availableJack Lloyd2017-09-201-0/+5
| | | | | | | | | | | | Results in FPE being about 5x faster See #494
* | Export CurveGFp_Repr to avoid UBSan errorJack Lloyd2017-09-201-1/+1
| | | | | | | | GH #453
* | Add additional ids for AltiVec enabled POWER processorsJack Lloyd2017-09-191-3/+5
| | | | | | | | Taken from a patch to 1.10 in Debian
* | Complete the final annotation changesJack Lloyd2017-09-1920-98/+106
| |
* | More annotationsJack Lloyd2017-09-1912-304/+327
| |
* | Move the annotations to compiler.h since the user shouldn't modifyJack Lloyd2017-09-191-0/+23
| |
* | Add API stability annotations.Jack Lloyd2017-09-19255-671/+673
| | | | | | | | | | Defined in build.h, all equal to BOTAN_DLL so ties into existing system for exporting symbols.
* | Merge GH #1215 Deprecate package transformJack Lloyd2017-09-191-0/+2
|\ \
| * | Deprecate package transformJack Lloyd2017-09-191-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...