aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* boost 1.70 compatibilityRalf van der Enden2019-04-052-2/+14
| | | | Fixes issue #82
* Fix the incorrect syntax .PHONY=Evgeny Pokhilko2019-03-311-1/+1
| | | | PHONY targets should be .PHONY:
* Bump version to 2.11.0Jack Lloyd2019-03-301-1/+1
|
* Make Clang unused-lambda-capture a non-errorJack Lloyd2019-03-291-1/+1
| | | | | Unfortuantely we are stuck with code that triggers this due to bugs in MSVC
* Tracing socket feature for the CLI TLS server.David Carlier2019-03-291-0/+27
| | | | For now FreeBSD DTrace support.
* Add some more todos for Memory_PoolJack Lloyd2019-03-281-0/+20
|
* Merge GH #1864 Use thread pool for XMSS signaturesJack Lloyd2019-03-285-172/+48
|\
| * Remove unnecessary cmath includesJack Lloyd2019-03-262-6/+9
| |
| * Remove previous runtime testing for thread countersJack Lloyd2019-03-262-132/+0
| |
| * Use the global thread pool for XMSS signaturesJack Lloyd2019-03-262-34/+39
| | | | | | | | | | | | | | * i7-6700K (4 core w/SMT): 10% improvements * Ryzen 7 2700 (8 core w/SMT): 25% improvement except SHA-256 which is over twice as fast. * POWER8 (160 cores w/SMT): between 25 and 60% faster
* | Disable building shared libs on iOSJack Lloyd2019-03-271-4/+0
| | | | | | | | | | | | It didn't work, and it is not clear it is ever desirable. See GH #1865
* | Fix some extra semicolonsJack Lloyd2019-03-276-6/+6
| |
* | Rename 'darwin' target to 'macos'Jack Lloyd2019-03-2711-22/+22
|/ | | | | Both because that's the more common term, and because iOS/watchOS also uses the Darwin kernel, but we have a distinct target for mobile.
* Work around problem with GCC 4.8Jack Lloyd2019-03-262-2/+4
|
* Fix some warnings from GCC 9Jack Lloyd2019-03-253-3/+3
| | | | New redundant-move and pessimizing-move warnings found some
* Support xz compression of releasesJack Lloyd2019-03-251-3/+19
| | | | Also fix the bzip2 support
* Now getentropy is used by default, remove from CI scriptJack Lloyd2019-03-241-4/+0
|
* Darwin supports getentropy tooDavid Carlier2019-03-241-0/+1
|
* Avoid a warning when building in single file amalgamation modeJack Lloyd2019-03-131-1/+1
|
* Replace upper_bound with lower_bound in pgp_s2kEvgeny Pokhilko2019-03-112-1/+4
| | | | | | | | Fix: RFC4880_encode_count doesn't return consistent results when processing exact iterations. It returns RFC4880 code + 1. Update PGP_S2K_Iter test to verify PGP formula Add test to verify that encoded values match the PGP formula
* Android can possibly support arc4random API.David Carlier2019-03-071-0/+3
|
* Fix Coverity warningsJack Lloyd2019-03-072-20/+38
| | | | | | | | Checking a ptr against null after dereferencing it. Allowing exception throw to escape a noexcept function. Both harmless.
* Add references for these addition chains [ci skip]Jack Lloyd2019-03-071-0/+4
|
* Merge GH #1849 Prefer to_string over as_stringJack Lloyd2019-03-0324-38/+51
|\
| * Fix MSVC and avoid deprecated function callJack Lloyd2019-03-012-2/+2
| |
| * s/as_string/to_string/Jack Lloyd2019-03-0123-37/+50
| | | | | | | | | | A few older APIs use as_string where everywhere else uses to_string. Add to_string's where missing, and deprecate X::as_string.
* | Handle invalid public key length in Ed25519Jack Lloyd2019-03-032-14/+20
|/ | | | Closes #1850
* Constify a few things in X509_Certificate::to_string()Jack Lloyd2019-03-011-5/+12
|
* Split CLI utils.cpp into more partsJack Lloyd2019-02-287-240/+351
| | | | | | Add base58 encoding/decoding CLI Use decrypt_or_random in pk_decrypt
* Add long Blowfish ECB testJack Lloyd2019-02-281-0/+4
| | | | We were not testing 4-wide encryption
* Prevent a warning with old GCCJack Lloyd2019-02-271-4/+5
| | | | GCC 4.8 seems to dislike returns_nonnull attribute, GCC 5 is ok.
* Add Boost to the coverage buildJack Lloyd2019-02-242-3/+4
| | | | So we can test coverage on things like #1839
* Fix testJack Lloyd2019-02-241-1/+1
| | | | Closes #1843
* s/Blake2b/BLAKE2b/Jack Lloyd2019-02-223-22/+24
| | | | As that is the proper name of the hash. Add a typedef for compat.
* Windows compilation fixVitaly Ivanov2019-02-221-1/+1
|
* macOS fix for tls_server in UDP/DTLS modeVitaly Ivanov2019-02-211-1/+4
|
* Merge GH #1838 Unroll SHA-3Jack Lloyd2019-02-214-134/+160
|\
| * Unroll SHA-3Jack Lloyd2019-02-214-134/+160
| | | | | | | | Improves performance by about 10-12%
* | Reset the crash count in test fuzzer scriptJack Lloyd2019-02-211-0/+2
| | | | | | | | It carried over across all fuzzer types
* | In fuzzer remove debug print and check return value of posix_memalignJack Lloyd2019-02-211-2/+2
|/
* For Clang use explicit enabling flag for Aarch64 crypto ISAJack Lloyd2019-02-211-1/+1
| | | | | For whatever reason Android's Clang does not recognize the function attributes.
* Merge GH #1830 Add MacOS certificate storeJack Lloyd2019-02-195-0/+902
|\
| * add an adaptor for certificate keychain access on macOSRené Meusel2019-02-185-0/+902
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FIX: build on non-macOS platforms FIX: move constructor of scoped_CFType implement Certificate_Store_MacOS::all_subjects() Refactor: factor out X509 policy creation FIX: cosmetics FIX: code cosmetics * Refactor: use a unique_ptr rather than free() * Refactor: use a unique_ptr rather than free() * use std::shared_ptr<> for Pimpl * double-check opening of cert stores * add some documentation * copyright notice dates shush clang compiler warning -Wcast-qual See here for details: https://bugs.webkit.org/show_bug.cgi?id=177893 shush -Wmissing-braces on Travis CI (hopefully) FIX: crash when no certificate matches FIX: 'normalize' DNs according to Apple's needs FIX: take early review comments into account FIX: compiler warning regarding variable shadowing add timers to the cerstore tests FIX: catch invalid SHA-1 parameter FIX: handle ambiguous match in .find_cert_by_pubkey_sha1() according to the super-class's documentation FIX: API documentation FIX: cosmetics make Certificate_Store_MacOS::find_crl_for() return {} FIX: low-hanging review comments FIX: more review comments FIX: compiler warnings
* | Default McEliece and XMSS to SIV modeJack Lloyd2019-02-181-2/+10
| |
* | Add additional annotations for malloc functionsJack Lloyd2019-02-171-1/+1
| | | | | | | | May help codegen slightly.
* | Name pdb file properlyJack Lloyd2019-02-171-1/+1
| | | | | | | | GH #1831
* | Fixes for minimized buildsJack Lloyd2019-02-1614-23/+84
| | | | | | | | Various configurations would fail build or test, fix that.
* | Renamed m_handle to m_prov as this is the variable name used elsewhere.Ricardo Martins2019-02-151-1/+1
| |
* | Use /Fd flag when building lib with MSVCJack Lloyd2019-02-143-3/+7
| | | | | | | | See #1831
* | Support arbitrary key lengths in SHAKE-128 cipherJack Lloyd2019-02-133-22/+70
| | | | | | | | | | We need this for Kyber, which uses 34 byte inputs to XOF when computing the public matrix.